Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for createHeader (0.17 sec)

  1. src/cmd/distpack/pack.go

    		return flate.NewWriter(out, flate.BestCompression)
    	})
    	for _, f = range a.Files {
    		h := check(zip.FileInfoHeader(f.Info()))
    		h.Name = f.Name
    		h.Method = zip.Deflate
    		w := check(zw.CreateHeader(h))
    		r := check(os.Open(f.Src))
    		check(io.Copy(w, r))
    		check1(r.Close())
    	}
    	f.Name = ""
    	check1(zw.Close())
    	check1(out.Close())
    	reportHash(name)
    }
    
    func reportHash(name string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. cmd/admin-bucket-handlers.go

    			size:    int64(sz),
    			mode:    0o600,
    			modTime: time.Now(),
    			isDir:   false,
    			sys:     nil,
    		})
    		if zerr == nil {
    			header.Method = zip.Deflate
    			zwriter, zerr := zipWriter.CreateHeader(header)
    			if zerr == nil {
    				io.Copy(zwriter, r)
    			}
    		}
    	}
    
    	cfgFiles := []string{
    		bucketPolicyConfig,
    		bucketNotificationConfig,
    		bucketLifecycleConfig,
    		bucketSSEConfig,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  3. platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/controller/DefaultBuildCacheController.java

            private BuildCacheLoadResult doUnpack(CacheableEntity entity, InputStream input) throws IOException {
                BuildCacheEntryPacker.UnpackResult unpackResult = packer.unpack(entity, input, originMetadataFactory.createReader());
                // TODO: Update the snapshots from the action
                ImmutableSortedMap<String, FileSystemSnapshot> resultingSnapshots = snapshotUnpackedData(entity, unpackResult.getSnapshots());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 08:29:47 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testcshared/cshared_test.go

    	t.Helper()
    	// This function is run in parallel, so append to a copy of cc
    	// rather than cc itself.
    	return run(t, nil, append(append([]string(nil), cc...), args...)...)
    }
    
    func createHeaders() error {
    	// The 'cgo' command generates a number of additional artifacts,
    	// but we're only interested in the header.
    	// Shunt the rest of the outputs to a temporary directory.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 21K bytes
    - Viewed (0)
Back to top