text
stringlengths 0
2.2M
|
|---|
bsl::size_t defaultStackSize = Obj::defaultThreadStackSize();
|
ASSERT(bslmt::ThreadAttributes::e_UNSET_STACK_SIZE ==
|
(int) defaultStackSize);
|
defaultStackSize = Obj::nativeDefaultThreadStackSize();
|
ASSERT(defaultStackSize > 0);
|
int maxint = bsl::numeric_limits<int>::max();
|
ASSERT(defaultStackSize <= static_cast<bsl::size_t>(maxint));
|
bsl::size_t guardSize = Obj::nativeDefaultThreadGuardSize();
|
#ifdef BSLS_PLATFORM_OS_WINDOWS
|
ASSERT(0 == guardSize);
|
#else
|
ASSERT(guardSize > 0);
|
ASSERT(guardSize <= static_cast<bsl::size_t>(maxint));
|
#endif
|
ASSERT(guardSize < defaultStackSize);
|
if (verbose) {
|
P_(defaultStackSize); P(guardSize);
|
}
|
} break;
|
default: {
|
cerr << "WARNING: CASE `" << test << "' NOT FOUND." << endl;
|
testStatus = -1;
|
}
|
}
|
return( testStatus );
|
}
|
// ----------------------------------------------------------------------------
|
// Copyright 2015 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 CAF, the C++ Actor Framework. See the file LICENSE in
|
// the main distribution directory for license terms and copyright or visit
|
// https://github.com/actor-framework/actor-framework/blob/master/LICENSE.
|
#include "caf/detail/message_builder_element.hpp"
|
namespace caf::detail {
|
message_builder_element::~message_builder_element() {
|
// nop
|
}
|
} // namespace caf::detail
|
/******************************************************************************
|
The MIT License(MIT)
|
Embedded Template Library.
|
https://github.com/ETLCPP/etl
|
ERROR: type should be string, got "https://www.etlcpp.com\n"
|
Copyright(c) 2021 Bo Rydberg
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
of this software and associated documentation files(the "Software"), to deal
|
in the Software without restriction, including without limitation the rights
|
to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
|
copies of the Software, and to permit persons to whom the Software is
|
furnished to do so, subject to the following conditions :
|
The above copyright notice and this permission notice shall be included in all
|
copies or substantial portions of the Software.
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
SOFTWARE.
|
******************************************************************************/
|
#include <etl/parameter_type.h>
|
/*
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
*
|
* This source code is licensed under the MIT-style license found in the
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.