- Sort Score
- Num 10 results
- Language All
Results 191 - 200 of 271 for getKind (0.06 seconds)
-
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
when(fh.acquire()).thenReturn(fh); lenient().when(fh.isValid()).thenReturn(true); lenient().when(fh.getTree()).thenReturn(tree); when(fh.getFid()).thenReturn(99); // Mock send to just echo the provided response instance when(tree.send(any(TransTransactNamedPipe.class), any(TransTransactNamedPipeResponse.class), eq(RequestParam.NO_RETRY)))
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 16.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
ByteBuffer buffer2 = ByteBuffer.wrap(nonce2, 12, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN); int counter1 = buffer1.getInt(); int counter2 = buffer2.getInt(); assertEquals(counter1 + 1, counter2, "Counter should increment between nonces"); } @Test @DisplayName("Should generate secure random nonces when requested")
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 44.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
assertThrows(RejectedExecutionException.class, () -> executor.submit(() -> {})); assertTrue(executor.isTerminated()); otherTask.get(); } /** * Test for a bug where threads weren't getting signaled when shutdown was called, only when tasks * completed. */ public void testDirectExecutorService_awaitTermination_missedSignal() { ExecutorService service = newDirectExecutorService();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 12 00:25:21 GMT 2025 - 26.5K bytes - Click Count (0) -
cmd/admin-handlers.go
func getClusterMetaInfo(ctx context.Context) []byte { objectAPI := newObjectLayerFn() if objectAPI == nil { return nil } // Add a ten seconds timeout because getting profiling data // is critical for debugging, in contrary to getting cluster info ctx, cancel := context.WithTimeout(ctx, 10*time.Second) defer cancel() resultCh := make(chan madmin.ClusterRegistrationInfo) go func() {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 99.7K bytes - Click Count (0) -
cmd/endpoint-ellipses.go
if len(args) == 0 { return errInvalidArgument } ok := true for _, arg := range args { ok = ok && !ellipses.HasEllipses(arg) } var setArgs [][]string v, err := env.GetInt(EnvErasureSetDriveCount, 0) if err != nil { return err } setDriveCount := uint64(v) // None of the args have ellipses use the old style. if ok { setArgs, err = GetAllSets(setDriveCount, args...)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
final SuggestItem item = SuggestItem.parseSource(hit.getSourceAsMap()); freqSetter.accept(item); item.setKinds(Stream.of(item.getKinds()).filter(kind -> kind != kindToRemove).toArray(SuggestItem.Kind[]::new)); updateItems.add(item); } final SuggestWriterResult result =
Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 34.4K bytes - Click Count (0) -
guava/src/com/google/common/math/BigIntegerMath.java
} @GwtIncompatible // TODO private static BigInteger sqrtFloor(BigInteger x) { /* * Adapted from Hacker's Delight, Figure 11-1. * * Using DoubleUtils.bigToDouble, getting a double approximation of x is extremely fast, and * then we can get a double approximation of the square root. Then, we iteratively improve this
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 18.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
when(fh.acquire()).thenReturn(fh); when(fh.isValid()).thenReturn(true); when(fh.getTree()).thenReturn(tree); when(fh.getFileId()).thenReturn(new byte[16]); when(fh.getFid()).thenReturn(1); // build via package-private constructor to control unshared flag return new SmbRandomAccessFile(file, mode, SmbConstants.DEFAULT_SHARING, unshared); } @Test
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
lib/wasm/wasm_exec.js
unlink(path, callback) { callback(enosys()); }, utimes(path, atime, mtime, callback) { callback(enosys()); }, }; } if (!globalThis.process) { globalThis.process = { getuid() { return -1; }, getgid() { return -1; }, geteuid() { return -1; }, getegid() { return -1; }, getgroups() { throw enosys(); }, pid: -1, ppid: -1, umask() { throw enosys(); }, cwd() { throw enosys(); },
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Sun Dec 08 15:34:47 GMT 2024 - 16.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/indexer/IndexUpdater.java
*/ private List<OpenSearchAccessResult> getAccessResultList(final Consumer<SearchRequestBuilder> cb, final long cleanupTime) { if (logger.isDebugEnabled()) { logger.debug("Getting documents in IndexUpdater queue."); } final long execTime = systemHelper.getCurrentTimeAsLong(); final List<OpenSearchAccessResult> arList = ((OpenSearchDataService) dataService).getAccessResultList(cb);Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 32.9K bytes - Click Count (0)