Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 241 for copied (5.29 sec)

  1. src/archive/tar/stat_unix.go

    		case "linux":
    			// Copied from golang.org/x/sys/unix/dev_linux.go.
    			major := uint32((dev & 0x00000000000fff00) >> 8)
    			major |= uint32((dev & 0xfffff00000000000) >> 32)
    			minor := uint32((dev & 0x00000000000000ff) >> 0)
    			minor |= uint32((dev & 0x00000ffffff00000) >> 12)
    			h.Devmajor, h.Devminor = int64(major), int64(minor)
    		case "darwin", "ios":
    			// Copied from golang.org/x/sys/unix/dev_darwin.go.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  2. cni/pkg/install/binaries.go

    package install
    
    import (
    	"os"
    	"path/filepath"
    
    	"istio.io/istio/pkg/file"
    	"istio.io/istio/pkg/util/sets"
    )
    
    // Copies/mirrors any files present in a single source dir to N number of target dirs
    // and returns a set of the filenames copied.
    func copyBinaries(srcDir string, targetDirs []string) (sets.String, error) {
    	copiedFilenames := sets.String{}
    	srcFiles, err := os.ReadDir(srcDir)
    	if err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Dec 11 19:10:54 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/ByteStreams.java

          long oldPosition = sourceChannel.position();
          long position = oldPosition;
          long copied;
          do {
            copied = sourceChannel.transferTo(position, ZERO_COPY_CHUNK_SIZE, to);
            position += copied;
            sourceChannel.position(position);
          } while (copied > 0 || position < sourceChannel.size());
          return position - oldPosition;
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  4. cmd/object-handlers_test.go

    			if err != nil {
    				t.Fatalf("Test %d: %s: Failed to fetch the copied object: <ERROR> %s", i+1, instanceType, err)
    			}
    			if _, err = io.Copy(buffer, r); err != nil {
    				r.Close()
    				t.Fatalf("Test %d: %s: Failed to fetch the copied object: <ERROR> %s", i+1, instanceType, err)
    			}
    			r.Close()
    			if !bytes.Equal(testCase.data, buffer.Bytes()) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  5. internal/bucket/object/lock/lock.go

    	// Copy on write
    	dst := metadata
    	var copied bool
    	delKey := func(key string) {
    		if _, ok := metadata[key]; !ok {
    			return
    		}
    		if !copied {
    			dst = make(map[string]string, len(metadata))
    			for k, v := range metadata {
    				dst[k] = v
    			}
    			copied = true
    		}
    		delete(dst, key)
    	}
    	legalHold := GetObjectLegalHoldMeta(metadata)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt

         *
         * ## The file
         *
         * In this case we copy bytes from the file to the [sink].
         *
         * ## The buffer
         *
         * In this case the bytes are immediately copied into [sink] and the number of bytes copied is
         * returned.
         *
         * If upstream would be selected but another thread is already reading upstream this will
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  7. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/CachesCleaner.kt

            fileSystemOperations.removeCachedScripts(workerDir.dir("caches").asFile)
    
            // Remove script caches from TestKit integTest temp dir
            // location defined in TempTestKitDirProvider, copied here
            val testKitTmpDir = File(File(System.getProperty("java.io.tmpdir")), String.format(".gradle-test-kit-%s", System.getProperty("user.name")))
            fileSystemOperations.removeCachedScripts(File(testKitTmpDir, "caches"))
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  8. cmd/api-response.go

    }
    
    // CopyObjectResponse container returns ETag and LastModified of the successfully copied object
    type CopyObjectResponse struct {
    	XMLName      xml.Name `xml:"http://s3.amazonaws.com/doc/2006-03-01/ CopyObjectResult" json:"-"`
    	LastModified string   // time string of format "2006-01-02T15:04:05.000Z"
    	ETag         string   // md5sum of the copied object.
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  9. guava/src/com/google/common/collect/ImmutableMapEntry.java

     * implementations.
     *
     * <p>This base implementation has no key or value pointers, so instances of ImmutableMapEntry (but
     * not its subclasses) can be reused when copied from one ImmutableMap to another.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible // unnecessary
    @ElementTypesAreNonnullByDefault
    class ImmutableMapEntry<K, V> extends ImmutableEntry<K, V> {
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

        // Make sure to get an unmodifiable iterator
        return new MinimalIterable<>(Arrays.asList(elements).iterator());
      }
    
      /**
       * Returns an iterable whose iterator returns the given elements in order. The elements are copied
       * out of the source collection at the time this method is called.
       */
      @SuppressWarnings("unchecked") // Es come in, Es go out
      public static <E extends @Nullable Object> MinimalIterable<E> from(Collection<E> elements) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.2K bytes
    - Viewed (0)
Back to top