Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 347 for traverse (0.07 seconds)

  1. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

          assertEquals(Integer.valueOf(0), defaultConverter.convert("anything"));
          assertThat(defaultConverter.reverse().convert(123)).isEqualTo("");
          assertThat(defaultConverter.convert(null)).isNull();
          assertThat(defaultConverter.reverse().convert(null)).isNull();
        }
      }
    
      public void testConverterDefaultValue() {
        new ConverterDefaultValueChecker().check();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 47.9K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/Sets.java

          if (forwardComparator == null) {
            return (Comparator) Ordering.natural().reverse();
          } else {
            return reverse(forwardComparator);
          }
        }
    
        // If we inline this, we get a javac error.
        private static <T extends @Nullable Object> Ordering<T> reverse(Comparator<T> forward) {
          return Ordering.from(forward).reverse();
        }
    
        @Override
        @ParametricNullness
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 81.4K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

        boolean modified = false;
        for (E e : elementsToAdd) {
          modified |= addTo.add(e);
        }
        return modified;
      }
    
      static <T extends @Nullable Object> Iterable<T> reverse(List<T> list) {
        return () ->
            new Iterator<T>() {
              private final ListIterator<T> listIter = list.listIterator(list.size());
    
              @Override
              public boolean hasNext() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  4. .teamcity/src/main/kotlin/common/CommonExtensions.kt

                    conditionType = BuildFailureOnText.ConditionType.CONTAINS
                    pattern = "%unmaskedFakeCredentials%"
                    failureMessage = "This build might be leaking credentials"
                    reverse = false
                    stopBuildOnFailure = true
                }
            }
        }
    }
    
    fun javaHome(
        jvm: Jvm,
        os: Os,
        arch: Arch = Arch.AMD64,
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 13 05:03:56 GMT 2026
    - 14.8K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt

    import okhttp3.internal.effectiveCipherSuites
    import okhttp3.internal.hasIntersection
    import okhttp3.internal.indexOf
    import okhttp3.internal.intersect
    
    /**
     * Specifies configuration for the socket connection that HTTP traffic travels through. For `https:`
     * URLs, this includes the TLS version and cipher suites to use when negotiating a secure
     * connection.
     *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jan 10 09:36:53 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  6. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

                      + runnable
                      + " with executor "
                      + executor,
                  e);
            }
          }
        }
      }
    
      // A version of the execution list that doesn't reverse the stack in execute().
      private static final class NewExecutionListWithoutReverse {
        static final Logger log = Logger.getLogger(NewExecutionListWithoutReverse.class.getName());
    
        @GuardedBy("this")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/Kerb5Authenticator.java

                // use a KDC of our choice.
                // A potential workaround would be to try to get the server FQDN by reverse lookup, but this might have
                // security implications and also is not how Microsoft does it.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/TopKSelector.java

       */
      public static <T extends @Nullable Object> TopKSelector<T> greatest(
          int k, Comparator<? super T> comparator) {
        return new TopKSelector<>(Ordering.from(comparator).reverse(), k);
      }
    
      private final int k;
      private final Comparator<? super T> comparator;
    
      /*
       * We are currently considering the elements in buffer in the range [0, bufferSize) as candidates
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 31 13:15:26 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

            Graph graph = new Graph();
            addPhases(graph, null, null, lifecycle.v3phases());
            List<String> allPhases = graph.visitAll();
            Collections.reverse(allPhases);
            List<String> computed =
                    allPhases.stream().filter(s -> !s.startsWith("$")).collect(Collectors.toList());
            return computed;
        }
    
        private static void addPhase(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Constants.java

        @Config
        public static final String MAVEN_REPO_LOCAL_TAIL_IGNORE_AVAILABILITY = "maven.repo.local.tail.ignoreAvailability";
    
        /**
         * User property for reverse dependency tree. If enabled, Maven will record ".tracking" directory into local
         * repository with "reverse dependency tree", essentially explaining WHY given artifact is present in local
         * repository.
         * Default: <code>false</code>, will not record anything.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 28.7K bytes
    - Click Count (0)
Back to Top