Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 107 for plek (0.04 sec)

  1. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<String> nonpeek = Lists.newArrayList("a", "b", "c").iterator();
        PeekingIterator<String> peek = Iterators.peekingIterator(nonpeek);
        assertNotSame(peek, nonpeek);
        assertSame(peek, Iterators.peekingIterator(peek));
        assertSame(peek, Iterators.peekingIterator((Iterator<String>) peek));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Iterators.java

       *     Iterators.peekingIterator(Iterators.forArray("a", "b"));
       * String a1 = peekingIterator.peek(); // returns "a"
       * String a2 = peekingIterator.peek(); // also returns "a"
       * String a3 = peekingIterator.next(); // also returns "a"
       * }</pre>
       *
       * <p>Any structural changes to the underlying iteration (aside from those performed by the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  3. mockwebserver/api/mockwebserver3.api

    public abstract class mockwebserver3/Dispatcher {
    	public fun <init> ()V
    	public abstract fun dispatch (Lmockwebserver3/RecordedRequest;)Lmockwebserver3/MockResponse;
    	public fun peek ()Lmockwebserver3/MockResponse;
    	public fun shutdown ()V
    }
    
    public final class mockwebserver3/MockResponse {
    	public static final field Companion Lmockwebserver3/MockResponse$Companion;
    	public fun <init> ()V
    	public fun <init> (I)V
    	public fun <init> (ILokhttp3/Headers;)V
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 03 21:59:45 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/CertificatePinnerKotlinTest.kt

        assertThat(certificatePinner.findMatchingPins("example.com")).isEmpty()
        assertThat(certificatePinner.findMatchingPins("a.b.example.com")).isEmpty()
        assertThat(certificatePinner.findMatchingPins("ple.com")).isEmpty()
        assertThat(certificatePinner.findMatchingPins("com")).isEmpty()
    
        val expectedPin = Pin("*.example.com", certA1Sha256Pin)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. cmd/untar.go

    )
    
    // Max bzip2 concurrency across calls. 50% of GOMAXPROCS.
    var bz2Limiter = pbzip2.CreateConcurrencyPool((runtime.GOMAXPROCS(0) + 1) / 2)
    
    func detect(r *bufio.Reader) format {
    	z, err := r.Peek(4)
    	if err != nil {
    		return formatUnknown
    	}
    	for _, f := range magicHeaders {
    		if bytes.Equal(f.header, z[:len(f.header)]) {
    			return f.f
    		}
    	}
    	return formatUnknown
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 6K bytes
    - Viewed (2)
  6. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

        } finally {
          monitor.leave();
        }
      }
    
      @CanIgnoreReturnValue // pushed down from class to method
      @Override
      public @Nullable E peek() {
        final Monitor monitor = this.monitor;
        monitor.enter();
        try {
          return q.peek();
        } finally {
          monitor.leave();
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 07 21:36:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java

            classStack.push(currentClass);
            action.run();
            classStack.pop();
        }
    
        private ClassMetaData getCurrentClass() {
            return classStack.peek();
        }
    
        private void visitExtendedTypes(NodeWithExtends<?> node) {
            ClassMetaData currentClass = getCurrentClass();
            for (ClassOrInterfaceType extendedType : node.getExtendedTypes()) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

            if (method.changeStatus == JApiChangeStatus.REMOVED) {
                return false
            }
            // @Override has source retention - so we need to peek into the sources
            return repository.isOverride(method)
        }
    
        Violation acceptOrReject(JApiCompatibility member, Violation rejection) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:30:48 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. src/archive/tar/writer.go

    	} else if name[length-1] == '/' {
    		length--
    	}
    
    	i := strings.LastIndex(name[:length], "/")
    	nlen := len(name) - i - 1 // nlen is length of suffix
    	plen := i                 // plen is length of prefix
    	if i <= 0 || nlen > nameSize || nlen == 0 || plen > prefixSize {
    		return "", "", false
    	}
    	return name[:i], name[i+1:], true
    }
    
    // Write writes to the current file in the tar archive.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 14:22:59 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/TreeTraverser.java

          this.queue = new ArrayDeque<>();
          queue.add(root);
        }
    
        @Override
        public boolean hasNext() {
          return !queue.isEmpty();
        }
    
        @Override
        public T peek() {
          return queue.element();
        }
    
        @Override
        public T next() {
          T result = queue.remove();
          Iterables.addAll(queue, children(result));
          return result;
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top