Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 138 for zero (0.35 sec)

  1. src/sync/rwmutex.go

    // If you make any changes here, see if you should make them there.
    
    // A RWMutex is a reader/writer mutual exclusion lock.
    // The lock can be held by an arbitrary number of readers or a single writer.
    // The zero value for a RWMutex is an unlocked mutex.
    //
    // A RWMutex must not be copied after first use.
    //
    // If any goroutine calls [RWMutex.Lock] while the lock is already held by
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. src/runtime/coro.go

    	if locked {
    		// Detach the goroutine from the thread; we'll attach to the goroutine we're
    		// switching to before returning.
    		gp.lockedm.set(nil)
    	}
    
    	if exit {
    		// The M might have a non-zero OS thread lock count when we get here, gdestroy
    		// will avoid destroying the M if the G isn't explicitly locked to it via lockedm,
    		// which we cleared above. It's fine to gdestroy here also, even when locked to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:18 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. src/os/exec/exec.go

    // A Cmd cannot be reused after calling its [Cmd.Run], [Cmd.Output] or [Cmd.CombinedOutput]
    // methods.
    type Cmd struct {
    	// Path is the path of the command to run.
    	//
    	// This is the only field that must be set to a non-zero
    	// value. If Path is relative, it is evaluated relative
    	// to Dir.
    	Path string
    
    	// Args holds command line arguments, including the command as Args[0].
    	// If the Args field is empty or nil, Run uses {Path}.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

    // TFLite only supports MatrixSetDiag ops with scalar zero k attribute.
    def IsSupportedByTFLiteMatrixSetDiag
      : ElementsAttrBase<And<[ElementsAttr.predicate,
                              IsRankZeroAttr, HasValueZero]>,
                         "MatrixSetDiag attribute verification">;
    
    // Attribute align doesn't matter when k is zero.
    def LegalizeMatrixSetDiag : Pat<
      (TF_MatrixSetDiagV3Op $input, $diagonal,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/build/relnote/links.go

    func isIdentASCII(c byte) bool {
    	// mask is a 128-bit bitmap with 1s for allowed bytes,
    	// so that the byte c can be tested with a shift and an and.
    	// If c > 128, then 1<<c and 1<<(c-64) will both be zero,
    	// and this function will return false.
    	const mask = 0 |
    		(1<<26-1)<<'A' |
    		(1<<26-1)<<'a' |
    		(1<<10-1)<<'0' |
    		1<<'_'
    
    	return ((uint64(1)<<c)&(mask&(1<<64-1)) |
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. src/sync/mutex.go

    package sync
    
    import (
    	"internal/race"
    	"sync/atomic"
    	"unsafe"
    )
    
    // Provided by runtime via linkname.
    func throw(string)
    func fatal(string)
    
    // A Mutex is a mutual exclusion lock.
    // The zero value for a Mutex is an unlocked mutex.
    //
    // A Mutex must not be copied after first use.
    //
    // In the terminology of [the Go memory model],
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. src/runtime/mfinal.go

    // [bufio.Writer], because the buffer would not be flushed at program exit.
    //
    // It is not guaranteed that a finalizer will run if the size of *obj is
    // zero bytes, because it may share same address with other zero-size
    // objects in memory. See https://go.dev/ref/spec#Size_and_alignment_guarantees.
    //
    // It is not guaranteed that a finalizer will run for objects allocated
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. src/sync/pool.go

    	// Since we've disabled preemption, GC cannot happen in between.
    	// Thus here we must observe local at least as large localSize.
    	// We can observe a newer/larger local, it is fine (we must observe its zero-initialized-ness).
    	s := runtime_LoadAcquintptr(&p.localSize) // load-acquire
    	l := p.local                              // load-consume
    	if uintptr(pid) < s {
    		return indexLocal(l, pid), pid
    	}
    	return p.pinSlow()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. pkg/kubelet/kubelet_pods_test.go

    			},
    			v1.PodPending,
    			"init container terminated non-zero",
    		},
    		{
    			&v1.Pod{
    				Spec: desiredState,
    				Status: v1.PodStatus{
    					InitContainerStatuses: []v1.ContainerStatus{
    						waitingStateWithLastTermination("containerX"),
    					},
    				},
    			},
    			v1.PodPending,
    			"init container waiting, terminated zero",
    		},
    		{
    			&v1.Pod{
    				Spec: desiredState,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

                        } else {
                            // This is unexpected. The code probably contains some weird structures. In this case, we just fail the resolution
                            // with zero results.
                            return emptyList()
                        }
                    }
                    qualifiedAccess = receiverExpression
                    classId = outerClassId
                }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 37K bytes
    - Viewed (0)
Back to top