Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 821 - 830 of 1,452 for reach (0.06 seconds)

  1. android/guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        assertThrows(IOException.class, reader::reset);
      }
    
      /**
       * Creates a CharSequenceReader wrapping the given CharSequence and tests that the reader produces
       * the same sequence when read using each type of read method it provides.
       */
      private static void assertReadsCorrectly(CharSequence charSequence) throws IOException {
        String expected = charSequence.toString();
    
        // read char by char
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

        checkHelperVersion(getClass().getClassLoader(), "SafeAtomicHelper");
        checkHelperVersion(NO_ATOMIC_FIELD_UPDATER, "SynchronizedAtomicHelper");
    
        // Then, run the actual tests under each alternative classloader:
    
        runTestMethod(NO_ATOMIC_FIELD_UPDATER);
        // TODO(lukes): assert that the logs are full of errors
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ForwardingSortedSet.java

     * default} methods. Instead, it inherits their default implementations. When those implementations
     * invoke methods, they invoke methods on the {@code ForwardingSortedSet}.
     *
     * <p>Each of the {@code standard} methods, where appropriate, uses the set's comparator (or the
     * natural ordering of the elements, if there is no comparator) to test element equality. As a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 16:28:01 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/HashMultimap.java

       */
      @Override
      Set<V> createCollection() {
        return Platform.newHashSetWithExpectedSize(expectedValuesPerKey);
      }
    
      /**
       * @serialData expectedValuesPerKey, number of distinct keys, and then for each distinct key: the
       *     key, number of values for that key, and the key's values
       */
      @GwtIncompatible
      @J2ktIncompatible
        private void writeObject(ObjectOutputStream stream) throws IOException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 05 23:15:58 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  5. cmd/dummy-data-generator_test.go

    		if n1 != n2 {
    			return false, fmt.Sprintf("Read %d != %d bytes from the readers", n1, n2)
    		}
    		if !bytes.Equal(b1[:n1], b2[:n2]) {
    			return false, fmt.Sprintf("After reading %d equal buffers (32Kib each), we got the following two strings:\n%v\n%v\n",
    				i, b1, b2)
    		}
    		// Check if stream has ended
    		if (e1 == io.ErrUnexpectedEOF && e2 == io.ErrUnexpectedEOF) || (e1 == io.EOF && e2 == io.EOF) {
    			break
    		}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  6. cmd/streaming-signature-v4_test.go

    			nil,
    		},
    		// Test - 4 - parse the chunk reader properly.
    		{
    			bufio.NewReader(readers[3]),
    			nil,
    			[]byte("1000"),
    			[]byte("111123333333333333334444211"),
    		},
    	}
    	// Valid test cases for each chunk line.
    	for i, tt := range testCases {
    		chunkSize, chunkSignature, err := readChunkLine(tt.reader)
    		if err != tt.expectedErr {
    			t.Errorf("Test %d: Expected %s, got %s", i+1, tt.expectedErr, err)
    		}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  7. cmd/last-minute.go

    }
    
    // Add latency t from object with the specified size.
    func (l *LastMinuteHistogram) Add(size int64, t time.Duration) {
    	l[sizeToTag(size)].add(t)
    }
    
    // GetAvgData will return the average for each bucket from the last time minute.
    // The number of objects is also included.
    func (l *LastMinuteHistogram) GetAvgData() [sizeLastElemMarker]AccElem {
    	var res [sizeLastElemMarker]AccElem
    	for i, elem := range l[:] {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Jul 05 17:40:45 GMT 2023
    - 4.8K bytes
    - Click Count (0)
  8. src/arena/arena.go

    Arenas allocate large chunks of memory for Go values, so they're likely to
    be inefficient for allocating only small amounts of small Go values. They're
    best used in bulk, on the order of MiB of memory allocated on each use.
    
    Note that by allowing for this limited form of manual memory allocation
    that use-after-free bugs are possible with regular Go values. This package
    limits the impact of these use-after-free bugs by preventing reuse of freed
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Oct 12 20:23:36 GMT 2022
    - 4.3K bytes
    - Click Count (0)
  9. lib/fips140/v1.0.0-c2097c7c.zip

    SetIV(iv []byte) { if len(iv) != len(x.iv) { panic("cipher: incorrect length IV") } copy(x.iv[:], iv) } func cryptBlocksDecGeneri(b *Block, civ *[BlockSize]byte, dst, src []byte) { // For each block, we need to xor the decrypted data with the previous // block's ciphertext (the iv). To avoid making a copy each time, we loop // over the blocks backwards. end := len(src) start := end - BlockSize prev := start - BlockSize // Copy the last block of ciphertext as the IV of the next call. iv := *civ copy(civ[:],...
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Sep 25 19:53:19 GMT 2025
    - 642.7K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java

            Object result2 = scriptExecutor.execute("type2", "script for engine2");
            assertEquals("engine2:processed: script for engine2", result2);
    
            // Verify correct engine was called each time
            assertEquals("script for engine1", engine1.getLastScript());
            assertEquals("script for engine2", engine2.getLastScript());
        }
    
        @Test
        public void test_execute_withInvalidScriptType() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.5K bytes
    - Click Count (0)
Back to Top