Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 1,195 for IsSource (0.05 seconds)

  1. android/guava/src/com/google/common/io/CharSource.java

          for (CharSource source : sources) {
            if (!source.isEmpty()) {
              return false;
            }
          }
          return true;
        }
    
        @Override
        public Optional<Long> lengthIfKnown() {
          long result = 0L;
          for (CharSource source : sources) {
            Optional<Long> lengthIfKnown = source.lengthIfKnown();
            if (!lengthIfKnown.isPresent()) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  2. guava/src/com/google/common/io/CharSource.java

          for (CharSource source : sources) {
            if (!source.isEmpty()) {
              return false;
            }
          }
          return true;
        }
    
        @Override
        public Optional<Long> lengthIfKnown() {
          long result = 0L;
          for (CharSource source : sources) {
            Optional<Long> lengthIfKnown = source.lengthIfKnown();
            if (!lengthIfKnown.isPresent()) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  3. compat/maven-builder-support/src/test/java/org/apache/maven/building/UrlSourceTest.java

        }
    
        @Test
        void testGetInputStream() throws Exception {
            URL txtFile = new File("target/test-classes/source.txt").toURI().toURL();
            UrlSource source = new UrlSource(txtFile);
            try (InputStream is = source.getInputStream();
                    Scanner scanner = new Scanner(is)) {
                assertEquals("Hello World!", scanner.nextLine());
            }
        }
    
        @Test
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  4. internal/http/headers.go

    	// S3 extensions
    	AmzCopySourceIfModifiedSince   = "x-amz-copy-source-if-modified-since"
    	AmzCopySourceIfUnmodifiedSince = "x-amz-copy-source-if-unmodified-since"
    
    	AmzCopySourceIfNoneMatch = "x-amz-copy-source-if-none-match"
    	AmzCopySourceIfMatch     = "x-amz-copy-source-if-match"
    
    	AmzCopySource                 = "X-Amz-Copy-Source"
    	AmzCopySourceVersionID        = "X-Amz-Copy-Source-Version-Id"
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed May 07 15:37:12 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java

    @Experimental
    public final class Sources {
    
        private Sources() {}
    
        /**
         * Creates a new source for the specified path.
         *
         * @param path the path to the file
         * @return a new Source instance
         * @throws NullPointerException if path is null
         */
        @Nonnull
        public static Source fromPath(@Nonnull Path path) {
            return new PathSource(requireNonNull(path, "path"));
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/plugin/MojoExecution.java

            this.configuration = null;
        }
    
        public MojoExecution(MojoDescriptor mojoDescriptor, String executionId, Source source) {
            this.mojoDescriptor = mojoDescriptor;
            this.executionId = executionId;
            this.configuration = null;
            this.source = source;
        }
    
        public MojoExecution(MojoDescriptor mojoDescriptor, String executionId) {
            this.mojoDescriptor = mojoDescriptor;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6.2K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblem.java

                Severity severity,
                Version version,
                String source,
                int lineNumber,
                int columnNumber,
                String modelId,
                Exception exception) {
            this.message = message;
            this.severity = (severity != null) ? severity : Severity.ERROR;
            this.source = (source != null) ? source : "";
            this.lineNumber = lineNumber;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  8. compat/maven-builder-support/src/main/java/org/apache/maven/building/ProblemCollector.java

        /**
         * The next messages will be bound to this source. When calling this method again, previous messages keep
         * their source, but the next messages will use the new source.
         *
         * @param source a source
         */
        void setSource(String source);
    
        /**
         *
         * @return the collected Problems, never {@code null}
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 15 18:51:29 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  9. internal/dsync/dsync_test.go

    	dm.Lock(id, source)
    	time.Sleep(time.Duration(10+(rand.Float32()*50)) * time.Millisecond)
    	dm.Unlock(t.Context())
    
    	dm.Lock(id, source)
    	time.Sleep(time.Duration(10+(rand.Float32()*50)) * time.Millisecond)
    	dm.Unlock(t.Context())
    
    	dm.Lock(id, source)
    	time.Sleep(time.Duration(10+(rand.Float32()*50)) * time.Millisecond)
    	dm.Unlock(t.Context())
    
    	dm.Lock(id, source)
    	time.Sleep(time.Duration(10+(rand.Float32()*50)) * time.Millisecond)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  10. samples/guide/src/main/java/okhttp3/recipes/Progress.java

          return responseBody.contentLength();
        }
    
        @Override public BufferedSource source() {
          if (bufferedSource == null) {
            bufferedSource = Okio.buffer(source(responseBody.source()));
          }
          return bufferedSource;
        }
    
        private Source source(Source source) {
          return new ForwardingSource(source) {
            long totalBytesRead = 0L;
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Jan 12 03:31:36 GMT 2019
    - 3.9K bytes
    - Click Count (0)
Back to Top