Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 115 for 150 (0.01 seconds)

  1. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

     * to create multiple escaper instances that have the same character replacement mapping consider
     * using {@link ArrayBasedEscaperMap}.
     *
     * @author David Beaumont
     * @since 15.0
     */
    @GwtCompatible
    @SuppressWarnings("EscapedEntity") // We do mean for the user to see "&" etc.
    public abstract class ArrayBasedUnicodeEscaper extends UnicodeEscaper {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 13 15:45:16 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  2. tests/lru_test.go

    //	lc.Close()
    //	// should not panic
    //	lc.Close()
    // }
    
    func TestLRUWithPurge(t *testing.T) {
    	var evicted []string
    	lc := lru.NewLRU(10, func(key string, value string) { evicted = append(evicted, key, value) }, 150*time.Millisecond)
    
    	k, v, ok := lc.GetOldest()
    	if k != "" {
    		t.Fatalf("should be empty")
    	}
    	if v != "" {
    		t.Fatalf("should be empty")
    	}
    	if ok {
    		t.Fatalf("should be false")
    	}
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  3. cmd/apierrorcode_string.go

    	_ = x[ErrSSECustomerKeyMD5Mismatch-146]
    	_ = x[ErrInvalidSSECustomerParameters-147]
    	_ = x[ErrIncompatibleEncryptionMethod-148]
    	_ = x[ErrKMSNotConfigured-149]
    	_ = x[ErrKMSKeyNotFoundException-150]
    	_ = x[ErrKMSDefaultKeyAlreadyConfigured-151]
    	_ = x[ErrNoAccessKey-152]
    	_ = x[ErrInvalidToken-153]
    	_ = x[ErrEventNotification-154]
    	_ = x[ErrARNNotification-155]
    	_ = x[ErrRegionNotification-156]
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 16 07:34:24 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/DiscreteDomain.java

       *
       * <p>This method always returns the same object. That object is serializable; deserializing it
       * results in the same object too.
       *
       * @since 15.0
       */
      public static DiscreteDomain<BigInteger> bigIntegers() {
        return BigIntegerDomain.INSTANCE;
      }
    
      private static final class BigIntegerDomain extends DiscreteDomain<BigInteger>
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/hash/Hashing.java

       *
       * @since 15.0
       */
      public static HashFunction sipHash24() {
        return SipHashFunction.SIP_HASH_24;
      }
    
      /**
       * Returns a hash function implementing the <a href="https://131002.net/siphash/">64-bit
       * SipHash-2-4 algorithm</a> using the given seed.
       *
       * @since 15.0
       */
      public static HashFunction sipHash24(long k0, long k1) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 29.8K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/base/SuppliersTest.java

        assertEquals(10, (int) memoizedSupplier.get());
        // it still should only have executed once due to memoization
        assertEquals(1, countingSupplier.calls);
    
        Thread.sleep(150);
    
        assertEquals(20, (int) memoizedSupplier.get());
        // old value expired
        assertEquals(2, countingSupplier.calls);
    
        assertEquals(20, (int) memoizedSupplier.get());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/base/SuppliersTest.java

        assertEquals(10, (int) memoizedSupplier.get());
        // it still should only have executed once due to memoization
        assertEquals(1, countingSupplier.calls);
    
        Thread.sleep(150);
    
        assertEquals(20, (int) memoizedSupplier.get());
        // old value expired
        assertEquals(2, countingSupplier.calls);
    
        assertEquals(20, (int) memoizedSupplier.get());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  8. guava/src/com/google/common/io/CharStreams.java

       * the {@link Writer#nullWriter()} method returns a new instance whose methods throw after the
       * instance is {@link Writer#close() closed}.
       *
       * @since 15.0
       */
      public static Writer nullWriter() {
        return NullWriter.INSTANCE;
      }
    
      private static final class NullWriter extends Writer {
    
        private static final NullWriter INSTANCE = new NullWriter();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 29 13:56:24 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/escape/UnicodeEscaper.java

     * com.google.common.html.HtmlEscapers} and {@link com.google.common.xml.XmlEscapers}. To create
     * your own escapers extend this class and implement the {@link #escape(int)} method.
     *
     * @author David Beaumont
     * @since 15.0
     */
    @GwtCompatible
    @SuppressWarnings("EscapedEntity") // We do mean for the user to see "&lt;" etc.
    public abstract class UnicodeEscaper extends Escaper {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 13 15:45:16 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/FileSizeFormatTest.java

            // Test value greater than or equal to 10
            builder = new DefaultMessageBuilder();
            format.formatRate(builder, 15000.0); // 15 kB/s
            assertEquals("15.0 kB/s", builder.build());
    
            // Test value between 0.05 and 10
            builder = new DefaultMessageBuilder();
            format.formatRate(builder, 5500.0); // 5.5 kB/s
            assertEquals("5.5 kB/s", builder.build());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 14.9K bytes
    - Click Count (0)
Back to Top