- Sort Score
- Result 10 results
- Languages All
Results 1661 - 1670 of 4,617 for New (0.03 sec)
-
android/guava/src/com/google/common/collect/ImmutableListMultimap.java
} // looking for of() with > 5 entries? Use the builder instead. /** * Returns a new builder. The generated builder is equivalent to the builder created by the {@link * Builder} constructor. */ public static <K, V> Builder<K, V> builder() { return new Builder<>(); } /** * Returns a new builder with a hint for how many distinct keys are expected to be added. The
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessClient.java
this.registrations = new ConcurrentHashMap<>(); this.listeners = new ConcurrentHashMap<>(); this.asyncNotifyTasks = new ConcurrentHashMap<>(); this.scheduler = Executors.newScheduledThreadPool(3); // Increased for async notifications this.rpcClient = rpcClient; // Schedule periodic tasks schedulePeriodicTasks(); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessClientTest.java
// Create a test witness client that uses our mock RPC client TestWitnessClient client = new TestWitnessClient(witnessServer, mockContext, mockRpc); TestNotificationListener listener = new TestNotificationListener(); CompletableFuture<WitnessRegistration> future = client.registerForNotifications("\\\\server\\share", serverAddress, listener);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 9.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java
private byte[] fileId; private long offset; private int channel; private int remainingBytes; private int writeFlags; private RdmaChannelInfo rdmaChannelInfo; /** * Creates a new SMB2 write request for writing data to a file. * * @param config the CIFS configuration * @param fileId the file identifier for the target file */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.1K bytes - Viewed (0) -
prepare_stmt.go
return &PreparedStmtDB{ ConnPool: connPool, // Assigns the provided connection pool to manage database connections. Stmts: stmt_store.New(maxSize, ttl), // Initializes a new statement store with the specified maximum size and TTL. Mux: &sync.RWMutex{}, // Sets up a read-write mutex for synchronizing access to the statement store. } }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Apr 25 08:22:26 UTC 2025 - 5.7K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
if (capacity <= 0) throw new IllegalArgumentException(); this.items = newEArray(capacity); monitor = new Monitor(fair); notEmpty = new Monitor.Guard(monitor) { @Override public boolean isSatisfied() { return count > 0; } }; notFull = new Monitor.Guard(monitor) { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 22.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java
protected void verify(List<String> elements) { assertEquals(elements, new ArrayList<>(multimap.keys())); } }.test(); } @GwtIncompatible // unreasonably slow public void testValuesIteration() { List<Integer> addItems = ImmutableList.of(99, 88, 77); for (int startIndex : new int[] {0, 3, 5}) { new ListIteratorTester<Integer>( 3, addItems,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/LsarSidArrayX.java
this.num_sids = sids.length; this.sids = new lsarpc.LsarSidPtr[sids.length]; for (int si = 0; si < sids.length; si++) { this.sids[si] = new lsarpc.LsarSidPtr(); this.sids[si].sid = sids[si].unwrap(sid_t.class); } } LsarSidArrayX(final SID[] sids) { this.num_sids = sids.length; this.sids = new lsarpc.LsarSidPtr[sids.length];Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
String dir1 = "/test/dir1"; String dir2 = "/test/dir2"; String dir3 = "/test/dir3"; Smb2LeaseKey key1 = new Smb2LeaseKey(); Smb2LeaseKey key2 = new Smb2LeaseKey(); Smb2LeaseKey key3 = new Smb2LeaseKey(); when(baseLeaseManager.requestLease(dir1, DirectoryLeaseState.DIRECTORY_READ_HANDLE)).thenReturn(key1);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 15.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java
assertFalse(future.set(new Foo())); assertFalse(future.setException(new Exception("bar"))); assertFalse(future.setFuture(SettableFuture.<Foo>create())); // Check that the future has been set properly. assertFalse(future.isDone()); assertFalse(future.isCancelled()); assertThrows(TimeoutException.class, () -> future.get(0, MILLISECONDS)); FooChild value = new FooChild(); nested.set(value);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 7.3K bytes - Viewed (0)