Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for init (0.15 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      @ParametricNullness
      public V get(long timeout, TimeUnit unit)
          throws InterruptedException, TimeoutException, ExecutionException {
        // NOTE: if timeout < 0, remainingNanos will be < 0 and we will fall into the while(true) loop
        // at the bottom and throw a timeoutexception.
        final long timeoutNanos = unit.toNanos(timeout); // we rely on the implicit null check on unit.
        long remainingNanos = timeoutNanos;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/CharMatcher.java

        }
    
        @Override
        public int indexIn(CharSequence sequence) {
          return (sequence.length() == 0) ? -1 : 0;
        }
    
        @Override
        public int indexIn(CharSequence sequence, int start) {
          int length = sequence.length();
          checkPositionIndex(start, length);
          return (start == length) ? -1 : start;
        }
    
        @Override
        public int lastIndexIn(CharSequence sequence) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

      E copyEntry(E original, E newNext) {
        int hash = original.getHash();
        return segmentFor(hash).copyEntry(original, newNext);
      }
    
      int hash(Object key) {
        int h = keyEquivalence.hash(key);
        return rehash(h);
      }
    
      void reclaimValue(WeakValueReference<K, V, E> valueReference) {
        E entry = valueReference.getEntry();
        int hash = entry.getHash();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

            TypeToken.of(StringListIterable[].class).getSupertype(Iterable[].class));
        assertEquals(int[].class, TypeToken.of(int[].class).getSupertype(int[].class).getType());
        assertEquals(Object.class, TypeToken.of(int[].class).getSupertype(Object.class).getType());
        assertEquals(int[][].class, TypeToken.of(int[][].class).getSupertype(int[][].class).getType());
        assertEquals(
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Sets.java

          }
          return false;
        }
    
        @Override
        public int hashCode() {
          // Warning: this is broken if size() == 0, so it is critical that we
          // substitute an empty ImmutableSet to the user in place of this
    
          // It's a weird formula, but tests prove it works.
          int adjust = size() - 1;
          for (int i = 0; i < axes.size(); i++) {
            adjust *= 31;
            adjust = ~~adjust;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

            }
        }
    
        public Result<? extends Model> buildRawModel(Path pomFile, int validationLevel, boolean locationTracking) {
            return buildRawModel(pomFile, validationLevel, locationTracking, null);
        }
    
        public Result<? extends Model> buildRawModel(
                Path pomFile, int validationLevel, boolean locationTracking, ModelTransformerContext context) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

         */
        public void addAttachedArtifact(Artifact artifact) throws DuplicateArtifactAttachmentException {
            // if already there we remove it and add again
            int index = attachedArtifacts.indexOf(artifact);
            if (index >= 0) {
                LOGGER.warn("artifact '{}' already attached, replacing previous instance", artifact);
                attachedArtifacts.set(index, artifact);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            @SuppressWarnings("unchecked")
            List<Plugin> plugins = (List<Plugin>) pom.getValue("build/plugins");
            int resourcesPlugin = -1;
            int customPlugin = -1;
            for (int i = 0; i < plugins.size(); i++) {
                Plugin plugin = plugins.get(i);
                if ("maven-resources-plugin".equals(plugin.getArtifactId())) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/ldap/LdapManager.java

            if (entryDn == null) {
                return null;
            }
            int start = entryDn.toLowerCase(Locale.ROOT).indexOf("cn=");
            if (start == -1) {
                return null;
            }
            start += 3;
    
            final int end = entryDn.indexOf(',', start);
            final String value = end == -1 ? entryDn.substring(start) : entryDn.substring(start, end);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 65.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertTrue(enumer.hasMoreElements());
        assertEquals(1, (int) enumer.nextElement());
        assertTrue(enumer.hasMoreElements());
        assertEquals(2, (int) enumer.nextElement());
        assertTrue(enumer.hasMoreElements());
        assertEquals(3, (int) enumer.nextElement());
        assertFalse(enumer.hasMoreElements());
      }
    
      private static Enumeration<Integer> enumerate(int... ints) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
Back to top