- Sort Score
- Result 10 results
- Languages All
Results 971 - 980 of 1,160 for Take (0.06 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt
@get:JvmName("minFreshSeconds") val minFreshSeconds: Int, /** * This field's name "only-if-cached" is misleading. It actually means "do not use the network". * It is set by a client who only wants to make a request if it can be fully satisfied by the * cache. Cached responses that would require validation (ie. conditional gets) are not permitted * if this header is set. */Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 10K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java
} @Override TestSuite createElementSetTestSuite( FeatureSpecificTestSuiteBuilder<?, ? extends OneSizeTestContainerGenerator<Collection<E>, E>> parentBuilder) { // TODO(lowasser): make a SortedElementSetGenerator return SetTestSuiteBuilder.using( new ElementSetGenerator<E>(parentBuilder.getSubjectGenerator())) .named(getName() + ".elementSet")
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
verify(mockSmbPipeHandleInternal).close(); verify(mockSmbNamedPipe).close(); // Should still be called due to finally block } } @Nested @DisplayName("Make Pipe URL Tests") class MakePipeUrlTests { @Test @DisplayName("Should generate correct pipe URL without options") void testMakePipeUrl_NoOptions() throws Exception {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
misc/cgo/gmp/gmp.go
func (z *Int) doinit() { if z.init { return } z.init = true C.mpz_init(&z.i[0]) } // Bytes returns z's representation as a big-endian byte array. func (z *Int) Bytes() []byte { b := make([]byte, (z.Len()+7)/8) n := C.size_t(len(b)) C.mpz_export(unsafe.Pointer(&b[0]), &n, 1, 1, 1, 0, &z.i[0]) return b[0:n] } // Len returns the length of z in bits. 0 is considered to have length 1.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 9.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt
* * `Response.body().bytes()` * * `Response.body().string()` * * There is no benefit to invoking multiple `close()` methods for the same response body. * * For synchronous calls, the easiest way to make sure a response body is closed is with a `try` * block. With this structure the compiler inserts an implicit `finally` clause that calls * [close()][Response.close] for you. * * ```java
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:51:25 UTC 2025 - 11.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/MD4.java
* @param len count of bytes in input block to consider */ @Override public void engineUpdate(final byte[] input, final int offset, final int len) { // make sure we don't exceed input's allocated size/length if (offset < 0 || len < 0 || (long) offset + len > input.length) { throw new ArrayIndexOutOfBoundsException(); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
when(cfg.isTraceResourceUsage()).thenReturn(false); stubValidTree(3L, true, true); SmbFileHandleImpl h = new SmbFileHandleImpl(cfg, 9, tree, "//x", 0, 0, 0, 0, 0L); // Make invalid beforehand when(tree.isConnected()).thenReturn(false); h.close(); verify(tree, never()).send(isA(Smb2CloseRequest.class), any());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
cmd/storage-rest_test.go
expectErr bool }{ {"foo", "myobject", 0, []byte("foo"), false}, {"foo", "myobject", 1, []byte("oo"), false}, // file not found error. {"foo", "yourobject", 0, nil, true}, } result := make([]byte, 100) for i, testCase := range testCases { result = result[testCase.offset:3] _, err := storage.ReadFile(t.Context(), testCase.volumeName, testCase.objectName, testCase.offset, result, nil)Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 11.4K bytes - Viewed (0) -
cmd/batch-handlers_gen.go
var zb0002 uint32 zb0002, err = dc.ReadArrayHeader() if err != nil { err = msgp.WrapError(err) return } if cap((*z)) >= int(zb0002) { (*z) = (*z)[:zb0002] } else { (*z) = make(BatchJobPrefix, zb0002) } for zb0001 := range *z { (*z)[zb0001], err = dc.ReadString() if err != nil { err = msgp.WrapError(err, zb0001) return } } return }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 20.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMap.java
* in which entries were inserted into the builder, unless {@link #orderEntriesByValue} was * called, in which case entries are sorted by value. * * <p>Prefer the equivalent method {@link #buildOrThrow()} to make it explicit that the method * will throw an exception if there are duplicate keys. The {@code build()} method will soon be * deprecated. * * @throws IllegalArgumentException if duplicate keys were addedRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 44.3K bytes - Viewed (0)