Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 32 for avoiding (0.19 sec)

  1. internal/grid/connection.go

    		// Append as byte slices.
    		for _, q := range queue {
    			toSend = msgp.AppendBytes(toSend, q)
    			PutByteBuffer(q)
    		}
    		queue = queue[:0]
    		queueSize = 0
    
    		// Combine writes.
    		// Consider avoiding buffer copy.
    		buf.Reset()
    		err = wsw.writeMessage(&buf, c.side, ws.OpBinary, toSend)
    		if err != nil {
    			if !xnet.IsNetworkOrHostDown(err, true) {
    				gridLogIf(ctx, fmt.Errorf("ws writeMessage: %w", err))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/ppc64/obj9.go

    				// space to save the LR.
    				autosize += int32(c.ctxt.Arch.FixedFrameSize)
    			}
    
    			if p.Mark&LEAF != 0 && autosize < abi.StackSmall {
    				// A leaf function with a small stack can be marked
    				// NOSPLIT, avoiding a stack check.
    				p.From.Sym.Set(obj.AttrNoSplit, true)
    			}
    
    			p.To.Offset = int64(autosize)
    
    			q = p
    
    			if NeedTOCpointer(c.ctxt) && !isNOTOCfunc(c.cursym.Name) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    	"k8s.io/kubernetes/pkg/kubelet/util/format"
    	sc "k8s.io/kubernetes/pkg/securitycontext"
    )
    
    const (
    	// The api version of kubelet runtime api
    	kubeRuntimeAPIVersion = "0.1.0"
    	// A minimal shutdown window for avoiding unnecessary SIGKILLs
    	minimumGracePeriodInSeconds = 2
    
    	// The expiration time of version cache.
    	versionCacheTTL = 60 * time.Second
    	// How frequently to report identical errors
    	identicalErrorDelay = 1 * time.Minute
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  4. src/runtime/traceback.go

    // Even if this is stack-allocated, its pointer-receiver methods don't know that
    // their receiver is on the stack, so they still emit write barriers. Here we
    // address that by carefully avoiding any pointers in this type. Another
    // approach would be to split this into a mutable part that's passed by pointer
    // but contains no pointers itself and an immutable part that's passed and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool.go

    		// of view if we simply do a GetObjectInfo() on this prefix by treating it as an object
    		// We save a lot of calls over the network.
    		//
    		// This happens repeatedly for all objects that are created concurrently() avoiding this
    		// as a List() call is an important performance improvement.
    		//
    		// Spark based s3a committers are a  big enough use-case to have this optimization.
    		//
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modload/init.go

    		return
    	}
    
    	if err := fsys.Init(base.Cwd()); err != nil {
    		base.Fatal(err)
    	}
    
    	// Disable any prompting for passwords by Git.
    	// Only has an effect for 2.3.0 or later, but avoiding
    	// the prompt in earlier versions is just too hard.
    	// If user has explicitly set GIT_TERMINAL_PROMPT=1, keep
    	// prompting.
    	// See golang.org/issue/9341 and golang.org/issue/12706.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  7. src/cmd/cgo/gcc.go

    					// the value as an integer constant,
    					// but not as a general constant.
    					// Treat this as a variable of the
    					// appropriate type, not a constant,
    					// to get C-style type handling,
    					// avoiding the problem that C permits
    					// uint64(-1) but Go does not.
    					// See issue 26066.
    					n.Kind = "var"
    				default:
    					n.Const = fmt.Sprintf("%f", floats[i])
    				}
    			case "sconst":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    				"[[1], [2]].indexOf([1]) == 0",
    				"[{'a': 1}, {'b': 2}].lastIndexOf({'b': 2}) == 1",
    				"self.objs.indexOf(self.objs[1]) == 1",
    				"self.objs.lastIndexOf(self.objs[1]) == 2",
    
    				// avoiding empty list error with min and max by appending an acceptable default minimum value
    				"([0] + self.emptyInts).min() == 0",
    
    				// handle CEL's dynamic dispatch appropriately (special cases to handle an empty list)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  9. pkg/kubelet/kubelet.go

    				continue
    			}
    			// Static pods should be reconciled the same way as regular pods
    		}
    
    		// TODO: reconcile being calculated in the config manager is questionable, and avoiding
    		// extra syncs may no longer be necessary. Reevaluate whether Reconcile and Sync can be
    		// merged (after resolving the next two TODOs).
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/generic.rules

    // When rewriting append to growslice, we use as the new length the result of
    // growslice so that we don't have to spill/restore the new length around the growslice call.
    // The exception here is that if the new length is a constant, avoiding spilling it
    // is pointless and its constantness is sometimes useful for subsequent optimizations.
    // See issue 56440.
    // Note there are 2 rules here, one for the pre-decomposed []T result and one for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
Back to top