- Sort Score
- Result 10 results
- Languages All
Results 1331 - 1340 of 4,617 for New (0.05 sec)
-
src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java
this.channels = new ConcurrentHashMap<>(); this.localInterfaces = new ArrayList<>(); this.remoteInterfaces = new ArrayList<>(); this.scheduler = Executors.newScheduledThreadPool(2, r -> { Thread t = new Thread(r, "MultiChannelScheduler"); t.setDaemon(true); return t; }); this.loadBalancer = new ChannelLoadBalancer(this);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 20K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeTraverser.java
public final FluentIterable<T> preOrderTraversal(T root) { checkNotNull(root); return new FluentIterable<T>() { @Override public UnmodifiableIterator<T> iterator() { return preOrderIterator(root); } }; } UnmodifiableIterator<T> preOrderIterator(T root) { return new PreOrderIterator(root); } private final class PreOrderIterator extends UnmodifiableIterator<T> {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 8.3K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java
Map<String, ToolchainFactory> factories = new HashMap<>(); factories.put("basic", toolchainFactoryBasicType); factories.put("rare", toolchainFactoryRareType); when(lookup.lookupMap(ToolchainFactory.class)).thenReturn(factories); when(lookup.lookupMap(org.apache.maven.toolchain.ToolchainFactory.class)) .thenReturn(Map.of());
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
} @Test @DisplayName("Should create new instance with same config") void testMultipleInstancesWithSameConfig() throws SMBProtocolDecodingException { Smb2WriteResponse response1 = new Smb2WriteResponse(mockConfig); Smb2WriteResponse response2 = new Smb2WriteResponse(mockConfig); byte[] buffer1 = createValidWriteResponse(100, 50);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
android/guava/src/com/google/common/math/MathPreconditions.java
@CanIgnoreReturnValue static int checkPositive(String role, int x) { if (x <= 0) { throw new IllegalArgumentException(role + " (" + x + ") must be > 0"); } return x; } @CanIgnoreReturnValue static long checkPositive(String role, long x) { if (x <= 0) { throw new IllegalArgumentException(role + " (" + x + ") must be > 0"); } return x; } @CanIgnoreReturnValue
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvTimestampTest.java
/** * Test constructor with raw bytes. */ @Test public void testConstructorWithRawBytes() { byte[] rawBytes = new byte[8]; SMBUtil.writeInt8(1234567890L, rawBytes, 0); // Example timestamp AvTimestamp avTimestamp = new AvTimestamp(rawBytes); assertNotNull(avTimestamp); assertEquals(AvPair.MsvAvTimestamp, avTimestamp.getType());Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java
ArtifactMetadataSource mds = new ArtifactMetadataSource() { @Override public ResolutionGroup retrieve( Artifact artifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories) { Set<Artifact> dependencies = new HashSet<>();Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Mar 26 10:49:22 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java
int access = 0x01; IOException expectedException = new IOException("Network error"); // Simulate IOException during RPC call doThrow(expectedException).when(mockDcerpcHandle).sendrecv(any(MsrpcSamrOpenDomain.class)); // Act & Assert IOException thrown = assertThrows(IOException.class, () -> { new SamrDomainHandle(mockDcerpcHandle, mockPolicyHandle, access, mockSid); });Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java
assertEquals(6, (int) future.get()); } public void testSameThreadScheduledExecutorWithException() throws InterruptedException { Runnable runnable = new Runnable() { @Override public void run() { throw new RuntimeException("Oh no!"); } }; Future<?> future = TestingExecutors.sameThreadScheduledExecutor().submit(runnable);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 3.7K bytes - Viewed (0) -
guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java
assertEquals(6, (int) future.get()); } public void testSameThreadScheduledExecutorWithException() throws InterruptedException { Runnable runnable = new Runnable() { @Override public void run() { throw new RuntimeException("Oh no!"); } }; Future<?> future = TestingExecutors.sameThreadScheduledExecutor().submit(runnable);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 3.7K bytes - Viewed (0)