Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 158 for Recycle (0.16 sec)

  1. guava/src/com/google/common/collect/Iterables.java

       * elements.
       *
       * <p>To cycle over the iterable {@code n} times, use the following: {@code
       * Iterables.concat(Collections.nCopies(n, iterable))}
       *
       * <p><b>Java 8+ users:</b> The {@code Stream} equivalent of this method is {@code
       * Stream.generate(() -> iterable).flatMap(Streams::stream)}.
       */
      public static <T extends @Nullable Object> Iterable<T> cycle(final Iterable<T> iterable) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComWrite.java

            this.remaining = remaining;
            this.b = b;
            this.off = off;
            this.count = len;
            this.digest = null; /*
                                 * otherwise recycled commands
                                 * like writeandx will choke if session
                                 * closes in between
                                 */
        }
    
    
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.7K bytes
    - Viewed (0)
  3. api/README

    compatibility.
    
    Starting with go1.19.txt, each API feature line must end in "#nnnnn"
    giving the GitHub issue number of the proposal issue that accepted
    the new API. This helps with our end-of-cycle audit of new APIs.
    The same requirement applies to next/* (described below), which will
    become a go1.XX.txt for XX >= 19.
    
    The next/ directory contains the only files intended to be mutated.
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Jan 31 19:22:50 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/CharSourceTest.java

      }
    
      public void testConcat_infiniteIterable() throws IOException {
        CharSource source = CharSource.wrap("abcd");
        Iterable<CharSource> cycle = Iterables.cycle(ImmutableList.of(source));
        CharSource concatenated = CharSource.concat(cycle);
    
        String expected = "abcdabcd";
    
        // read the first 8 chars manually, since there's no equivalent to ByteSource.slice
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
  5. cmd/callhome.go

    	locker := objAPI.NewNSLock(minioMetaBucket, "callhome/runCallhome.lock")
    	lkctx, err := locker.GetLock(ctx, callhomeLeaderLockTimeout)
    	if err != nil {
    		// lock timedout means some other node is the leader,
    		// cycle back return 'true'
    		return true
    	}
    
    	ctx = lkctx.Context()
    	defer locker.Unlock(lkctx)
    
    	callhomeTimer := time.NewTimer(globalCallhomeConfig.FrequencyDur())
    	defer callhomeTimer.Stop()
    
    	for {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.1K bytes
    - Viewed (1)
  6. maven-artifact/src/main/java/org/apache/maven/artifact/resolver/CyclicDependencyException.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.resolver;
    
    import org.apache.maven.artifact.Artifact;
    
    /**
     * Indicates a cycle in the dependency graph.
     *
     */
    public class CyclicDependencyException extends ArtifactResolutionException {
        private Artifact artifact;
    
        public CyclicDependencyException(String message, Artifact artifact) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/plugin/CycleDetectedInPluginGraphException.java

    public class CycleDetectedInPluginGraphException extends Exception {
        private final Plugin plugin;
    
        public CycleDetectedInPluginGraphException(Plugin plugin, CycleDetectedInComponentGraphException e) {
            super("A cycle was detected in the component graph of the plugin: " + plugin.getArtifactId());
    
            this.plugin = plugin;
        }
    
        public Plugin getPlugin() {
            return plugin;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/CharSourceTest.java

      }
    
      public void testConcat_infiniteIterable() throws IOException {
        CharSource source = CharSource.wrap("abcd");
        Iterable<CharSource> cycle = Iterables.cycle(ImmutableList.of(source));
        CharSource concatenated = CharSource.concat(cycle);
    
        String expected = "abcdabcd";
    
        // read the first 8 chars manually, since there's no equivalent to ByteSource.slice
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java

            this.offset = offset;
            this.remaining = remaining;
            this.b = b;
            this.off = off;
            this.dataLength = len;
            this.digest = null; /*
                                 * otherwise recycled commands
                                 * like writeandx will choke if session
                                 * closes in between
                                 */
        }
    
    
        /**
         * @param writeMode
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.1K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleStarter.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.lifecycle.internal;
    
    import org.apache.maven.execution.MavenSession;
    
    /**
     * Starts the build life cycle
     *
     */
    public interface LifecycleStarter {
    
        void execute(MavenSession session);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:56:36 GMT 2024
    - 1K bytes
    - Viewed (0)
Back to top