Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1201 - 1210 of 5,478 for newE (0.02 seconds)

  1. android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

      @BeforeExperiment
      @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8
      void setUp() {
        String component = Strings.repeat("a", componentLength);
        String[] raw = new String[count];
        Arrays.fill(raw, component);
        components = Arrays.asList(raw);
      }
    
      /** {@link Joiner} with a string delimiter. */
      @Benchmark
      int joinerWithStringDelimiter(int reps) {
        int dummy = 0;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 27 16:19:35 GMT 2024
    - 5K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ConcurrencyDependencyGraph.java

        private final Set<MavenProject> finishedProjects = new HashSet<>();
    
        private final SmartProjectComparator projectComparator;
    
        public ConcurrencyDependencyGraph(ProjectBuildList projectBuilds, ProjectDependencyGraph projectDependencyGraph) {
            this.projectDependencyGraph = projectDependencyGraph;
            this.projectBuilds = projectBuilds;
            this.projectComparator = new SmartProjectComparator(projectDependencyGraph);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/RegularImmutableBiMap.java

                  ? RegularImmutableMap.makeImmutable(entry, key, value)
                  : new NonTerminalImmutableBiMapEntry<>(
                      key, value, nextInKeyBucket, nextInValueBucket);
          keyTable[keyBucket] = newEntry;
          valueTable[valueBucket] = newEntry;
          entries[i] = newEntry;
          hashCode += keyHash ^ valueHash;
        }
        return new RegularImmutableBiMap<>(keyTable, valueTable, entries, mask, hashCode);
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 11K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/math/MathPreconditions.java

      @CanIgnoreReturnValue
      static int checkPositive(String role, int x) {
        if (x <= 0) {
          throw new IllegalArgumentException(role + " (" + x + ") must be > 0");
        }
        return x;
      }
    
      @CanIgnoreReturnValue
      static long checkPositive(String role, long x) {
        if (x <= 0) {
          throw new IllegalArgumentException(role + " (" + x + ") must be > 0");
        }
        return x;
      }
    
      @CanIgnoreReturnValue
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

          return new Object[length];
        }
    
        @Override
        public SampleElements<Entry<TypeToken, Object>> samples() {
          return new SampleElements<>(
              entry(TypeToken.of(Integer.class), 0),
              entry(TypeToken.of(Number.class), 1),
              entry(new TypeToken<ImmutableList<Integer>>() {}, ImmutableList.of(2)),
              entry(new TypeToken<int[]>() {}, new int[] {3}),
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 6.9K bytes
    - Click Count (0)
  6. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

                    throw new InvalidVersionSpecificationException(
                            "Only fully-qualified sets allowed in multiple set scenario: " + spec);
                } else {
                    version = new DefaultArtifactVersion(process);
                    restrictions.add(Restriction.EVERYTHING);
                }
            }
    
            cached = new VersionRange(version, restrictions);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 19K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

          return (Multiset.Entry<E>[]) new Multiset.Entry<?>[length];
        }
    
        @Override
        public Iterable<Entry<E>> order(List<Entry<E>> insertionOrder) {
          // We mimic the order from gen.
          Map<E, Entry<E>> map = new LinkedHashMap<>();
          for (Entry<E> entry : insertionOrder) {
            map.put(entry.getElement(), entry);
          }
    
          Set<E> seen = new HashSet<>();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                testBlock = new TestServerMessageBlock(mockConfig, (byte) 0x25);
    
                assertEquals(0x25, testBlock.getCommand());
                assertNull(testBlock.getPath());
            }
    
            @Test
            @DisplayName("Test constructor with config, command, and path")
            void testConstructorWithPath() {
                testBlock = new TestServerMessageBlock(mockConfig, (byte) 0x25, "\\test\\path");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 36.2K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

      @AndroidIncompatible // test-suite builders
      public static Test suite() {
        TestSuite suite = new TestSuite();
    
        // Not testing rowKeySet() or columnKeySet() of Table.transformValues()
        // since the transformation doesn't affect the row and column key sets.
    
        suite.addTest(
            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
                      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/SpnegoContext.java

            try {
                spnegoToken = switch (token[0]) {
                case (byte) 0x60 -> new NegTokenInit(token);
                case (byte) 0xa1 -> new NegTokenTarg(token);
                default -> throw new SpnegoException("Invalid token type");
                };
                return spnegoToken;
            } catch (final IOException e) {
                throw new SpnegoException("Invalid token");
            }
        }
    
        @Override
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.5K bytes
    - Click Count (0)
Back to Top