Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 159 for 0a00 (0.01 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt

            val delays = mutableListOf(50.µs, -1L)
    
            override fun runOnce(): Long {
              log += "run@${taskFaker.nanoTime}"
              redQueue.cancelAll()
              return delays.removeAt(0)
            }
          },
          100.µs,
        )
    
        taskFaker.advanceUntil(0.µs)
        assertThat(log).isEmpty()
    
        taskFaker.advanceUntil(100.µs)
        assertThat(log).containsExactly("run@100000")
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 23K bytes
    - Click Count (0)
  2. guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

            // if we don't special-case this, we would get storedPermits == NaN, below
            storedPermits = maxPermits;
          } else {
            storedPermits =
                (oldMaxPermits == 0.0)
                    ? 0.0 // initial state
                    : storedPermits * maxPermits / oldMaxPermits;
          }
        }
    
        @Override
        long storedPermitsToWaitTime(double storedPermits, double permitsToTake) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

                }
                b == 0x10 || b == 0 -> {
                  // 000?0000 - Ignore never indexed bit.
                  readLiteralHeaderWithoutIndexingNewName()
                }
                else -> {
                  // 000?NNNN - Ignore never indexed bit.
                  val index = readInt(b, PREFIX_4_BITS)
                  readLiteralHeaderWithoutIndexingIndexedName(index - 1)
                }
              }
            }
          }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        testRotate(new byte[] {1, 2, 3, 4, 5}, 4, new byte[] {2, 3, 4, 5, 1});
        testRotate(new byte[] {1, 2, 3, 4, 5}, 6, new byte[] {5, 1, 2, 3, 4});
      }
    
      public void testRotateIndexed() {
        testRotate(new byte[] {}, 0, 0, 0, new byte[] {});
    
        testRotate(new byte[] {1}, 0, 0, 1, new byte[] {1});
        testRotate(new byte[] {1}, 1, 0, 1, new byte[] {1});
        testRotate(new byte[] {1}, 1, 1, 1, new byte[] {1});
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        assertThat(iia.subArray(1, 5).indexOf(1)).isEqualTo(0);
      }
    
      public void testIndexOf_specialValues() {
        ImmutableDoubleArray iia =
            ImmutableDoubleArray.of(-0.0, 0.0, Double.MAX_VALUE, Double.POSITIVE_INFINITY, Double.NaN);
        assertThat(iia.indexOf(-0.0)).isEqualTo(0);
        assertThat(iia.indexOf(0.0)).isEqualTo(1);
        assertThat(iia.indexOf(Double.MAX_VALUE)).isEqualTo(2);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/base/Ascii.java

    import com.google.common.annotations.GwtCompatible;
    import java.nio.charset.StandardCharsets;
    
    /**
     * Static methods pertaining to ASCII characters (those in the range of values {@code 0x00} through
     * {@code 0x7F}), and to strings containing such characters.
     *
     * <p>ASCII utilities also exist in other classes of this package:
     *
     * <ul>
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  7. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java

            range = VersionRange.createFromVersionSpec("[1.0,1.1-SNAPSHOT]");
            assertTrue(range.containsVersion(new DefaultArtifactVersion("1.1-SNAPSHOT")));
    
            range = VersionRange.createFromVersionSpec("[5.0.9.0,5.0.10.0)");
            assertTrue(range.containsVersion(new DefaultArtifactVersion("5.0.9.0")));
        }
    
        @Test
        void testSameUpperAndLowerBoundRoundtrip() throws InvalidVersionSpecificationException {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Mar 30 23:08:36 GMT 2025
    - 44.1K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt

        val body = "\u0800".toRequestBody(contentType)
        assertThat(body.contentType()).isEqualTo(contentType)
        assertThat(body.contentLength()).isEqualTo(2)
        assertThat(bodyToHex(body)).isEqualTo("0800")
      }
    
      @Test
      fun byteArray() {
        val contentType = "text/plain".toMediaType()
        val body: RequestBody = "abc".toByteArray().toRequestBody(contentType)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 24 11:36:14 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/ImmutableListTest.java

        assertEquals(asList("a", "b", "c", "d"), list);
        b.set(0, "f");
        assertEquals(asList("a", "b", "c", "d"), list);
      }
    
      public void testComplexBuilder() {
        List<Integer> colorElem = asList(0x00, 0x33, 0x66, 0x99, 0xCC, 0xFF);
        ImmutableList.Builder<Integer> webSafeColorsBuilder = ImmutableList.builder();
        for (Integer red : colorElem) {
          for (Integer green : colorElem) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 23.6K bytes
    - Click Count (0)
  10. internal/s3select/select.go

    	var outputQueue []sql.Record
    
    	// Create queue based on the type.
    	if s3Select.statement.IsAggregated() {
    		outputQueue = make([]sql.Record, 0, 1)
    	} else {
    		outputQueue = make([]sql.Record, 0, 100)
    	}
    	var err error
    	sendRecord := func() bool {
    		buf := bufPool.Get()
    		buf.Reset()
    
    		for _, outputRecord := range outputQueue {
    			if outputRecord == nil {
    				continue
    			}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 21.2K bytes
    - Click Count (0)
Back to Top