Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1101 - 1110 of 4,785 for New (0.03 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java

            URL docResource;
            try {
                docResource = new File(myClasspathEntry).toURL();
            } catch (MalformedURLException e) {
                throw new ExpressionDocumentationException(
                        "Cannot construct expression documentation classpath" + " resource base.", e);
            }
    
            return new URLClassLoader(new URL[] {docResource});
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ForwardingSetTest.java

      }
    
      public static Test suite() {
        TestSuite suite = new TestSuite();
    
        suite.addTestSuite(ForwardingSetTest.class);
        suite.addTest(
            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
                      @Override
                      protected Set<String> create(String[] elements) {
                        return new StandardImplForwardingSet<>(Sets.newLinkedHashSet(asList(elements)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/curl/CurlResponse.java

            return parser.apply(this);
        }
    
        public String getContentAsString() {
            final byte[] bytes = new byte[4096];
            try (BufferedInputStream bis = new BufferedInputStream(getContentAsStream());
                    ByteArrayOutputStream baos = new ByteArrayOutputStream()) {
                int length = bis.read(bytes);
                while (length != -1) {
                    if (length != 0) {
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/NullCacheTest.java

        listener = queuingRemovalListener();
      }
    
      public void testGet() {
        Object computed = new Object();
        LoadingCache<Object, Object> cache =
            CacheBuilder.newBuilder()
                .maximumSize(0)
                .removalListener(listener)
                .build(constantLoader(computed));
    
        Object key = new Object();
        assertSame(computed, cache.getUnchecked(key));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/NullCacheTest.java

        listener = queuingRemovalListener();
      }
    
      public void testGet() {
        Object computed = new Object();
        LoadingCache<Object, Object> cache =
            CacheBuilder.newBuilder()
                .maximumSize(0)
                .removalListener(listener)
                .build(constantLoader(computed));
    
        Object key = new Object();
        assertSame(computed, cache.getUnchecked(key));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/CharSinkTest.java

        TestCharSink failSink = new TestCharSink(WRITE_THROWS);
        assertThrows(IOException.class, () -> new TestCharSource(STRING).copyTo(failSink));
        assertTrue(failSink.wasStreamClosed());
      }
    
      public void testClosesOnErrors_whenWritingFromReaderThatThrows() {
        TestCharSink okSink = new TestCharSink();
        assertThrows(IOException.class, () -> okSink.writeFrom(new TestReader(READ_THROWS)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponse.java

                return 0L;
            }
            public String toString() {
                return new String( "SmbQueryFileBasicInfo[" +
                    "createTime=" + new Date( createTime ) +
                    ",lastAccessTime=" + new Date( lastAccessTime ) +
                    ",lastWriteTime=" + new Date( lastWriteTime ) +
                    ",changeTime=" + new Date( changeTime ) +
                    ",attributes=0x" + Hexdump.toHexString( attributes, 4 ) + "]" );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.4K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/Graph.java

            to.parents.remove(from);
        }
    
        List<String> visitAll() {
            return visitAll(vertices.values(), new HashMap<>(), new ArrayList<>());
        }
    
        List<String> findCycle(Vertex vertex) {
            return visitCycle(Collections.singleton(vertex), new HashMap<>(), new LinkedList<>());
        }
    
        private static List<String> visitAll(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

                    }
                  }
                  return true;
                };
        TypeWithDuplicates a = new TypeWithDuplicates(1, 1);
        TypeWithDuplicates b1 = new TypeWithDuplicates(2, 1);
        TypeWithDuplicates b2 = new TypeWithDuplicates(2, 2);
        TypeWithDuplicates c = new TypeWithDuplicates(3, 1);
        CollectorTester.of(collector, equivalence)
            .expectCollects(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/cbean/ca/bs/BsThumbnailQueueCA.java

            ThumbnailQueueCQ cq = new ThumbnailQueueCQ();
            if (queryLambda != null) {
                queryLambda.callback(cq);
            }
            FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
            if (opLambda != null) {
                opLambda.callback(builder);
            }
            if (aggsLambda != null) {
                ThumbnailQueueCA ca = new ThumbnailQueueCA();
                aggsLambda.callback(ca);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 38.6K bytes
    - Viewed (0)
Back to top