Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 65 for chunkOf (0.16 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/controller.go

    type Evaluator interface {
    	// Evaluate takes an operation and checks to see if quota constraints are satisfied.  It returns an error if they are not.
    	// The default implementation processes related operations in chunks when possible.
    	Evaluate(a admission.Attributes) error
    }
    
    type quotaEvaluator struct {
    	quotaAccessor QuotaAccessor
    	// lockAcquisitionFunc acquires any required locks and returns a cleanup method to defer
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Splitter.java

       * {@link Splitter}.
       *
       * @since 10.0
       */
      public static final class MapSplitter {
        private static final String INVALID_ENTRY_MESSAGE = "Chunk [%s] is not a valid entry";
        private final Splitter outerSplitter;
        private final Splitter entrySplitter;
    
        private MapSplitter(Splitter outerSplitter, Splitter entrySplitter) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 23.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Splitter.java

       * {@link Splitter}.
       *
       * @since 10.0
       */
      public static final class MapSplitter {
        private static final String INVALID_ENTRY_MESSAGE = "Chunk [%s] is not a valid entry";
        private final Splitter outerSplitter;
        private final Splitter entrySplitter;
    
        private MapSplitter(Splitter outerSplitter, Splitter entrySplitter) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/inline/inlheur/scoring.go

    	disableDebugTrace()
    }
    
    // scoreCallsRegion assigns numeric scores to each of the callsites in
    // region 'region' within function 'fn'. This can be called on
    // an entire function, or with 'region' set to a chunk of
    // code corresponding to an inlined call.
    func (csa *callSiteAnalyzer) scoreCallsRegion(fn *ir.Func, region ir.Nodes, cstab CallSiteTab, doCallResults bool, ic *ir.InlinedCallExpr) {
    	if debugTrace&debugTraceScoring != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:42:52 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  5. pkg/kubelet/server/server.go

    		return
    	}
    	fw := flushwriter.Wrap(response.ResponseWriter)
    	response.Header().Set("Transfer-Encoding", "chunked")
    	if err := s.host.GetKubeletContainerLogs(ctx, kubecontainer.GetPodFullName(pod), containerName, logOptions, fw, fw); err != nil {
    		response.WriteError(http.StatusBadRequest, err)
    		return
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 40.1K bytes
    - Viewed (0)
  6. src/net/net.go

    }
    
    func releaseThread() {
    	<-threadLimit
    }
    
    // buffersWriter is the interface implemented by Conns that support a
    // "writev"-like batch write optimization.
    // writeBuffers should fully consume and write all chunks from the
    // provided Buffers, else it should report a non-nil error.
    type buffersWriter interface {
    	writeBuffers(*Buffers) (int64, error)
    }
    
    // Buffers contains zero or more runs of bytes to write.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  7. src/net/http/fs.go

    	ctypes, haveType := w.Header()["Content-Type"]
    	var ctype string
    	if !haveType {
    		ctype = mime.TypeByExtension(filepath.Ext(name))
    		if ctype == "" {
    			// read a chunk to decide between utf-8 text and binary
    			var buf [sniffLen]byte
    			n, _ := io.ReadFull(content, buf[:])
    			ctype = DetectContentType(buf[:n])
    			_, err := content.Seek(0, io.SeekStart) // rewind to output whole file
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 17:06:47 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  8. src/runtime/pprof/pprof.go

    		return fmt.Errorf("cpu profiling already in use")
    	}
    	cpu.profiling = true
    	runtime.SetCPUProfileRate(hz)
    	go profileWriter(w)
    	return nil
    }
    
    // readProfile, provided by the runtime, returns the next chunk of
    // binary CPU profiling stack trace data, blocking until data is available.
    // If profiling is turned off and all the profile data accumulated while it was
    // on has been returned, readProfile returns eof=true.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  9. cmd/storage-rest-server.go

    		// Windows can lock up with this optimization, so we fall back to regular copy.
    		sr, ok := rc.(*sendFileReader)
    		if ok {
    			// Sendfile sends in 4MiB chunks per sendfile syscall which is more than enough
    			// for most setups.
    			_, err = rf.ReadFrom(sr.Reader)
    			if !xnet.IsNetworkOrHostDown(err, true) { // do not need to log disconnected clients
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  10. src/cmd/link/internal/loadelf/ldelf.go

    	}
    
    	// load text and data segments into memory.
    	// they are not as small as the section lists, but we'll need
    	// the memory anyway for the symbol images, so we might
    	// as well use one large chunk.
    
    	// create symbols for elfmapped sections
    	sectsymNames := make(map[string]bool)
    	counter := 0
    	for i := 0; uint(i) < elfobj.nsect; i++ {
    		sect = &elfobj.sect[i]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:12:12 UTC 2024
    - 33.9K bytes
    - Viewed (0)
Back to top