Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 192 for Reed (0.29 sec)

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

        hashFunctions[0] = Murmur3_128HashFunction.GOOD_FAST_HASH_128;
        int seed = GOOD_FAST_HASH_SEED;
        for (int i = 1; i < hashFunctionsNeeded; i++) {
          seed += 1500450271; // a prime; shouldn't matter
          hashFunctions[i] = murmur3_128(seed);
        }
        return new ConcatenatedHashFunction(hashFunctions);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/text/Tokenizer.java

         */
        public static final int TT_QUOTE = '\'';
    
        /**
         * 単語をあらわします。
         */
        public static final int TT_WORD = -3;
    
        private static final int TT_NOTHING = -4;
    
        private static final int NEED_CHAR = Integer.MAX_VALUE;
    
        private static final int QUOTE = '\'';
    
        private static final byte CT_WHITESPACE = 1;
    
        private static final byte CT_ALPHA = 4;
    
        private final byte[] ctype;
    
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

         * phase they want to execute and we can easily determine what lifecycle we need to run.
         *
         * @return A map of lifecycles, indexed on id
         */
        public Map<String, Lifecycle> getPhaseToLifecycleMap() {
            // If people are going to make their own lifecycles then we need to tell people how to namespace them correctly
            // so that they don't interfere with internally defined lifecycles.
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CompactHashSet.java

          entries[srcIndex] = 0;
    
          // also need to update whoever's "next" pointer was pointing to the last entry place
          int tableIndex = smearedHash(object) & mask;
          int next = CompactHashing.tableGet(table, tableIndex);
          int srcNext = srcIndex + 1;
          if (next == srcNext) {
            // we need to update the root pointer
            CompactHashing.tableSet(table, tableIndex, dstIndex + 1);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
  5. maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java

        protected String component() {
            return "deployer";
        }
    
        @Test
        void testArtifactInstallation() throws Exception {
            sessionScope.enter();
            try {
                sessionScope.seed(MavenSession.class, mock(MavenSession.class));
    
                String artifactBasedir = new File(getBasedir(), "src/test/resources/artifact-install").getAbsolutePath();
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/session/scope/SessionScopeProxyTest.java

            assertNotSame(bean.myBean.getClass(), MySessionScopedBean.class);
    
            assertThrows(OutOfScopeException.class, () -> bean.myBean.getSession());
    
            sessionScope.enter();
            sessionScope.seed(Session.class, this.session);
            assertNotNull(bean.myBean.getSession());
            assertNotNull(bean.myBean.getAnotherBean());
            assertSame(bean.myBean.getAnotherBean().getClass(), AnotherBean.class);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Apr 23 12:52:20 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/RegularImmutableSet.java

            return true;
          }
        }
      }
    
      @Override
      public int size() {
        return size;
      }
    
      // We're careful to put only E instances into the array in the mainline.
      // (In the backport, we don't need this suppression, but we keep it to minimize diffs.)
      @SuppressWarnings("unchecked")
      @Override
      public UnmodifiableIterator<E> iterator() {
        return asList().iterator();
      }
    
      @Override
      @Nullable
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/NetworkMutationTest.java

        testNetworkMutation(NetworkBuilder.undirected());
      }
    
      private static void testNetworkMutation(NetworkBuilder<? super Integer, Object> networkBuilder) {
        Random gen = new Random(42); // Fixed seed so test results are deterministic.
    
        for (int trial = 0; trial < NUM_TRIALS; ++trial) {
          MutableNetwork<Integer, Object> network =
              networkBuilder.allowsParallelEdges(true).allowsSelfLoops(true).build();
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 10 19:42:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

      public void testAddAllAtIndex_nullSupported() {
        List<E> containsNull = singletonList(null);
        assertTrue("addAll(n, containsNull) should return true", getList().addAll(0, containsNull));
        /*
         * We need (E) to force interpretation of null as the single element of a
         * varargs array, not the array itself
         */
        expectAdded(0, (E) null);
      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/OrderingTest.java

          List<Integer> list = Lists.newArrayList();
          for (int j = 0; j < elements; j++) {
            list.add(random.nextInt(10 * i + j + 1));
          }
    
          for (int seed = 1; seed < seeds; seed++) {
            int k = random.nextInt(10 * seed);
            assertEquals(ordering.sortedCopy(list).subList(0, k), ordering.leastOf(list, k));
          }
        }
      }
    
      public void testLeastOfIterableLargeK() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
Back to top