Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 962 for carlet (0.23 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

     * This is typical for Java but atypical for HTTP/2. This is motivated by exception transparency:
     * an [IOException] that was triggered by a certain caller can be caught and handled by that caller.
     */
    @Suppress("NAME_SHADOWING")
    class Http2Connection internal constructor(builder: Builder) : Closeable {
      internal val lock: ReentrantLock = ReentrantLock()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/AbstractHasher.java

          putChar(charSequence.charAt(i));
        }
        return this;
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putString(CharSequence charSequence, Charset charset) {
        return putBytes(charSequence.toString().getBytes(charset));
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putBytes(byte[] bytes) {
        return putBytes(bytes, 0, bytes.length);
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 3.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Charsets.java

       * java.nio.charset.StandardCharsets#ISO_8859_1} instead.
       *
       */
      public static final Charset ISO_8859_1 = Charset.forName("ISO-8859-1");
    
      /**
       * UTF-8: eight-bit UCS Transformation Format.
       *
       * <p><b>Java 7+ users:</b> this constant should be treated as deprecated; use {@link
       * java.nio.charset.StandardCharsets#UTF_8} instead.
       *
       */
      public static final Charset UTF_8 = Charset.forName("UTF-8");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/AbstractCache.java

        /**
         * Records cache hits. This should be called when a cache request returns a cached value.
         *
         * @param count the number of hits to record
         * @since 11.0
         */
        void recordHits(int count);
    
        /**
         * Records cache misses. This should be called when a cache request returns a value that was not
         * found in the cache. This method should be called by the loading thread, as well as by threads
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 9.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

          new Runnable() {
            @Override
            public void run() {}
          };
      boolean called = false;
    
      private void assertSingleCallWithCorrectParameters(
          Runnable command, long initialDelay, long delay, TimeUnit unit) {
        assertFalse(called); // only called once.
        called = true;
        assertEquals(INITIAL_DELAY, initialDelay);
        assertEquals(DELAY, delay);
        assertEquals(UNIT, unit);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/swig/testdata/callback/main.h

    // license that can be found in the LICENSE file.
    
    class Callback {
    public:
    	virtual ~Callback() { }
    	virtual std::string run() { return "Callback::run"; }
    };
    
    class Caller {
    private:
    	Callback *callback_;
    public:
    	Caller(): callback_(0) { }
    	~Caller() { delCallback(); }
    	void delCallback() { delete callback_; callback_ = 0; }
    	void setCallback(Callback *cb) { delCallback(); callback_ = cb; }
    	std::string call();
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 529 bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/Funnels.java

       * {@code Charset}.
       *
       * @since 15.0
       */
      public static Funnel<CharSequence> stringFunnel(Charset charset) {
        return new StringCharsetFunnel(charset);
      }
    
      private static class StringCharsetFunnel implements Funnel<CharSequence>, Serializable {
        private final Charset charset;
    
        StringCharsetFunnel(Charset charset) {
          this.charset = Preconditions.checkNotNull(charset);
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 25 20:32:46 GMT 2022
    - 7.3K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/MediaTypeJvmTest.kt

          "UTF-8",
          noCharset.charset(Charsets.UTF_8)!!.name(),
        )
        assertEquals(
          "US-ASCII",
          noCharset.charset(Charsets.US_ASCII)!!.name(),
        )
        val charset = parse("text/plain; charset=iso-8859-1")
        assertEquals(
          "ISO-8859-1",
          charset.charset(Charsets.UTF_8)!!.name(),
        )
        assertEquals(
          "ISO-8859-1",
          charset.charset(Charsets.US_ASCII)!!.name(),
        )
      }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

        secondFuture.cancel(true);
        assertThat(secondCallable.called).isFalse();
        assertThat(thirdCallable.called).isFalse();
        firstFuture.set(null);
        assertThat(secondCallable.called).isFalse();
        assertThat(thirdCallable.called).isTrue();
      }
    
      public void testCancellationMultipleThreads() throws Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 16.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

        secondFuture.cancel(true);
        assertThat(secondCallable.called).isFalse();
        assertThat(thirdCallable.called).isFalse();
        firstFuture.set(null);
        assertThat(secondCallable.called).isFalse();
        assertThat(thirdCallable.called).isTrue();
      }
    
      public void testCancellationMultipleThreads() throws Exception {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 16.8K bytes
    - Viewed (0)
Back to top