Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 356 for lots (0.02 sec)

  1. android/guava-tests/test/com/google/common/math/MathTesting.java

        // Add values up to 40. This covers cases like "square of a prime" and such.
        for (int i = 1; i <= 40; i++) {
          intValues.add(i);
        }
        // Now add values near 2^N for lots of values of N.
        for (int exponent : asList(2, 3, 4, 9, 15, 16, 17, 24, 25, 30)) {
          int x = 1 << exponent;
          intValues.add(x, x + 1, x - 1);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/BasePublicSuffixList.kt

      /** 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
      // that will likely never be used. Each rule is separated by '\n'. Please see the
      // PublicSuffixListGenerator class for how these lists are generated.
      // Guarded by this.
      override lateinit var bytes: ByteString
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/EnumHashBiMap.java

        /*
         * TODO: cpovirk - Pre-size the HashMap based on the number of enum values? (But *not* based on
         * the number of entries in the map, as that makes it easy for hostile inputs to trigger lots of
         * allocation—not that any program should be deserializing hostile inputs to begin with!)
         */
        setDelegates(new EnumMap<K, V>(keyTypeOrObjectUnderJ2cl), new HashMap<V, K>());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  4. src/bytes/example_test.go

    	}
    
    	textWithSpaces := []byte("  lots   of   spaces  ")
    	fmt.Println("\nSplit byte slice with multiple spaces:")
    	for word := range bytes.FieldsSeq(textWithSpaces) {
    		fmt.Printf("%q\n", word)
    	}
    
    	// Output:
    	// Split byte slice into fields:
    	// "The"
    	// "quick"
    	// "brown"
    	// "fox"
    	//
    	// Split byte slice with multiple spaces:
    	// "lots"
    	// "of"
    	// "spaces"
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon May 12 16:07:54 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java

      }
    
      /* ---------------- Local utilities -------------- */
    
      /** Most of the tests in this class run against every one of these caches. */
      private Iterable<LoadingCache<Object, Object>> caches() {
        // lots of different ways to configure a LoadingCache
        CacheBuilderFactory factory = cacheFactory();
        return Iterables.transform(
            factory.buildAllPermutations(),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java

    import java.util.Map;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests of {@link TypeResolver}.
     *
     * @author Ben Yu
     */
    @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations?
    @NullUnmarked
    public class TypeResolverTest extends TestCase {
    
      public void testWhere_noMapping() {
        Type t = aTypeVariable();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. src/bufio/scan_test.go

    			buf.WriteByte('\r')
    		}
    		buf.WriteByte('\n')
    	}
    }
    
    // Test the line splitter, including some carriage returns but no long lines.
    func TestScanLongLines(t *testing.T) {
    	// Build a buffer of lots of line lengths up to but not exceeding smallMaxTokenSize.
    	tmp := new(bytes.Buffer)
    	buf := new(bytes.Buffer)
    	lineNum := 0
    	j := 0
    	for i := 0; i < 2*smallMaxTokenSize; i++ {
    		genLine(tmp, lineNum, j, true)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

      }
    
      /* ---------------- Local utilities -------------- */
    
      /** Most of the tests in this class run against every one of these caches. */
      private Iterable<LoadingCache<Object, Object>> caches() {
        // lots of different ways to configure a LoadingCache
        CacheBuilderFactory factory = cacheFactory();
        return Iterables.transform(
            factory.buildAllPermutations(),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. cmd/erasure.go

    	// at any given point in time. This allows different buckets to be scanned
    	// in different order per erasure set, this wider spread is needed when
    	// there are lots of buckets with different order of objects in them.
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    	permutes := r.Perm(len(buckets))
    	// Add new buckets first
    	for _, idx := range permutes {
    		b := buckets[idx]
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

    import java.io.Serializable;
    import java.util.Comparator;
    import java.util.List;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations?
    @NullUnmarked
    public class TypeTokenSubtypeTest extends TestCase {
    
      public void testOwnerTypeSubtypes() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top