text
stringlengths 0
2.2M
|
---|
{
|
std::vector<char> buf;
|
vectorstream s1(buf);
|
test1_variant(buf, s1);
|
}
|
{
|
vector<char> buf;
|
dlib::vectorstream s1(buf);
|
std::iostream& s2 = s1;
|
test1_variant(buf, s2);
|
}
|
{
|
std::vector<int8_t> buf;
|
vectorstream s1(buf);
|
test1_variant(buf, s1);
|
}
|
{
|
vector<int8_t> buf;
|
dlib::vectorstream s1(buf);
|
std::iostream& s2 = s1;
|
test1_variant(buf, s2);
|
}
|
{
|
std::vector<uint8_t> buf;
|
vectorstream s1(buf);
|
test1_variant(buf, s1);
|
}
|
{
|
vector<uint8_t> buf;
|
dlib::vectorstream s1(buf);
|
std::iostream& s2 = s1;
|
test1_variant(buf, s2);
|
}
|
}
|
// ----------------------------------------------------------------------------------------
|
class test_vectorstream : public tester
|
{
|
public:
|
test_vectorstream (
|
) :
|
tester ("test_vectorstream",
|
"Runs tests on the vectorstream component.")
|
{}
|
void perform_test (
|
)
|
{
|
test1();
|
}
|
} a;
|
}
|
// bostst_map.cpp -*-C++-*-
|
#include <bostst_map.h>
|
#include <bsls_ident.h>
|
BSLS_IDENT("$Id$ $CSID$")
|
namespace BloombergLP {
|
namespace bostst {
|
} // close package namespace
|
} // close enterprise namespace
|
// ----------------------------------------------------------------------------
|
// Copyright 2019 Bloomberg Finance L.P.
|
//
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
// you may not use this file except in compliance with the License.
|
// You may obtain a copy of the License at
|
//
|
// http://www.apache.org/licenses/LICENSE-2.0
|
//
|
// Unless required by applicable law or agreed to in writing, software
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
// See the License for the specific language governing permissions and
|
// limitations under the License.
|
// ----------------------------- END-OF-FILE ----------------------------------
|
/*
|
==============================================================================
|
This file is part of the JUCE library.
|
Copyright (c) 2020 - Raw Material Software Limited
|
JUCE is an open source library subject to commercial or open-source
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.