Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,079 for FIRST (0.02 sec)

  1. 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])
    		})
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/ShareEnumIteratorTest.java

            // hasNext/next sequence over two elements
            assertTrue(it.hasNext(), "Expected first element available");
            SmbResource r1 = it.next();
            assertNotNull(r1);
            assertEquals("foo/", r1.getName(), "First child name should match with trailing slash");
    
            assertTrue(it.hasNext(), "Expected second element available");
            SmbResource r2 = it.next();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/BasePublicSuffixList.kt

    import okio.Source
    import okio.buffer
    
    internal abstract class BasePublicSuffixList : PublicSuffixList {
      /** True after we've attempted to read the list for the first time. */
      private val listRead = AtomicBoolean(false)
    
      /** Used for concurrent threads reading the list for the first time. */
      private val readCompleteLatch = CountDownLatch(1)
    
      // The lists are held as a large array of UTF-8 bytes. This is to avoid allocating lots of strings
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java

            originalBuffer[offset++] = (byte) 1; // directory = true
    
            // Decode into first instance
            FileStandardInfo firstInstance = new FileStandardInfo();
            firstInstance.decode(originalBuffer, 0, originalBuffer.length);
    
            // Encode from first instance
            byte[] encodedBuffer = new byte[22];
            firstInstance.encode(encodedBuffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

            // First decode
            byte[] buffer1 = new byte[50];
            SMBUtil.writeInt4(0x11111111, buffer1, 0);
            SMBUtil.writeInt2(0x1111, buffer1, 20);
            SMBUtil.writeInt2(0x0210, buffer1, 22);
    
            response.decode(buffer1, 0, 24);
            assertEquals(0x11111111, response.getCapabilities(), "First decode capabilities");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java

        if (!elements.hasNext()) {
          return of();
        }
        E first = elements.next();
        if (!elements.hasNext()) {
          // TODO: Remove "ImmutableSet.<E>" when eclipse bug is fixed.
          return ImmutableSet.<E>of(first);
        }
    
        Set<E> delegate = Sets.newLinkedHashSet();
        delegate.add(checkNotNull(first));
        do {
          delegate.add(checkNotNull(elements.next()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/escape/UnicodeEscaper.java

       *             IllegalArgumentException} is thrown.
       *       </ol>
       *   <li>If the first character was a low surrogate value, {@link IllegalArgumentException} is
       *       thrown.
       * </ol>
       *
       * @param seq the sequence of characters from which to decode the code point
       * @param index the index of the first character to decode
       * @param end the index beyond the last valid character to decode
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/escape/UnicodeEscaper.java

       *             IllegalArgumentException} is thrown.
       *       </ol>
       *   <li>If the first character was a low surrogate value, {@link IllegalArgumentException} is
       *       thrown.
       * </ol>
       *
       * @param seq the sequence of characters from which to decode the code point
       * @param index the index of the first character to decode
       * @param end the index beyond the last valid character to decode
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  9. tests/preload_suits_test.go

    		t.Error(err)
    	}
    
    	var got5 Level2
    	DB.Preload("Level1s").First(&got5, "value = ?", "bogus")
    
    	var ruLevel1 Level1
    	var zhLevel1 Level1
    	DB.First(&ruLevel1, "value = ?", "ru")
    	DB.First(&zhLevel1, "value = ?", "zh")
    
    	got.Level1s = []*Level1{&ruLevel1}
    	got2.Level1s = []*Level1{&zhLevel1}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Jun 05 11:34:13 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  10. tests/embedded_struct_test.go

    		}
    	}
    
    	// save embedded struct
    	DB.Save(&HNPost{BasePost: BasePost{Title: "news"}})
    	DB.Save(&HNPost{BasePost: BasePost{Title: "hn_news"}})
    	var news HNPost
    	if err := DB.First(&news, "title = ?", "hn_news").Error; err != nil {
    		t.Errorf("no error should happen when query with embedded struct, but got %v", err)
    	} else if news.Title != "hn_news" {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top