Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 327 for grow (0.03 seconds)

  1. guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

                + "]"
                + "0189["
                + Character.MAX_CODE_POINT
                + "]";
        assertThat(escapeAsString(e, TEST_STRING)).isEqualTo(expected);
      }
    
      public void testGrowBuffer() { // need to grow past an initial 1024 byte buffer
        StringBuilder input = new StringBuilder();
        StringBuilder expected = new StringBuilder();
        for (int i = 256; i < 1024; i++) {
          input.append((char) i);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 6K bytes
    - Click Count (0)
  2. guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

                        return (int) misses.incrementAndGet();
                      }
                    });
    
        // To start, fill up the cache.
        // Each miss both increments the counter and causes the map to grow by one,
        // so until evictions begin, the size of the map is the greatest return
        // value seen so far
        while (cache.getUnchecked(nextRandomKey()) < maximumSize) {}
    
        requests.set(0);
        misses.set(0);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/cache/LongAdder.java

    import java.util.concurrent.atomic.AtomicLong;
    
    /**
     * One or more variables that together maintain an initially zero {@code long} sum. When updates
     * (method {@link #add}) are contended across threads, the set of variables may grow dynamically to
     * reduce contention. Method {@link #sum} (or, equivalently, {@link #longValue}) returns the current
     * total combined across the variables maintaining the sum.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

            val entriesEvicted = evictToRecoverBytes(bytesToRecover)
    
            if (index == -1) { // Adding a value to the dynamic table.
              if (headerCount + 1 > dynamicTable.size) { // Need to grow the dynamic table.
                val doubled = arrayOfNulls<Header>(dynamicTable.size * 2)
                System.arraycopy(dynamicTable, 0, doubled, dynamicTable.size, dynamicTable.size)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 23.2K bytes
    - Click Count (0)
  5. src/main/webapp/css/bootstrap.min.css.map

    -3 {\n  gap: 1rem !important;\n}\n\n.gap-4 {\n  gap: 1.5rem !important;\n}\n\n.gap-5 {\n  gap: 3rem !important;\n}\n\n.row-gap-0 {\n  row-gap: 0 !important;\n}\n\n.row-gap-1 {\n  row-gap: 0.25rem !important;\n}\n\n.row-gap-2 {\n  row-gap: 0.5rem !important;\n}\n\n.row-gap-3 {\n  row-gap: 1rem !important;\n}\n\n.row-gap-4 {\n  row-gap: 1.5rem !important;\n}\n\n.row-gap-5 {\n  row-gap: 3rem !important;\n}\n\n.column-gap-0 {\n  -moz-column-gap: 0 !important;\n  column-gap: 0 !important;\n}\n\n.column-gap-1...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 12 06:14:02 GMT 2025
    - 575.5K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/hash/LongAdder.java

    import java.util.concurrent.atomic.AtomicLong;
    
    /**
     * One or more variables that together maintain an initially zero {@code long} sum. When updates
     * (method {@link #add}) are contended across threads, the set of variables may grow dynamically to
     * reduce contention. Method {@link #sum} (or, equivalently, {@link #longValue}) returns the current
     * total combined across the variables maintaining the sum.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 20 13:05:10 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  7. src/bytes/buffer_test.go

    	}
    }
    
    func TestGrowOverflow(t *testing.T) {
    	defer func() {
    		if err := recover(); err != ErrTooLarge {
    			t.Errorf("after too-large Grow, recover() = %v; want %v", err, ErrTooLarge)
    		}
    	}()
    
    	buf := NewBuffer(make([]byte, 1))
    	const maxInt = int(^uint(0) >> 1)
    	buf.Grow(maxInt)
    }
    
    // Was a bug: used to give EOF reading empty slice at EOF.
    func TestReadEmptyAtEOF(t *testing.T) {
    	b := new(Buffer)
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Nov 14 19:01:17 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    never happened, and now here I am in the middle of one!  There
    ought to be a book written about me, that there ought!  And when
    I grow up, I'll write one--but I'm grown up now,' she added in a
    sorrowful tone; `at least there's no room to grow up any more
    HERE.'
    
      `But then,' thought Alice, `shall I NEVER get any older than I
    am now?  That'll be a comfort, one way--never to be an old woman--
    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)
  9. android/guava/src/com/google/common/escape/UnicodeEscaper.java

                    + " in '"
                    + seq
                    + "'");
          }
        }
        throw new IndexOutOfBoundsException("Index exceeds specified range");
      }
    
      /**
       * Helper method to grow the character buffer as needed, this only happens once in a while so it's
       * ok if it's in a method call. If the index passed in is 0 then no copying will be done.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 24 04:06:11 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    never happened, and now here I am in the middle of one!  There
    ought to be a book written about me, that there ought!  And when
    I grow up, I'll write one--but I'm grown up now,' she added in a
    sorrowful tone; `at least there's no room to grow up any more
    HERE.'
    
      `But then,' thought Alice, `shall I NEVER get any older than I
    am now?  That'll be a comfort, one way--never to be an old woman--
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Click Count (0)
Back to Top