Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 55 for Kasper (0.18 sec)

  1. android/guava/src/com/google/common/hash/AbstractByteHasher.java

      private final ByteBuffer scratch = ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN);
    
      /** Updates this hasher with the given byte. */
      protected abstract void update(byte b);
    
      /** Updates this hasher with the given bytes. */
      protected void update(byte[] b) {
        update(b, 0, b.length);
      }
    
      /** Updates this hasher with {@code len} bytes starting at {@code off} in the given buffer. */
    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)
  2. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

          }
          // We need to ensure that at least 4 bytes have been put into the hasher or else
          // Hasher#hash will throw an ISE.
          int intToPut = random.nextInt();
          for (Hasher hasher : sinksAndControl) {
            hasher.putInt(intToPut);
          }
          for (Sink sink : sinks) {
            HashCode unused = sink.hash();
          }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.java

    import java.util.concurrent.Future;
    import junit.framework.TestCase;
    
    /**
     * Basher test for {@link AtomicLongMap}.
     *
     * @author mike nonemacher
     */
    @J2ktIncompatible // threads
    @GwtIncompatible // threads
    public class AtomicLongMapBasherTest extends TestCase {
      private final Random random = new Random(301);
    
      public void testModify_basher() throws Exception {
        int nTasks = 3000;
        int nThreads = 100;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  4. .github/ISSUE_TEMPLATE/bug_report.yaml

      - type: checkboxes
        attributes:
          label: Checklist
          options:
            - label: >
                I agree to follow the
                [code of conduct](https://github.com/google/.github/blob/master/CODE_OF_CONDUCT.md).
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 27 19:53:41 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/AppendableWriter.java

       * Abstract methods from Writer
       */
    
      @Override
      public void write(char[] cbuf, int off, int len) throws IOException {
        checkNotClosed();
        // It turns out that creating a new String is usually as fast, or faster
        // than wrapping cbuf in a light-weight CharSequence.
        target.append(new String(cbuf, off, len));
      }
    
      /*
       * Override a few functions for performance reasons to avoid creating unnecessary strings.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/escape/CharEscaperBuilder.java

        CharArrayDecorator(char[] @Nullable [] replacements) {
          this.replacements = replacements;
          this.replaceLength = replacements.length;
        }
    
        /*
         * Overriding escape method to be slightly faster for this decorator. We test the replacements
         * array directly, saving a method call.
         */
        @Override
        public String escape(String s) {
          int slen = s.length();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 4K bytes
    - Viewed (0)
  7. .github/ISSUE_TEMPLATE/feature_enhancement_request.yaml

      - type: checkboxes
        attributes:
          label: Checklist
          options:
            - label: >
                I agree to follow the
                [code of conduct](https://github.com/google/.github/blob/master/CODE_OF_CONDUCT.md).
              required: true
            - label: >
                I have read and understood the [contribution
                guidelines](https://github.com/google/guava/wiki/HowToContribute#feature-requests).
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Predicate.java

     * Otherwise, at least reduce <i>explicit</i> dependencies on this type by using lambda expressions
     * or method references instead of classes, leaving your code easier to migrate in the future.
     *
     * <p>To use a reference of this type (say, named {@code guavaPredicate}) in a context where {@code
     * java.util.function.Predicate} is expected, use the method reference {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/StandardRowSortedTable.java

     * natural ordering or by a supplied comparator. Note that iterations across the columns keys for a
     * single row key may or may not be ordered, depending on the implementation. When rows and columns
     * are both sorted, it's easier to use the {@link TreeBasedTable} subclass.
     *
     * <p>The {@link #rowKeySet} method returns a {@link SortedSet} and the {@link #rowMap} method
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jul 15 15:41:16 GMT 2021
    - 4.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/Fingerprint2011.java

        b ^= (b >>> 47);
        b *= K3;
        return b;
      }
    
      /**
       * Computes intermediate hash of 32 bytes of byte array from the given offset. Results are
       * returned in the output array - this is 12% faster than allocating new arrays every time.
       */
      private static void weakHashLength32WithSeeds(
          byte[] bytes, int offset, long seedA, long seedB, long[] output) {
        long part1 = load64(bytes, offset);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Dec 28 17:50:25 GMT 2021
    - 6.5K bytes
    - Viewed (0)
Back to top