Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 432 for Kast (0.19 sec)

  1. guava/src/com/google/common/base/CharMatcher.java

        int len = sequence.length();
        int first;
        int last;
    
        for (first = 0; first < len; first++) {
          if (!matches(sequence.charAt(first))) {
            break;
          }
        }
        for (last = len - 1; last > first; last--) {
          if (!matches(sequence.charAt(last))) {
            break;
          }
        }
    
        return sequence.subSequence(first, last + 1).toString();
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAtIndexTester.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.testers;
    
    import static com.google.common.collect.testing.features.CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION;
    import static com.google.common.collect.testing.features.CollectionSize.ONE;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Platform.java

       * - https://github.com/jspecify/jspecify/issues/65
       *
       * - https://github.com/jspecify/jdk/commit/71d826792b8c7ef95d492c50a274deab938f2552
       */
      /*
       * TODO(cpovirk): Is the unchecked cast avoidable? Would System.arraycopy be similarly fast (if
       * likewise not type-checked)? Could our single caller do something different?
       */
      @SuppressWarnings({"nullness", "unchecked"})
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

       */
      static long load64(byte[] input, int offset) {
        // We don't want this in production code as this is the most critical part of the loop.
        assert input.length >= offset + 8;
        // Delegates to the fast (unsafe) version or the fallback.
        return byteArray.getLongLittleEndian(input, offset);
      }
    
      /**
       * Similar to load64, but allows offset + 8 > input.length, padding the result with zeroes. This
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

          byte[] msg = new byte[i];
          for (int j = 0; j < i; ++j) {
            msg[j] = (byte) j;
          }
          assertSip(msg, EXPECTED[i]);
        }
      }
    
      // This test data comes from "SipHash: a fast short-input PRF", "Appendix A: Test values".
      // It can be downloaded here: https://131002.net/siphash/siphash.pdf
      public void test15ByteStringFromSipHashPaper() {
        byte[] message =
            new byte[] {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Sun May 05 18:02:35 GMT 2019
    - 6.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/escape/UnicodeEscaper.java

          char c1 = seq.charAt(index++);
          if (c1 < Character.MIN_HIGH_SURROGATE || c1 > Character.MAX_LOW_SURROGATE) {
            // Fast path (first test is probably all we need to do)
            return c1;
          } else if (c1 <= Character.MAX_HIGH_SURROGATE) {
            // If the high surrogate was the last character, return its inverse
            if (index == end) {
              return -c1;
            }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 13.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

          return label;
        }
      }
    
      /** Convenient subsets of the {@link Timeout} enumeration for specifying scenario outcomes. */
      private enum TimeoutsToUse {
        ANY(Timeout.values()),
        PAST(Timeout.MIN, Timeout.MINUS_SMALL, Timeout.ZERO),
        FUTURE(Timeout.SMALL, Timeout.MAX),
        SMALL(Timeout.SMALL),
        FINITE(Timeout.MIN, Timeout.MINUS_SMALL, Timeout.ZERO, Timeout.SMALL),
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 26.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/CacheBuilder.java

     *   <li>least-recently-used eviction when a maximum size is exceeded (note that the cache is
     *       divided into segments, each of which does LRU internally)
     *   <li>time-based expiration of entries, measured since last access or last write
     *   <li>keys automatically wrapped in {@code WeakReference}
     *   <li>values automatically wrapped in {@code WeakReference} or {@code SoftReference}
     *   <li>notification of evicted (or otherwise removed) entries
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

                  }
                })
            .withFeatures(
                MapFeature.GENERAL_PURPOSE,
                MapFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                MapFeature.RESTRICTS_KEYS,
                MapFeature.SUPPORTS_REMOVE,
                CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.SUPPORTS_ITERATOR_REMOVE,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 17K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/InternetDomainName.java

          return false;
        }
    
        /*
         * Note that we allow (in contravention of a strict interpretation of the relevant RFCs) domain
         * parts other than the last may begin with a digit (for example, "3com.com"). It's important to
         * disallow an initial digit in the last part; it's the only thing that stops an IPv4 numeric
         * address like 127.0.0.1 from looking like a valid domain name.
         */
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 20:47:23 GMT 2024
    - 28K bytes
    - Viewed (0)
Back to top