Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 601 for much (0.19 sec)

  1. android/guava/src/com/google/common/collect/Iterators.java

       * predicate}, or {@code -1} if the Iterator has no such elements.
       *
       * <p>More formally, returns the lowest index {@code i} such that {@code
       * predicate.apply(Iterators.get(iterator, i))} returns {@code true}, or {@code -1} if there is no
       * such index.
       *
       * <p>If -1 is returned, the iterator will be left exhausted: its {@code hasNext()} method will
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  2. src/bytes/bytes.go

    			// the cutover is about 16 byte skips.
    			// TODO: if large prefixes of sep are matching
    			// we should cutover at even larger average skips,
    			// because Equal becomes that much more expensive.
    			// This code does not take that effect into account.
    			j := bytealg.IndexRabinKarp(s[i:], sep)
    			if j < 0 {
    				return -1
    			}
    			return i + j
    		}
    	}
    	return -1
    }
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Monitor.java

     *     while (value != null) {
     *       wait();
     *     }
     *     value = newValue;
     *     notifyAll();
     *   }
     * }
     * }</pre>
     *
     * <h3>{@code ReentrantLock}</h3>
     *
     * <p>This version is much more verbose than the {@code synchronized} version, and still suffers
     * from the need for the programmer to remember to use {@code while} instead of {@code if}. However,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  4. internal/grid/connection.go

    		var msg []byte
    		for {
    			if atomic.LoadUint32((*uint32)(&c.state)) != StateConnected {
    				cancel(ErrDisconnected)
    				return
    			}
    			if cap(msg) > readBufferSize*4 {
    				// Don't keep too much memory around.
    				msg = nil
    			}
    
    			var err error
    			msg, err = readDataInto(msg, conn, c.side, ws.OpBinary)
    			if err != nil {
    				cancel(ErrDisconnected)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  5. src/cmd/cgo/doc.go

    /*
    Cgo enables the creation of Go packages that call C code.
    
    # Using cgo with the go command
    
    To use cgo write normal Go code that imports a pseudo-package "C".
    The Go code can then refer to types such as C.size_t, variables such
    as C.stdout, or functions such as C.putchar.
    
    If the import of "C" is immediately preceded by a comment, that
    comment, called the preamble, is used as a header when compiling
    the C parts of the package. For example:
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Preconditions.java

     * them, even though they usually won't be needed. If you have such arguments, use the conventional
     * if/throw idiom instead.
     *
     * <p>Depending on your message arguments, memory may be allocated for boxing and varargs array
     * creation. However, the methods of this class have a large number of overloads that prevent such
     * allocations in many common cases.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          // override .get() (since it is final) and therefore this is equivalent to calling .get()
          // and unpacking the exceptions like we do below (just much faster because it is a single
          // field read instead of a read, several branches and possibly creating exceptions).
          Object v = ((AbstractFuture<?>) future).value;
          if (v instanceof Cancellation) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

     */
    // TODO(kak): Consider removing @CanIgnoreReturnValue from this class.
    @J2ktIncompatible
    @GwtIncompatible
    @SuppressWarnings({
      "GuardedBy", // TODO(b/35466881): Fix or suppress.
      "nullness", // too much trouble for the payoff
    })
    // TODO(cpovirk): Annotate for nullness.
    class MapMakerInternalMap<
            K,
            V,
            E extends MapMakerInternalMap.InternalEntry<K, V, E>,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  9. cmd/xl-storage.go

    	formatLegacy := s.formatLegacy
    	s.RUnlock()
    
    	dstBuf, err := xioutil.ReadFile(dstFilePath)
    	if err != nil {
    		// handle situations when dstFilePath is 'file'
    		// for example such as someone is trying to
    		// upload an object such as `prefix/object/xl.meta`
    		// where `prefix/object` is already an object
    		if isSysErrNotDir(err) && runtime.GOOS != globalWindowsOSName {
    			// NOTE: On windows the error happens at
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  10. src/archive/zip/reader_test.go

    // that contains a zip file bigger.zip that contains a zip file
    // big.zip that contains big.file, which contains 2³²-1 zeros.
    // The big.zip file is interesting because it has no zip64 header,
    // much like the innermost zip files in the well-known 42.zip.
    //
    // biggest.zip was generated by changing isZip64 to use > uint32max
    // instead of >= uint32max and then running this program:
    //
    //	package main
    //
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
Back to top