Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1651 - 1660 of 6,205 for newA (0.02 seconds)

  1. guava-tests/test/com/google/common/collect/InternersTest.java

      }
    
    
      public void testWeak_afterGC() throws InterruptedException {
        MyInt canonical = new MyInt(5);
        MyInt not = new MyInt(5);
    
        Interner<MyInt> pool = Interners.newWeakInterner();
        assertThat(pool.intern(canonical)).isSameInstanceAs(canonical);
    
        WeakReference<MyInt> signal = new WeakReference<>(canonical);
        canonical = null; // Hint to the JIT that canonical is unreachable
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

            ImmutableList.of(
                ListTestSuiteBuilder.using(new ImmutableIntArrayAsListGenerator())
                    .named("ImmutableIntArray.asList"),
                ListTestSuiteBuilder.using(new ImmutableIntArrayHeadSubListAsListGenerator())
                    .named("ImmutableIntArray.asList, head subList"),
                ListTestSuiteBuilder.using(new ImmutableIntArrayTailSubListAsListGenerator())
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

            return new TreeSet<E>(contents);
          }
        },
        UnmodifiableSetImpl {
          @Override
          public <E extends Comparable<E>> Set<E> create(Collection<E> contents) {
            return unmodifiableSet(new HashSet<E>(contents));
          }
        },
        SynchronizedSetImpl {
          @Override
          public <E extends Comparable<E>> Set<E> create(Collection<E> contents) {
            return synchronizedSet(new HashSet<E>(contents));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

            ArtifactResolutionResult result = new ArtifactResolutionResult();
    
            result.setOriginatingArtifact(originatingArtifact);
    
            if (conflictResolvers == null) {
                conflictResolvers = Collections.singletonList(defaultConflictResolver);
            }
    
            Map<Object, List<ResolutionNode>> resolvedArtifacts = new LinkedHashMap<>();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/escape/ArrayBasedCharEscaperTest.java

      }
    
      public void testDeleteUnsafeChars() throws IOException {
        CharEscaper deletingEscaper =
            new ArrayBasedCharEscaper(NO_REPLACEMENTS, ' ', '~') {
              private final char[] noChars = new char[0];
    
              @Override
              protected char[] escapeUnsafe(char c) {
                return noChars;
              }
            };
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 18 15:41:04 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MultimapEqualsTester.java

      public void testEqualsTrue() {
        new EqualsTester()
            .addEqualityGroup(multimap(), getSubjectGenerator().create(getSampleElements().toArray()))
            .testEquals();
      }
    
      public void testEqualsFalse() {
        List<Entry<K, V>> targetEntries = new ArrayList<>(getSampleElements());
        targetEntries.add(mapEntry(k0(), v3()));
        new EqualsTester()
            .addEqualityGroup(multimap())
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/dcerpc/rpc.java

                _src.advance(1 * _nodes);
    
                if (node == null) {
                    if (_nodes < 0 || _nodes > 0xFFFF) {
                        throw new NdrException(NdrException.INVALID_CONFORMANCE);
                    }
                    node = new byte[_nodes];
                }
                _src = _src.derive(_nodei);
                for (int _i = 0; _i < _nodes; _i++) {
                    node[_i] = (byte) _src.dec_ndr_small();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResultTest.java

                UpgradeResult result1 = new UpgradeResult(
                        Set.of(pom1, pom2), // processed
                        Set.of(pom1), // modified
                        Set.of() // errors
                        );
    
                UpgradeResult result2 = new UpgradeResult(
                        Set.of(pom1), // processed (overlap)
                        Set.of(pom1, pom2), // modified (overlap + new)
                        Set.of() // errors
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/io/ByteSink.java

       * bytes encoded with the given {@link Charset charset}.
       */
      public CharSink asCharSink(Charset charset) {
        return new AsCharSink(charset);
      }
    
      /**
       * Opens a new {@link OutputStream} for writing to this sink. This method returns a new,
       * independent stream each time it is called.
       *
       * <p>The caller is responsible for ensuring that the returned stream is closed.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

      // Escapes nothing
      private static final UnicodeEscaper NOP_ESCAPER =
          new UnicodeEscaper() {
            @Override
            protected char @Nullable [] escape(int c) {
              return null;
            }
          };
    
      // Escapes everything except [a-zA-Z0-9]
      private static final UnicodeEscaper SIMPLE_ESCAPER =
          new UnicodeEscaper() {
            @Override
            protected char @Nullable [] escape(int cp) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 6K bytes
    - Click Count (0)
Back to Top