Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 798 for NEXT (0.03 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

      private var peekedHeader: DerHeader? = null
    
      private val bytesLeft: Long
        get() = if (limit == -1L) -1L else (limit - byteCount)
    
      fun hasNext(): Boolean = peekHeader() != null
    
      /**
       * Returns the next header to process unless this scope is exhausted.
       *
       * This returns null if:
       *
       *  * The stream is exhausted.
       *  * We've read all of the bytes of an object whose length is known.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/Collections2Test.java

        assertEquals(expectedPermutation, permutations.next());
      }
    
      private <T> void assertNoMorePermutations(Iterator<List<T>> permutations) {
        assertFalse("Expected no more permutations, but there was one.", permutations.hasNext());
        try {
          permutations.next();
          fail("Expected NoSuchElementException.");
        } catch (NoSuchElementException expected) {
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/LinkedHashMultimap.java

            @Override
            public boolean hasNext() {
              checkForComodification();
              return nextEntry != ValueSet.this;
            }
    
            @Override
            @ParametricNullness
            public V next() {
              if (!hasNext()) {
                throw new NoSuchElementException();
              }
              ValueEntry<K, V> entry = (ValueEntry<K, V>) nextEntry;
              V result = entry.getValue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/IncludesArtifactFilter.java

            boolean matched = false;
            for (Iterator<String> i = patterns.iterator(); i.hasNext() & !matched; ) {
                // TODO what about wildcards? Just specifying groups? versions?
                if (id.equals(i.next())) {
                    matched = true;
                }
            }
            return matched;
        }
    
        public List<String> getPatterns() {
            return new ArrayList<>(patterns);
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java

            artifactDependencies = resolver.resolve( project, Collections.singleton( Artifact.SCOPE_RUNTIME ), session );
            assertEquals( 1, artifactDependencies.size() );
            assertEquals( "b", artifactDependencies.iterator().next().getArtifactId() );
        }
        */
    
        @Test
        void testSystemScopeDependencies() throws Exception {
            MavenSession session = createMavenSession(null);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/versioning/ManagedVersionMap.java

            StringBuilder buffer = new StringBuilder("ManagedVersionMap (" + size() + " entries)\n");
            Iterator<String> iter = keySet().iterator();
            while (iter.hasNext()) {
                String key = iter.next();
                buffer.append(key).append('=').append(get(key));
                if (iter.hasNext()) {
                    buffer.append('\n');
                }
            }
            return buffer.toString();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. src/archive/tar/example_test.go

    			log.Fatal(err)
    		}
    	}
    	if err := tw.Close(); err != nil {
    		log.Fatal(err)
    	}
    
    	// Open and iterate through the files in the archive.
    	tr := tar.NewReader(&buf)
    	for {
    		hdr, err := tr.Next()
    		if err == io.EOF {
    			break // End of archive
    		}
    		if err != nil {
    			log.Fatal(err)
    		}
    		fmt.Printf("Contents of %s:\n", hdr.Name)
    		if _, err := io.Copy(os.Stdout, tr); err != nil {
    			log.Fatal(err)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Nov 16 16:54:08 UTC 2017
    - 1.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/graph/MultiEdgesConnecting.java

        return new AbstractIterator<E>() {
          @Override
          @CheckForNull
          protected E computeNext() {
            while (entries.hasNext()) {
              Entry<E, ?> entry = entries.next();
              if (targetNode.equals(entry.getValue())) {
                return entry.getKey();
              }
            }
            return endOfData();
          }
        };
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesTest.groovy

                        }
                    ]
                }
            """])
    
            then:
            changes.acceptedChanges.size() == 1
            def acceptedChange = changes.acceptedChanges.entrySet().iterator().next()
            def change = acceptedChange.key
            change.type == "org.gradle.api.initialization.ConfigurableIncludedBuild"
            change.member == "Implemented interface org.gradle.api.initialization.IncludedBuild"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NtlmHttpURLConnection.java

                StringBuffer value = new StringBuffer();
                Iterator<String> values = property.getValue().iterator();
                while ( values.hasNext() ) {
                    value.append(values.next());
                    if ( values.hasNext() )
                        value.append(", ");
                }
                this.setRequestProperty(key, value.toString());
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 25.5K bytes
    - Viewed (0)
Back to top