Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for copyLen (0.09 sec)

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

          InternalEntry<Object, Object, ?> copyOne = segment.copyForTesting(entryOne, null);
          assertSame(keyOne, entryOne.getKey());
          assertEquals(hashOne, entryOne.getHash());
          assertNull(entryOne.getNext());
          assertSame(valueOne, copyOne.getValue());
    
          InternalEntry<Object, Object, ?> copyTwo = segment.copyForTesting(entryTwo, copyOne);
          assertSame(keyTwo, copyTwo.getKey());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

          InternalEntry<Object, Object, ?> copyOne = segment.copyForTesting(entryOne, null);
          assertSame(keyOne, entryOne.getKey());
          assertEquals(hashOne, entryOne.getHash());
          assertNull(entryOne.getNext());
          assertSame(valueOne, copyOne.getValue());
    
          InternalEntry<Object, Object, ?> copyTwo = segment.copyForTesting(entryTwo, copyOne);
          assertSame(keyTwo, copyTwo.getKey());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  3. src/archive/tar/reader.go

    		var nf int64 // Size of fragment
    		holeStart, holeEnd := sr.sp[0].Offset, sr.sp[0].endOffset()
    		if sr.pos < holeStart { // In a data fragment
    			nf = holeStart - sr.pos
    			nf, err = io.CopyN(ws, sr.fr, nf)
    		} else { // In a hole fragment
    			nf = holeEnd - sr.pos
    			if sr.physicalRemaining() == 0 {
    				writeLastByte = true
    				nf--
    			}
    			_, err = ws.Seek(nf, io.SeekCurrent)
    		}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  4. cmd/admin-handlers-site-replication.go

    	ctx := r.Context()
    
    	globalSiteNetPerfRX.Connect()
    	defer globalSiteNetPerfRX.Disconnect()
    
    	connectTime := time.Now()
    	for {
    		n, err := io.CopyN(xioutil.Discard, r.Body, 128*humanize.KiByte)
    		atomic.AddUint64(&globalSiteNetPerfRX.RX, uint64(n))
    		if err != nil && err != io.EOF && err != io.ErrUnexpectedEOF {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  5. src/archive/tar/writer.go

    			if sw.physicalRemaining() == 0 {
    				readLastByte = true
    				nf--
    			}
    			_, err = rs.Seek(nf, io.SeekCurrent)
    		} else { // In a data fragment
    			nf = dataEnd - sw.pos
    			nf, err = io.CopyN(sw.fw, rs, nf)
    		}
    		sw.pos += nf
    		if sw.pos >= dataEnd && len(sw.sp) > 1 {
    			sw.sp = sw.sp[1:] // Ensure last fragment always remains
    		}
    	}
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 14:22:59 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  6. src/archive/zip/zip_test.go

    				Method: Store,
    			})
    			if err != nil {
    				t.Fatal(err)
    			}
    			f.(*fileWriter).crc32 = fakeHash32{}
    			size := wantOff - fileHeaderLen - uint64(len(filename)) - dataDescriptorLen
    			if _, err := io.CopyN(f, zeros{}, int64(size)); err != nil {
    				t.Fatal(err)
    			}
    			if err := w.Close(); err != nil {
    				t.Fatal(err)
    			}
    		}
    	}
    	t.Run("uint32max-2_NoZip64", func(t *testing.T) {
    		t.Parallel()
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top