Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 660 for write1 (0.12 sec)

  1. src/os/exec/exec.go

    	// corresponding Writer. In this case, Wait does not complete until the
    	// goroutine reaches EOF or encounters an error or a nonzero WaitDelay
    	// expires.
    	//
    	// If Stdout and Stderr are the same writer, and have a type that can
    	// be compared with ==, at most one goroutine at a time will call Write.
    	Stdout io.Writer
    	Stderr io.Writer
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  2. pkg/volume/secret/secret.go

    			}
    		}
    	}()
    
    	writerContext := fmt.Sprintf("pod %v/%v volume %v", b.pod.Namespace, b.pod.Name, b.volName)
    	writer, err := volumeutil.NewAtomicWriter(dir, writerContext)
    	if err != nil {
    		klog.Errorf("Error creating atomic writer: %v", err)
    		return err
    	}
    
    	setPerms := func(_ string) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/macho_update_uuid.go

    	// to use this UUID flavor than any of the others. This is similar
    	// to how other linkers handle this (for example this code in lld:
    	// https://github.com/llvm/llvm-project/blob/2a3a79ce4c2149d7787d56f9841b66cacc9061d0/lld/MachO/Writer.cpp#L524).
    	rv[6] &= 0xcf
    	rv[6] |= 0x30
    	rv[8] &= 0x3f
    	rv[8] |= 0xc0
    
    	return rv
    }
    
    // machoRewriteUuid copies over the contents of the Macho executable
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. src/testing/testing.go

    func (f matchStringOnly) StartCPUProfile(w io.Writer) error           { return errMain }
    func (f matchStringOnly) StopCPUProfile()                             {}
    func (f matchStringOnly) WriteProfileTo(string, io.Writer, int) error { return errMain }
    func (f matchStringOnly) ImportPath() string                          { return "" }
    func (f matchStringOnly) StartTestLog(io.Writer)                      {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  5. cmd/xl-storage-disk-id-check.go

    	if err == nil || err == io.EOF && n > 0 {
    		d.tracker.logSuccess()
    	}
    	return n, err
    }
    
    func (d *diskHealthWrapper) Write(p []byte) (int, error) {
    	if d.w == nil {
    		return 0, fmt.Errorf("diskHealthWrapper: Write with no writer")
    	}
    	n, err := d.w.Write(p)
    	if err == nil && n == len(p) {
    		d.tracker.logSuccess()
    	}
    	return n, err
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  6. src/runtime/mbitmap.go

    	// to do one or two writes.
    	dst := span.heapBits()
    	o := (x - span.base()) / goarch.PtrSize
    	i := o / ptrBits
    	j := o % ptrBits
    	if j+bits > ptrBits {
    		// Two writes.
    		bits0 := ptrBits - j
    		bits1 := bits - bits0
    		dst[i+0] = dst[i+0]&(^uintptr(0)>>bits0) | (src << j)
    		dst[i+1] = dst[i+1]&^((1<<bits1)-1) | (src >> bits0)
    	} else {
    		// One write.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  7. cmd/bucket-policy-handlers_test.go

    	// its required to write the policies first before running tests on GetBucketPolicy.
    	for i, testPolicy := range putTestPolicies {
    		// obtain the put bucket policy request body.
    		bucketPolicyStr := fmt.Sprintf(bucketPolicyTemplate, testPolicy.bucketName, testPolicy.bucketName)
    		// initialize HTTP NewRecorder, this records any mutations to response writer inside the handler.
    		recV4 := httptest.NewRecorder()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  8. pkg/volume/downwardapi/downwardapi.go

    			}
    		}
    	}()
    
    	writerContext := fmt.Sprintf("pod %v/%v volume %v", b.pod.Namespace, b.pod.Name, b.volName)
    	writer, err := volumeutil.NewAtomicWriter(dir, writerContext)
    	if err != nil {
    		klog.Errorf("Error creating atomic writer: %v", err)
    		return err
    	}
    
    	setPerms := func(_ string) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheState.kt

                write(cacheConfigurations.releasedWrappers.removeUnusedEntriesOlderThan)
                write(cacheConfigurations.snapshotWrappers.removeUnusedEntriesOlderThan)
                write(cacheConfigurations.downloadedResources.removeUnusedEntriesOlderThan)
                write(cacheConfigurations.createdResources.removeUnusedEntriesOlderThan)
                write(cacheConfigurations.buildCache.removeUnusedEntriesOlderThan)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  10. src/runtime/map_fast64.go

    				// Copy key.
    				if t.Key.Pointers() && writeBarrier.enabled {
    					if goarch.PtrSize == 8 {
    						// Write with a write barrier.
    						*(*unsafe.Pointer)(dst.k) = *(*unsafe.Pointer)(k)
    					} else {
    						// There are three ways to squeeze at least one 32 bit pointer into 64 bits.
    						// Give up and call typedmemmove.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top