- Sort Score
- Num 10 results
- Language All
Results 231 - 240 of 1,661 for first (0.02 seconds)
-
cmd/erasure-metadata-utils_test.go
t.Run(fmt.Sprintf("%d", x), func(t *testing.T) { var first [17]int rng := rand.New(rand.NewSource(0)) var tmp [16]byte rng.Read(tmp[:]) prefix := hex.EncodeToString(tmp[:]) for range 10000 { rng.Read(tmp[:]) y := hashOrder(fmt.Sprintf("%s/%x", prefix, hex.EncodeToString(tmp[:3])), x) first[y[0]]++ } t.Log("first:", first[:x]) }) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.3K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameTest.java
Name name = new Name(mockConfig, "TEST", 0x20, null); byte[] dst = new byte[100]; int length = name.writeWireFormat(dst, 0); // Check first byte is 0x20 assertEquals(0x20, dst[0]); // Check encoded name (TEST -> encoded as pairs) // T = 0x54 -> upper nibble: 0x5 -> 0x46 (F), lower nibble: 0x4 -> 0x45 (E)
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt
`Explain all that,' said the Mock Turtle. `No, no! The adventures first,' said the Gryphon in an impatient tone: `explanations take such a dreadful time.' So Alice began telling them her adventures from the time when she first saw the White Rabbit. She was a little nervous about it just at first, the two creatures got so close to her, one on
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Apr 21 02:27:51 GMT 2017 - 145.2K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/PrimitiveSink.java
* @param bytes a byte array * @return this instance */ @CanIgnoreReturnValue PrimitiveSink putBytes(byte[] bytes); /** * Puts a chunk of an array of bytes into this sink. {@code bytes[off]} is the first byte written, * {@code bytes[off + len - 1]} is the last. * * @param bytes a byte array * @param off the start offset in the array * @param len the number of bytes to write * @return this instance
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3.9K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java
} /** * Test getMessageByDcerpcError() with a known error code (first element). */ @Test void testGetMessageByDcerpcError_firstElement() { String message = DcerpcException.getMessageByDcerpcError(DcerpcError.DCERPC_FAULT_OTHER); assertEquals("DCERPC_FAULT_OTHER", message, "Should return correct message for first element."); } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java
ImmutableMap.of( 'a', "first", 'z', "last"); ArrayBasedEscaperMap fem = ArrayBasedEscaperMap.create(map); // Array length is highest character value + 1 assertThat(fem.getReplacementArray()).hasLength('z' + 1); } public void testMapping() { Map<Character, String> map = ImmutableMap.of( '\0', "zero", 'a', "first", 'b', "second",
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 2.7K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Booleans.java
* {@code ((Boolean) a).compareTo(b)}. * * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated; use the * equivalent {@link Boolean#compare} method instead. * * @param a the first {@code boolean} to compare * @param b the second {@code boolean} to compare * @return a positive number if only {@code a} is {@code true}, a negative number if only {@code * b} is true, or zero if {@code a == b}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Sep 25 15:01:23 GMT 2025 - 20.6K bytes - Click Count (0) -
cmd/admin-handlers-pools.go
ctx := r.Context() objectAPI, _ := validateAdminReq(ctx, w, r, policy.RebalanceAdminAction) if objectAPI == nil { return } // NB rebalance-start admin API is always coordinated from first pool's // first node. The following is required to serialize (the effects of) // concurrent rebalance-start commands. if ep := globalEndpoints[0].Endpoints[0]; !ep.IsLocal { for nodeIdx, proxyEp := range globalProxyEndpoints {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 11.1K bytes - Click Count (0) -
tests/gaussdb_test.go
} if yasuo.ID == "" { t.Fatal("should be able to has ID, but got zero value") } var result Yasuo if err := DB.First(&result, "id = ?", yasuo.ID).Error; err != nil || yasuo.Name != "jinzhu" { t.Errorf("No error should happen, but got %v", err) } if err := DB.Where("id = $1", yasuo.ID).First(&Yasuo{}).Error; err != nil || yasuo.Name != "jinzhu" { t.Errorf("No error should happen, but got %v", err) }Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 6.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/JdkBackedImmutableMap.java
// A second pass will retain only the first entry for that key, but with this last value. The // value will then be replaced by null, signaling that later entries with the same key should // be deleted. Map<K, @Nullable V> duplicates = null; int dupCount = 0; for (int i = 0; i < n; i++) { // requireNonNull is safe because the first `n` elements have been filled in.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 4.7K bytes - Click Count (0)