Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 96 for gwrite (0.17 sec)

  1. pkg/proxy/nftables/proxier.go

    	if !proxier.isInitialized() {
    		proxier.logger.V(2).Info("Not syncing nftables until Services and Endpoints have been received from master")
    		return
    	}
    
    	//
    	// Below this point we will not return until we try to write the nftables rules.
    	//
    
    	// Keep track of how long syncs take.
    	start := time.Now()
    	defer func() {
    		metrics.SyncProxyRulesLatency.Observe(metrics.SinceInSeconds(start))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go

    	generatedFromIndex = "generated-from-index"
    )
    
    // The state is initialized in PreFilter phase. Because we save the pointer in
    // framework.CycleState, in the later phases we don't need to call Write method
    // to update the value
    type stateData struct {
    	// preScored is true if PreScore was invoked.
    	preScored bool
    
    	// A copy of all claims for the Pod (i.e. 1:1 match with
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:22:37 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  3. src/runtime/mprof.go

    	semrelease(&goroutineProfile.sema)
    	return n, true
    }
    
    // tryRecordGoroutineProfileWB asserts that write barriers are allowed and calls
    // tryRecordGoroutineProfile.
    //
    //go:yeswritebarrierrec
    func tryRecordGoroutineProfileWB(gp1 *g) {
    	if getg().m.p.ptr() == nil {
    		throw("no P available, write barriers are forbidden")
    	}
    	tryRecordGoroutineProfile(gp1, nil, osyield)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    		}
    		if err == nil {
    			raceAcquire(unsafe.Pointer(&ioSync))
    		}
    	}
    	return
    }
    
    func Write(fd int, p []byte) (n int, err error) {
    	if raceenabled {
    		raceReleaseMerge(unsafe.Pointer(&ioSync))
    	}
    	n, err = write(fd, p)
    	if raceenabled && n > 0 {
    		raceReadRange(unsafe.Pointer(&p[0]), n)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  5. src/math/rand/v2/chacha8_test.go

    	}
    	h.Write(buf)
    	if got := h.Sum(nil); !bytes.Equal(got, chacha8hash) {
    		t.Errorf("transcript incorrect: got %x, want %x", got, chacha8hash)
    	}
    
    	p.Seed(chacha8seed)
    	h.Reset()
    
    	buf = make([]byte, chacha8outlen)
    	if _, err := io.ReadFull(iotest.OneByteReader(p), buf); err != nil {
    		t.Errorf("one byte reads: %v", err)
    	}
    	h.Write(buf)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:09:08 UTC 2024
    - 55K bytes
    - Viewed (0)
  6. cmd/admin-handlers-users.go

    			sys:     nil,
    		})
    		if zerr != nil {
    			adminLogIf(ctx, zerr)
    			return nil
    		}
    		header.Method = zip.Deflate
    		zwriter, zerr := zipWriter.CreateHeader(header)
    		if zerr != nil {
    			adminLogIf(ctx, zerr)
    			return nil
    		}
    		if _, err := io.Copy(zwriter, r); err != nil {
    			adminLogIf(ctx, err)
    		}
    		return nil
    	}
    
    	for _, f := range iamExportFiles {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:19:04 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  7. src/runtime/mheap.go

    	free uintptr // free is the index into bits of the next free byte; read/write atomically
    	next *gcBitsArena
    	bits [gcBitsChunkBytes - gcBitsHeaderBytes]gcBits
    }
    
    var gcBitsArenas struct {
    	lock     mutex
    	free     *gcBitsArena
    	next     *gcBitsArena // Read atomically. Write atomically under lock.
    	current  *gcBitsArena
    	previous *gcBitsArena
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  8. src/runtime/malloc.go

    // this way:
    //
    //	1. Stack frame allocation can avoid zeroing altogether.
    //
    //	2. It exhibits better temporal locality, since the program is
    //	   probably about to write to the memory.
    //
    //	3. We don't zero pages that never get reused.
    
    // Virtual memory layout
    //
    // The heap consists of a set of arenas, which are 64MB on 64-bit and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/lib.go

    	// format we don't recognize.
    	unknownObjFormat = false
    
    	theline string
    )
    
    func Lflag(ctxt *Link, arg string) {
    	ctxt.Libdir = append(ctxt.Libdir, arg)
    }
    
    /*
     * Unix doesn't like it when we write to a running (or, sometimes,
     * recently run) binary, so remove the output file before writing it.
     * On Windows 7, remove() can force a subsequent create() to fail.
     * S_ISREG() does not exist on Plan 9.
     */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  10. pkg/kubelet/kuberuntime/kuberuntime_container.go

    	ErrPostStartHook = errors.New("PostStartHookError")
    )
    
    // recordContainerEvent should be used by the runtime manager for all container related events.
    // it has sanity checks to ensure that we do not write events that can abuse our masters.
    // in particular, it ensures that a containerID never appears in an event message as that
    // is prone to causing a lot of distinct events that do not count well.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
Back to top