- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 1,489 for construction (1.25 sec)
-
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBenchmark.java
useMonitor ? "com.google.common.util.concurrent.MonitorBased" : "java.util.concurrent."; String className = prefix + queueType + "BlockingQueue"; Constructor<?> constructor = Class.forName(className).getConstructor(int.class); queue = (BlockingQueue<String>) constructor.newInstance(capacity); strings = new String[capacity]; for (int i = 0; i < capacity; i++) { strings[i] = String.valueOf(Math.random()); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 2.1K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java
* provided {@link #stdIn()} or {@link InputStream#nullInputStream()} as standard in stream. */ boolean embedded(); /** * Creates a new Builder instance for constructing a Maven ParserRequest. * * @param args the command-line arguments * @param messageBuilderFactory the factory for creating message builders * @return a new Builder instance */ @NonnullRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Jun 07 06:22:47 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvPairTest.java
byte[] raw = new byte[] { 0x01, 0x02, 0x03, 0x04 }; AvPair avPair = new AvPair(type, raw); assertEquals(type, avPair.getType(), "Type should match the constructor argument."); assertArrayEquals(raw, avPair.getRaw(), "Raw data should match the constructor argument."); // Test with another type and empty raw data int type2 = AvPair.MsvAvEOL; byte[] raw2 = new byte[] {};
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* {@link NullPointerException}. * <li>If there is any visible constructor or visible static factory method declared by the * class, all visible instance methods will be checked too using the instance created by * invoking the constructor or static factory method. * <li>If the constructor or factory method used to construct instance takes a parameter thatRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 17.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
class Smb2ConstantsTest { @Test @DisplayName("Should have private constructor to prevent instantiation") void testPrivateConstructor() throws Exception { // Verify constructor is private Constructor<Smb2Constants> constructor = Smb2Constants.class.getDeclaredConstructor(); assertTrue(Modifier.isPrivate(constructor.getModifiers()), "Constructor should be private");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.h
// Platform-specific implementation to return an unused port. (This should used // in tests only.) TF_CAPI_EXPORT int TF_PickUnusedPortOrDie(void); // Fast path method that makes constructing a single scalar tensor require less // overhead and copies. TF_CAPI_EXPORT extern TFE_TensorHandle* TFE_NewTensorHandleFromScalar( TF_DataType data_type, void* data, size_t len, TF_Status* status);
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Thu Apr 27 21:07:00 UTC 2023 - 15.1K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.12.md
* Fix detect exceptions plugin to analyze message field instead of log field. * Fix detect exceptions plugin to analyze streams based on local resource id. * Disable the metadata agent for monitored resource construction in logging. * Disable timestamp adjustment in logs to optimize performance. * Reduce logging agent buffer chunk limit to 512k to optimize performance.Registered: Fri Dec 26 09:05:12 UTC 2025 - Last Modified: Thu Feb 06 06:04:15 UTC 2020 - 293.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolutionException.java
public MetadataResolutionException() { // TODO Auto-generated constructor stub } public MetadataResolutionException(String message) { super(message); // TODO Auto-generated constructor stub } public MetadataResolutionException(Throwable cause) { super(cause); // TODO Auto-generated constructor stub }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
// When & Then: Constructor should throw SmbException SmbException exception = assertThrows(SmbException.class, () -> new NetServerEnumIterator(parent, treeHandle, "*", 0, null)); assertTrue(exception.getMessage().contains("invalid")); verify(treeHandle, never()).acquire(); } @Test @DisplayName("Constructor should handle null parent")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java
import jcifs.smb1.dcerpc.ndr.NdrObject; /** * Tests for {@link jcifs.smb1.dcerpc.msrpc.MsrpcSamrConnect2} constructor. * <p> * The class under test is a simple wrapper around the base class that * sets internal fields in its constructor. * These tests verify that the constructor accepts various parameters * without throwing exceptions. */ @ExtendWith(MockitoExtension.class) class MsrpcSamrConnect2Test {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0)