Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1471 - 1480 of 4,816 for newE (0.02 sec)

  1. src/main/java/org/codelibs/curl/io/ContentCache.java

                Files.delete(file.toPath());
            }
        }
    
        public InputStream getInputStream() throws IOException {
            if (file != null) {
                return new FileInputStream(file);
            }
            return new ByteArrayInputStream(data);
        }
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/TestByteSink.java

    /**
     * A byte sink for testing that has configurable behavior.
     *
     * @author Colin Decker
     */
    public class TestByteSink extends ByteSink implements TestStreamSupplier {
    
      private final ByteArrayOutputStream bytes = new ByteArrayOutputStream();
      private final ImmutableSet<TestOption> options;
    
      private boolean outputStreamOpened;
      private boolean outputStreamClosed;
    
      public TestByteSink(TestOption... options) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 15 13:47:32 UTC 2016
    - 1.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/SessionRetargetResponsePacket.java

            if ( in.read(buffer, bufferIndex, this.length) != this.length ) {
                throw new IOException("unexpected EOF reading netbios retarget session response");
            }
            int addr = readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            new NbtAddress(null, addr, false, NbtAddress.B_NODE);
            readInt2(buffer, bufferIndex);
            return this.length;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  4. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ExtensibleEnumProvider.java

    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * An SPI interface to extend Maven with a new enum value.
     *
     * @param <T> The type of extensible enum to extend
     */
    @Experimental
    @Consumer
    public interface ExtensibleEnumProvider<T extends ExtensibleEnum> extends SpiService {
    
        /**
         * Registers new values for the T extensible enum.
         *
         * @return a collection of T instances to register
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/AndArtifactFilterTest.java

    class AndArtifactFilterTest {
    
        private ArtifactFilter newSubFilter() {
            return artifact -> false;
        }
    
        @Test
        void testEquals() {
            AndArtifactFilter filter1 = new AndArtifactFilter();
    
            AndArtifactFilter filter2 = new AndArtifactFilter(Arrays.asList(newSubFilter()));
    
            assertFalse(filter1.equals(null));
            assertTrue(filter1.equals(filter1));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractor.java

            if (mimeTypeHelper == null) {
                throw new CrawlerSystemException("MimeTypeHelper is unavailable.");
            }
            return mimeTypeHelper;
        }
    
        protected ExtractorFactory getExtractorFactory() {
            final ExtractorFactory extractorFactory = crawlerContainer.getComponent("extractorFactory");
            if (extractorFactory == null) {
                throw new CrawlerSystemException("ExtractorFactory is unavailable.");
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                    return new LongItem(buf);
                }
                return new BigIntegerItem(buf);
            }
            return new StringItem(buf, false);
        }
    
        private static String stripLeadingZeroes(String buf) {
            if (buf == null || buf.isEmpty()) {
                return "0";
            }
            for (int i = 0; i < buf.length(); ++i) {
                char c = buf.charAt(i);
                if (c != '0') {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 26K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/util/Hexdump.java

     */ 
        public static String toHexString( int val, int size ) {
            char[] c = new char[size];
            toHexChars( val, c, 0, size );
            return new String( c );
        }
        public static String toHexString( long val, int size ) {
            char[] c = new char[size];
            toHexChars( val, c, 0, size );
            return new String( c );
        }
        public static String toHexString( byte[] src, int srcIndex, int size ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 5.4K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelReader.java

                MavenStaxReader mr = new MavenStaxReader();
                mr.setAddLocationInformation(source != null);
                Model model = new Model(mr.read(parser, strict, source != null ? source.toApiSource() : null));
                return model;
            } catch (XMLStreamException e) {
                Location location = e.getLocation();
                throw new ModelParseException(
                        e.getMessage(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.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)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 46.7K bytes
    - Viewed (0)
Back to top