Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 92 for waiters (0.17 sec)

  1. src/cmd/vendor/golang.org/x/telemetry/internal/upload/reports.go

    				if cfg.HasCounter(p.Program, k) && report.X <= cfg.Rate(p.Program, k) {
    					x.Counters[k] = v
    				}
    			}
    			// and the same for Stacks
    			// this can be made more efficient, when it matters
    			for k, v := range p.Stacks {
    				before, _, _ := strings.Cut(k, "\n")
    				if cfg.HasStack(p.Program, before) && report.X <= cfg.Rate(p.Program, before) {
    					x.Stacks[k] = v
    				}
    			}
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. pilot/pkg/config/kube/crdclient/client.go

    	}
    	return meta.GetResourceVersion(), nil
    }
    
    // Patch applies only the modifications made in the PatchFunc rather than doing a full replace. Useful to avoid
    // read-modify-write conflicts when there are many concurrent-writers to the same resource.
    func (cl *Client) Patch(orig config.Config, patchFn config.PatchFunc) (string, error) {
    	modified, patchType := patchFn(orig.DeepCopy())
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 00:12:28 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modfetch/fetch.go

    	// (before 1.16), as well as partially extracted directories (indicated by
    	// DownloadDirPartialError, usually because of a .partial file). This is only
    	// safe to do because the lock file ensures that their writers are no longer
    	// active.
    	parentDir := filepath.Dir(dir)
    	tmpPrefix := filepath.Base(dir) + ".tmp-"
    	if old, err := filepath.Glob(filepath.Join(str.QuoteGlob(parentDir), str.QuoteGlob(tmpPrefix)+"*")); err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  4. src/runtime/export_test.go

    }
    
    // Enqueue simulates enqueuing a waiter for a semaphore (or lock) at addr.
    func (t *SemTable) Enqueue(addr *uint32) {
    	s := acquireSudog()
    	s.releasetime = 0
    	s.acquiretime = 0
    	s.ticket = 0
    	t.semTable.rootFor(addr).queue(addr, s, false)
    }
    
    // Dequeue simulates dequeuing a waiter for a semaphore (or lock) at addr.
    //
    // Returns true if there actually was a waiter to be dequeued.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  5. src/runtime/preempt.go

    // careful that they couldn't actually queue up suspend for each other
    // and then both be suspended. This would also avoid the need for a
    // kernel context switch in the synchronous case because we could just
    // directly schedule the waiter. The context switch is unavoidable in
    // the signal case.
    //
    //go:systemstack
    func suspendG(gp *g) suspendGState {
    	if mp := getg().m; mp.curg != nil && readgstatus(mp.curg) == _Grunning {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/objfile.go

    }
    
    func (w *writer) Reloc(r *Reloc) {
    	o := &w.tmpReloc
    	o.SetOff(r.Off)
    	o.SetSiz(r.Siz)
    	o.SetType(uint16(r.Type))
    	o.SetAdd(r.Add)
    	o.SetSym(makeSymRef(r.Sym))
    	o.Write(w.Writer)
    }
    
    func (w *writer) aux1(typ uint8, rs *LSym) {
    	o := &w.tmpAux
    	o.SetType(typ)
    	o.SetSym(makeSymRef(rs))
    	o.Write(w.Writer)
    }
    
    func (w *writer) Aux(s *LSym) {
    	if s.Gotype != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  7. pilot/pkg/features/pilot.go

    			"cannot be applied to the ExternalName service. "+
    			"If disabled, ExternalName behaves in fairly unexpected manner. Port matters, while it does not in Kubernetes. If it is a TCP port, "+
    			"all traffic on that port will be matched, which can have disastrous consequences. Additionally, the destination is seen as an opaque destination; "+
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. src/runtime/trace.go

    		mToFlush = mp
    	}
    	unlock(&sched.lock)
    
    	// Iterate over our snapshot, flushing every buffer until we're done.
    	//
    	// Because trace writers read the generation while the seqlock is
    	// held, we can be certain that when there are no writers there are
    	// also no stale generation values left. Therefore, it's safe to flush
    	// any buffers that remain in that generation's slot.
    	const debugDeadlock = false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintWriter.kt

        }
    
        private
        class BuildScopedSink(
            host: Host,
            private val writer: ScopedFingerprintWriter<ConfigurationCacheFingerprint>
        ) : Sink(host) {
            override fun write(value: ConfigurationCacheFingerprint, trace: PropertyTrace?) {
                writer.write(value, trace)
            }
    
            fun initScripts(initScripts: List<File>) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  10. src/go/types/instantiate.go

    //
    // For Named types the resulting instance may be unexpanded.
    func (check *Checker) instance(pos token.Pos, orig genericType, targs []Type, expanding *Named, ctxt *Context) (res Type) {
    	// The order of the contexts below matters: we always prefer instances in the
    	// expanding instance context in order to preserve reference cycles.
    	//
    	// Invariant: if expanding != nil, the returned instance will be the instance
    	// recorded in expanding.inst.ctxt.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.8K bytes
    - Viewed (0)
Back to top