Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 471 - 480 of 1,118 for onex (0.01 seconds)

  1. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

            subjectPublicKey = BitString(publicKeyBytes, 0),
          )
        return CertificateAdapters.subjectPublicKeyInfo.toDer(subjectPublicKeyInfo)
      }
    
      /** Returns a byte string that differs from this one by one bit. */
      private fun ByteString.offByOneBit(): ByteString =
        Buffer()
          .write(this, 0, size - 1)
          .writeByte(this[size - 1].toInt() xor 1)
          .readByteString()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/DiscreteDomainTest.java

        assertThrows(
            IllegalArgumentException.class, () -> DiscreteDomain.longs().offset(Long.MAX_VALUE, 1));
      }
    
      public void testBigIntegersOffset() {
        assertEquals(BigInteger.ONE, DiscreteDomain.bigIntegers().offset(BigInteger.ZERO, 1));
        assertEquals(
            BigInteger.valueOf(Long.MAX_VALUE),
            DiscreteDomain.bigIntegers().offset(BigInteger.ZERO, Long.MAX_VALUE));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.7K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/MapDifference.java

       * }
       */
      @Override
      int hashCode();
    
      /**
       * A difference between the mappings from two maps with the same key. The {@link #leftValue} and
       * {@link #rightValue} are not equal, and one but not both of them may be null.
       *
       * @since 2.0
       */
      @DoNotMock("Use Maps.difference")
      interface ValueDifference<V extends @Nullable Object> {
        /** Returns the value from the left map (possibly null). */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  4. guava/src/com/google/common/base/Objects.java

       * and not contents.
       *
       * <p>This is useful for implementing {@link Object#hashCode()}. For example, in an object that
       * has three properties, {@code x}, {@code y}, and {@code z}, one could write:
       *
       * {@snippet :
       * public int hashCode() {
       *   return Objects.hashCode(getX(), getY(), getZ());
       * }
       * }
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 28 22:51:26 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

            assertTrue(cos.isInMemory());
            assertFalse(cos.done);
            cos.close();
        }
    
        @Test
        public void testSingleByteWrites() throws IOException {
            // Writing one byte at a time
            ContentOutputStream cos = new ContentOutputStream(5, Curl.tmpDir);
            for (int i = 0; i < 3; i++) {
                cos.write(i);
            }
            assertTrue(cos.isInMemory());
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/QueuesTest.java

        for (boolean interruptibly : new boolean[] {true, false}) {
          assertEquals(0, Queues.drain(q, ImmutableList.of(), 1, 10, MILLISECONDS));
    
          Producer producer = new Producer(q, 1);
          // producing one, will ask for two
          Future<?> producerThread = threadPool.submit(producer);
          producer.beganProducing.await();
    
          // make sure we time out
          Stopwatch timer = Stopwatch.createStarted();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Nov 04 17:24:58 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/ObjectArrays.java

       *
       * @param element the element to prepend to the front of {@code array}
       * @param array the array of elements to append
       * @return an array whose size is one larger than {@code array}, with {@code element} occupying
       *     the first position, and the elements of {@code array} occupying the remaining elements.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jan 23 17:16:53 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/base/Stopwatch.java

     *   <li>An alternative source of nanosecond ticks can be substituted, for example for testing or
     *       performance reasons, without affecting most of your code.
     * </ul>
     *
     * <p>The one downside of {@code Stopwatch} relative to {@link System#nanoTime()} is that {@code
     * Stopwatch} requires object allocation and additional method calls, which can reduce the accuracy
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 08 18:55:33 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/math/Quantiles.java

     * uniform distribution on [0,1]."
     *
     * <h3>Handling of non-finite values</h3>
     *
     * <p>If any values in the input are {@link Double#NaN NaN} then all values returned are {@link
     * Double#NaN NaN}. (This is the one occasion when the behaviour is not the same as you'd get from
     * sorting with {@link java.util.Arrays#sort(double[]) Arrays.sort(double[])} or {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 30.1K bytes
    - Click Count (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/DecorateReleaseNotes.java

                copySpec.rename(s -> destinationFile.getName());
    
                // TODO: Maybe this could be simplified by not using the copy infrastructure and just
                // calling the FilterReader ourselves.  We're just taking one file and turning it into another.
    
                // The order here is important! tokens are inserted by the transformer
                Map<String, Object> parameters = new HashMap<>();
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jan 22 12:08:23 GMT 2026
    - 3.8K bytes
    - Click Count (0)
Back to Top