Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 230 for 110 (0.14 sec)

  1. android/guava/src/com/google/common/primitives/Ints.java

       *     a length of zero or cannot be parsed as an integer value
       * @throws NullPointerException if {@code string} is {@code null}
       * @since 11.0
       */
      public static @Nullable Integer tryParse(String string) {
        return tryParse(string, 10);
      }
    
      /**
       * Parses the specified string as a signed integer value using the specified radix. The ASCII
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 31.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Iterators.java

       *
       * <p><b>Warning:</b> avoid using a {@code predicate} that matches {@code null}. If {@code null}
       * is matched in {@code iterator}, a NullPointerException will be thrown.
       *
       * @since 11.0
       */
      public static <T> Optional<T> tryFind(Iterator<T> iterator, Predicate<? super T> predicate) {
        checkNotNull(iterator);
        checkNotNull(predicate);
        while (iterator.hasNext()) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 12:42:11 UTC 2025
    - 51.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Sets.java

       * @return a new, empty {@code LinkedHashSet} with enough capacity to hold {@code expectedSize}
       *     elements without resizing
       * @throws IllegalArgumentException if {@code expectedSize} is negative
       * @since 11.0
       */
      @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call
      public static <E extends @Nullable Object> LinkedHashSet<E> newLinkedHashSetWithExpectedSize(
          int expectedSize) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  4. cmd/object-api-multipart_test.go

    		{bucketNames[1], "Asia", "", "", "", 10, listMultipartResults[23], nil, true},
    		// Test case with `Prefix` and `UploadIDMarker` (Test number 37).
    		{bucketNames[1], "min", "minio-object-1.txt", uploadIDs[1], "", 10, listMultipartResults[24], nil, true},
    		// Test case for bucket with multiple objects in it.
    		// Bucket used : `bucketNames[2]`.
    		// Objects used: `objectNames[1-5]`.
    		// UploadId's used: uploadIds[4-8].
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Multimaps.java

       * {@link Predicate#apply}. Do not provide a predicate such as {@code
       * Predicates.instanceOf(ArrayList.class)}, which is inconsistent with equals.
       *
       * @since 11.0
       */
      public static <K extends @Nullable Object, V extends @Nullable Object> Multimap<K, V> filterKeys(
          Multimap<K, V> unfiltered, Predicate<? super K> keyPredicate) {
        if (unfiltered instanceof SetMultimap) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  6. internal/s3select/csv/reader_contrib_test.go

    	}
    	for n := range 11 {
    		f := openTestFile(b, "nyc-taxi-data-100k.csv")
    		want := 309
    		for i := 0; i < n; i++ {
    			f = append(f, f...)
    			want *= 2
    		}
    		b.Run(fmt.Sprint(len(f)/(1<<10), "K"), func(b *testing.B) {
    			b.ReportAllocs()
    			b.SetBytes(int64(len(f)))
    			b.ResetTimer()
    			var record sql.Record
    			for b.Loop() {
    				r, err := NewReader(io.NopCloser(bytes.NewBuffer(f)), &args)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 38.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ListsTest.java

            .containsExactly(
                list(0, 0, 0),
                list(0, 0, 1),
                list(0, 1, 0),
                list(0, 1, 1),
                list(1, 0, 0),
                list(1, 0, 1),
                list(1, 1, 0),
                list(1, 1, 1))
            .inOrder();
      }
    
      public void testCartesianProduct_contains() {
        List<List<Integer>> actual = cartesianProduct(list(1, 2), list(3, 4));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.4K bytes
    - Viewed (0)
  8. cmd/batch-rotate_gen.go

    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *BatchKeyRotateFilter) Msgsize() (s int) {
    	s = 1 + 10 + msgp.DurationSize + 10 + msgp.DurationSize + 13 + msgp.TimeSize + 14 + msgp.TimeSize + 5 + msgp.ArrayHeaderSize
    	for za0001 := range z.Tags {
    		s += z.Tags[za0001].Msgsize()
    	}
    	s += 9 + msgp.ArrayHeaderSize
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 27.1K bytes
    - Viewed (0)
  9. internal/grid/grid_test.go

    			t.Errorf("want %q, got %q", testPayload, string(resp))
    		}
    		t.Log("Roundtrip:", time.Since(start))
    	})
    
    	t.Run("localToRemoteErrHuge", func(t *testing.T) {
    		testPayload := bytes.Repeat([]byte("!"), 1<<10)
    
    		start := time.Now()
    		resp, err := remoteConn.Request(t.Context(), handlerTest2, testPayload)
    		if len(resp) != 0 {
    			t.Errorf("want nil, got %q", string(resp))
    		}
    		if err != RemoteErr(testPayload) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 36.1K bytes
    - Viewed (0)
  10. src/bufio/bufio_test.go

    	}
    }
    
    func BenchmarkReaderWriteToOptimal(b *testing.B) {
    	const bufSize = 16 << 10
    	buf := make([]byte, bufSize)
    	r := bytes.NewReader(buf)
    	srcReader := NewReaderSize(onlyReader{r}, 1<<10)
    	if _, ok := io.Discard.(io.ReaderFrom); !ok {
    		b.Fatal("io.Discard doesn't support ReaderFrom")
    	}
    	for i := 0; i < b.N; i++ {
    		r.Seek(0, io.SeekStart)
    		srcReader.Reset(onlyReader{r})
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Feb 07 01:08:54 UTC 2025
    - 51.6K bytes
    - Viewed (0)
Back to top