Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 711 for copies (0.05 sec)

  1. src/archive/tar/reader.go

    func readGNUSparseMap1x0(r io.Reader) (sparseDatas, error) {
    	var (
    		cntNewline int64
    		buf        bytes.Buffer
    		blk        block
    	)
    
    	// feedTokens copies data in blocks from r into buf until there are
    	// at least cnt newlines in buf. It will not read more blocks than needed.
    	feedTokens := func(n int64) error {
    		for cntNewline < n {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  2. src/cmd/api/main_test.go

    			// - Internal and vendored packages do not contribute to our
    			//   API surface. (If we are running within the "std" module,
    			//   vendored dependencies appear as themselves instead of
    			//   their "vendor/" standard-library copies.)
    			// - 'go list std' does not include commands, which cannot be
    			//   imported anyway.
    			if ip := pkg.ImportPath; pkg.Standard && ip != "unsafe" && !strings.HasPrefix(ip, "vendor/") && !internalPkg.MatchString(ip) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  3. src/bufio/bufio.go

    // The complete result is equal to
    // `bytes.Join(append(fullBuffers, finalFragment), nil)`, which has a
    // length of `totalLen`. The result is structured in this way to allow callers
    // to minimize allocations and copies.
    func (b *Reader) collectFragments(delim byte) (fullBuffers [][]byte, finalFragment []byte, totalLen int, err error) {
    	var frag []byte
    	// Use ReadSlice to look for delim, accumulating full buffers.
    	for {
    		var e error
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 12 14:39:08 UTC 2023
    - 21.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableList.java

       */
      static <E> ImmutableList<E> asImmutableList(Object[] elements) {
        return asImmutableList(elements, elements.length);
      }
    
      /**
       * Views the array as an immutable list. Copies if the specified range does not cover the complete
       * array. Does not check for nulls.
       */
      static <E> ImmutableList<E> asImmutableList(@Nullable Object[] elements, int length) {
        switch (length) {
          case 0:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 19:14:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  5. cmd/erasure-sets.go

    				delErrs[obj.origIndex] = errs[i]
    				delObjects[obj.origIndex] = dobjects[i]
    			}
    		}(s.sets[setIdx], objsGroup)
    	}
    	wg.Wait()
    
    	return delObjects, delErrs
    }
    
    // CopyObject - copies objects from one hashedSet to another hashedSet, on server side.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
  6. docs/changelogs/changelog_3x.md

        Loading the resource using a path relative to the class prevents conflicts
        when the OkHttp classes are relocated (shaded) by allowing multiple private
        copies of the database.
     *  Fix: Accept cookies for URLs that have an IPv6 address for a host.
     *  Fix: Don't log the protocol (HTTP/1.1, h2) in HttpLoggingInterceptor if the
        protocol isn't negotiated yet! Previously we'd log HTTP/1.1 by default, and
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Sets.java

        @SuppressWarnings("nullness") // Unsafe, but we can't fix it now.
        public ImmutableSet<@NonNull E> immutableCopy() {
          return ImmutableSet.copyOf((SetView<@NonNull E>) this);
        }
    
        /**
         * Copies the current contents of this set view into an existing set. This method has equivalent
         * behavior to {@code set.addAll(this)}, assuming that all the sets involved are based on the
         * same notion of equivalence.
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Iterators.java

      }
    
      /**
       * Copies an iterator's elements into an array. The iterator will be left exhausted: its {@code
       * hasNext()} method will return {@code false}.
       *
       * @param iterator the iterator to copy
       * @param type the type of the elements
       * @return a newly-allocated array into which all the elements of the iterator have been copied
       */
      @GwtIncompatible // Array.newInstance(Class, int)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

            segment.expand();
          }
          assertEquals(i, segment.table.length());
          assertEquals(liveCount, countLiveEntries(map, 0));
          // expansion cleanup is sloppy, with a goal of avoiding unnecessary copies
          assertTrue(segment.count >= liveCount);
          assertTrue(segment.count <= originalCount);
          assertEquals(originalMap, ImmutableMap.copyOf(map));
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/LocalCacheTest.java

            segment.expand();
          }
          assertEquals(i, segment.table.length());
          assertEquals(liveCount, countLiveEntries(map, 0));
          // expansion cleanup is sloppy, with a goal of avoiding unnecessary copies
          assertTrue(segment.count >= liveCount);
          assertTrue(segment.count <= originalCount);
          assertEquals(originalMap, ImmutableMap.copyOf(map));
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
Back to top