Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 155 for 1011 (0.52 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

       * length.
       */
      internal const val PAYLOAD_LONG = 127
    
      /** Used when an unchecked exception was thrown in a listener. */
      internal const val CLOSE_CLIENT_GOING_AWAY = 1001
    
      /** Used when an empty close frame was received (i.e., without a status code). */
      internal const val CLOSE_NO_STATUS_CODE = 1005
    
      fun toggleMask(
        cursor: Buffer.UnsafeCursor,
        key: ByteArray,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/StopwatchTest.java

        ticker.advance(998);
        assertEquals("999.0 ns", stopwatch.toString());
        ticker.advance(1);
        assertEquals("1.000 \u03bcs", stopwatch.toString());
        ticker.advance(1);
        assertEquals("1.001 \u03bcs", stopwatch.toString());
        ticker.advance(8998);
        assertEquals("9.999 \u03bcs", stopwatch.toString());
        stopwatch.reset();
        stopwatch.start();
        ticker.advance(1234567);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

    /*
     * Copyright (C) 2011 The Guava Authors
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     * http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

    /*
     * Copyright (C) 2011 The Guava Authors
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     * http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/RangeTest.java

        // separate above
        expected =
            assertThrows(
                IllegalArgumentException.class, () -> range.intersection(Range.closed(10, 12)));
        assertThat(expected).hasMessageThat().contains("connected");
      }
    
      public void testGap_overlapping() {
        Range<Integer> range = Range.closedOpen(3, 5);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/RangeMap.java

       * (10, ∞) => "baz"} then {@code rangeMap.subRangeMap(Range.open(3, 12))} would return a range map
       * with the entries {@code (3, 5] => "foo", (6, 8) => "bar", (10, 12) => "baz"}.
       *
       * <p>The returned range map supports all optional operations that this range map supports, except
       * for {@code asMapOfRanges().iterator().remove()}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ComparisonChainTest.java

      public void testManyEqual() {
        assertThat(
                ComparisonChain.start()
                    .compare(1, 1)
                    .compare(1L, 1L)
                    .compareFalseFirst(true, true)
                    .compare(1.0, 1.0)
                    .compare(1.0f, 1.0f)
                    .compare("a", "a", Ordering.usingToString())
                    .result())
            .isEqualTo(0);
      }
    
      public void testShortCircuitLess() {
        assertThat(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 13:27:08 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. internal/dsync/drwmutex_test.go

    	hammerRWMutex(t, 1, 1, n)
    	hammerRWMutex(t, 1, 3, n)
    	hammerRWMutex(t, 1, 10, n)
    	hammerRWMutex(t, 4, 1, n)
    	hammerRWMutex(t, 4, 3, n)
    	hammerRWMutex(t, 4, 10, n)
    	hammerRWMutex(t, 10, 1, n)
    	hammerRWMutex(t, 10, 3, n)
    	hammerRWMutex(t, 10, 10, n)
    	hammerRWMutex(t, 10, 5, n)
    }
    
    // Borrowed from rwmutex_test.go
    func TestUnlockPanic(t *testing.T) {
    	defer func() {
    		if recover() == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 24 03:49:07 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

              val extensions = WebSocketExtensions.parse(response.headers)
              ******@****.***ions = extensions
              if (!extensions.isValid()) {
                synchronized(this@RealWebSocket) {
                  messageAndCloseQueue.clear() // Don't transmit any messages.
                  close(1010, "unexpected Sec-WebSocket-Extensions in response header")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

          }
        };
      }
    
      public enum Value {
        INSTANCE;
      }
    
      public enum ListSizeDistribution {
        UNIFORM_0_TO_2(0, 2),
        UNIFORM_0_TO_9(0, 9),
        ALWAYS_0(0, 0),
        ALWAYS_10(10, 10);
    
        final int min;
        final int max;
    
        private ListSizeDistribution(int min, int max) {
          this.min = min;
          this.max = max;
        }
    
        public int chooseSize(Random random) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top