Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 545 for bplist (0.06 sec)

  1. android/guava/src/com/google/common/collect/TopKSelector.java

    import static java.lang.Math.max;
    import static java.util.Arrays.asList;
    import static java.util.Arrays.sort;
    import static java.util.Collections.unmodifiableList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.math.IntMath;
    import java.math.RoundingMode;
    import java.util.Arrays;
    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.List;
    import javax.annotation.CheckForNull;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

        // 256 characters long
        assertEquals(3500507768004279527L, fingerprint(Strings.repeat("test", 64).getBytes(UTF_8)));
      }
    
      public void testStringsConsistency() {
        for (String s : Arrays.asList("", "some", "test", "strings", "to", "try")) {
          assertEquals(HASH_FN.newHasher().putUnencodedChars(s).hash(), HASH_FN.hashUnencodedChars(s));
        }
      }
    
      public void testUtf8() {
        char[] charsA = new char[128];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

                    }
                }
            }
    
            return phaseToLifecycleMap;
        }
    
        /**
         * Returns an ordered list of lifecycles
         */
        public List<Lifecycle> getLifeCycles() {
            List<String> lifecycleIds = Arrays.asList(STANDARD_LIFECYCLES);
    
            Comparator<String> comparator = (l, r) -> {
                int lx = lifecycleIds.indexOf(l);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultModelResolverTest.java

                    getContainer().lookup(ArtifactResolver.class),
                    getContainer().lookup(VersionRangeResolver.class),
                    getContainer().lookup(RemoteRepositoryManager.class),
                    Arrays.asList(newTestRepository()));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/scopes/Maven3ScopeManagerConfiguration.java

        }
    
        @Override
        public BuildScopeSource getBuildScopeSource() {
            return new BuildScopeMatrixSource(
                    Collections.singletonList(CommonBuilds.PROJECT_PATH_MAIN),
                    Arrays.asList(CommonBuilds.BUILD_PATH_COMPILE, CommonBuilds.BUILD_PATH_RUNTIME),
                    CommonBuilds.MAVEN_TEST_BUILD_SCOPE);
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java

            }
          }
    
          List<Integer> actualCounts =
              transform(
                  keys,
                  new Function<String, Integer>() {
                    @Override
                    public Integer apply(String key) {
                      return multiset.count(key);
                    }
                  });
          assertEquals("Counts not as expected", Ints.asList(deltas), actualCounts);
        } finally {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java

                }
    
                if (value instanceof List) {
                    return ((List) value).get(index);
                }
            } catch (NumberFormatException | IndexOutOfBoundsException e) {
                return null;
            }
    
            final String message = String.format(
                    "The token '%s' at position '%d' refers to a java.util.List or an array, but the value "
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenSessionBuilderSupplier.java

        }
    
        protected DependencySelector getDependencySelector() {
            return new AndDependencySelector(
                    ScopeDependencySelector.legacy(
                            null, Arrays.asList(DependencyScope.TEST.id(), DependencyScope.PROVIDED.id())),
                    OptionalDependencySelector.fromDirect(),
                    new ExclusionDependencySelector());
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

                    (int) 0x5a4316b8L,
                    (int) 0xff1a618bL,
                    (int) 0L))
            .isEqualTo((int) 0L);
      }
    
      public void testLexicographicalComparator() {
        List<int[]> ordered =
            Arrays.asList(
                new int[] {},
                new int[] {LEAST},
                new int[] {LEAST, LEAST},
                new int[] {LEAST, (int) 1L},
                new int[] {(int) 1L},
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  10. internal/http/listener_test.go

    		switch v := addr.(type) {
    		case *net.IPNet:
    			ip = v.IP
    		case *net.IPAddr:
    			ip = v.IP
    		}
    
    		if ip.To4() != nil {
    			localIP4.Add(ip.String())
    		}
    	}
    
    	// Filter ipList by IPs those do not start with '127.'.
    	nonLoopBackIPs := localIP4.FuncMatch(func(ip string, matchString string) bool {
    		return !strings.HasPrefix(ip, "127.")
    	}, "")
    	if len(nonLoopBackIPs) == 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 17:41:02 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top