Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 131 for getm (0.04 sec)

  1. src/runtime/lockrank_on.go

    			throw("lockRank release without matching lockRank acquire")
    		}
    	})
    
    	releasem(getg().m)
    }
    
    // nosplit because it may be called from nosplit contexts.
    //
    //go:nosplit
    func lockWithRankMayAcquire(l *mutex, rank lockRank) {
    	gp := getg()
    	if gp.m.locksHeldLen == 0 {
    		// No possibility of lock ordering problem if no other locks held
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:29:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. test/chan/powser1.go

    	release <- 0
    }
    
    func put(dat rat, out *dch) {
    	<-out.req
    	out.dat <- dat
    }
    
    func get(in *dch) rat {
    	seqno++
    	in.req <- seqno
    	return <-in.dat
    }
    
    // Get one rat from each of n demand channels
    
    func getn(in []*dch) []rat {
    	n := len(in)
    	if n != 2 {
    		panic("bad n in getn")
    	}
    	req := new([2]chan int)
    	dat := new([2]chan rat)
    	out := make([]rat, 2)
    	var i int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 25 22:22:20 UTC 2020
    - 12.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

          Yellow(Red<B> red) {
            red.super();
          }
    
          Class<?> getClassB() {
            return new TypeToken<B>(getClass()) {}.getRawType();
          }
    
          Red<A> getA() {
            return getSelfA();
          }
    
          Red<B> getB() {
            return getSelfB();
          }
        }
    
        Class<?> getClassDirect() {
          return new TypeToken<A>(getClass()) {}.getRawType();
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

          Yellow(Red<B> red) {
            red.super();
          }
    
          Class<?> getClassB() {
            return new TypeToken<B>(getClass()) {}.getRawType();
          }
    
          Red<A> getA() {
            return getSelfA();
          }
    
          Red<B> getB() {
            return getSelfB();
          }
        }
    
        Class<?> getClassDirect() {
          return new TypeToken<A>(getClass()) {}.getRawType();
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc

      virtual void rewrite(func::FuncOp entry_func_op,
                           const Method& quantization_method,
                           PatternRewriter& rewriter) const = 0;
    };
    
    // Gemm Style Op: glossary/gemm.
    template <typename GemmStyleOp>
    // Match for all gemm_style op and check for possible fusions.
    LogicalResult MatchGemmStyleOp(func::FuncOp entry_func_op) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 06:04:36 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  6. src/runtime/time.go

    	if t.ts != nil {
    		assertLockHeld(&t.ts.mu)
    	}
    	if raceenabled {
    		// Note that we are running on a system stack,
    		// so there is no chance of getg().m being reassigned
    		// out from under us while this function executes.
    		tsLocal := &getg().m.p.ptr().timers
    		if tsLocal.raceCtx == 0 {
    			tsLocal.raceCtx = racegostart(abi.FuncPCABIInternal((*timers).run) + sys.PCQuantum)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 14:36:24 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/accessors.go

    	GetFailurePolicy() *v1.FailurePolicyType
    	// GetMatchPolicy gets the webhook MatchPolicy field.
    	GetMatchPolicy() *v1.MatchPolicyType
    	// GetNamespaceSelector gets the webhook NamespaceSelector field.
    	GetNamespaceSelector() *metav1.LabelSelector
    	// GetObjectSelector gets the webhook ObjectSelector field.
    	GetObjectSelector() *metav1.LabelSelector
    	// GetSideEffects gets the webhook SideEffects field.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. test/chan/powser2.go

    }
    
    func put(dat item, out *dch) {
    	<-out.req
    	out.dat <- dat
    }
    
    func get(in *dch) *rat {
    	seqno++
    	in.req <- seqno
    	return (<-in.dat).(*rat)
    }
    
    // Get one item from each of n demand channels
    
    func getn(in []*dch) []item {
    	n := len(in)
    	if n != 2 {
    		panic("bad n in getn")
    	}
    	req := make([]chan int, 2)
    	dat := make([]chan item, 2)
    	out := make([]item, 2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 25 22:22:20 UTC 2020
    - 13.3K bytes
    - Viewed (0)
  9. src/runtime/os_windows.go

    	if ns < 0 {
    		result = stdcall2(_WaitForSingleObject, getg().m.waitsema, uintptr(_INFINITE))
    	} else {
    		start := nanotime()
    		elapsed := int64(0)
    		for {
    			ms := int64(timediv(ns-elapsed, 1000000, nil))
    			if ms == 0 {
    				ms = 1
    			}
    			result = stdcall4(_WaitForMultipleObjects, 2,
    				uintptr(unsafe.Pointer(&[2]uintptr{getg().m.waitsema, getg().m.resumesema})),
    				0, uintptr(ms))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  10. src/cmd/go/internal/cache/prog.go

    	writeMu sync.Mutex
    }
    
    // ProgCmd is a command that can be issued to a child process.
    //
    // If the interface needs to grow, we can add new commands or new versioned
    // commands like "get2".
    type ProgCmd string
    
    const (
    	cmdGet   = ProgCmd("get")
    	cmdPut   = ProgCmd("put")
    	cmdClose = ProgCmd("close")
    )
    
    // ProgRequest is the JSON-encoded message that's sent from cmd/go to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 19:23:25 UTC 2023
    - 11.8K bytes
    - Viewed (0)
Back to top