Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,072 for incremented (0.17 sec)

  1. src/testing/sub_test.go

    }
    
    func (fw *funcWriter) Write(b []byte) (int, error) {
    	return fw.write(b)
    }
    
    func TestRacyOutput(t *T) {
    	var runs int32  // The number of running Writes
    	var races int32 // Incremented for each race detected
    	raceDetector := func(b []byte) (int, error) {
    		// Check if some other goroutine is concurrently calling Write.
    		if atomic.LoadInt32(&runs) > 0 {
    			atomic.AddInt32(&races, 1) // Race detected!
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 21:27:08 UTC 2023
    - 23.8K bytes
    - Viewed (0)
  2. src/text/scanner/scanner.go

    	// Error is called for each error encountered. If no Error
    	// function is set, the error is reported to os.Stderr.
    	Error func(s *Scanner, msg string)
    
    	// ErrorCount is incremented by one for each error encountered.
    	ErrorCount int
    
    	// The Mode field controls which tokens are recognized. For instance,
    	// to recognize Ints, set the ScanInts bit in Mode. The field may be
    	// changed at any time.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  3. src/cmd/go/internal/toolchain/select.go

    	// to the child to confirm that it provides the expected toolchain version.
    	targetEnv = "GOTOOLCHAIN_INTERNAL_SWITCH_VERSION"
    
    	// countEnv is a special environment variable
    	// that is incremented during each toolchain switch, to detect loops.
    	// It is cleared before invoking programs in 'go run', 'go test', 'go generate', and 'go tool'
    	// by invoking them in an environment filtered with FilterEnv,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:25:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  4. pkg/scheduler/internal/cache/cache_test.go

    					cache.nodeTree.numNodes, len(tc.nodes))
    			}
    
    			// Generations are globally unique. We check in our unit tests that they are incremented correctly.
    			expected.Generation = got.info.Generation
    			if diff := cmp.Diff(expected, got.info, cmp.AllowUnexported(framework.NodeInfo{})); diff != "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 01:38:03 UTC 2023
    - 63.8K bytes
    - Viewed (0)
  5. src/go/scanner/scanner.go

    //
    // Calls to [Scanner.Scan] will invoke the error handler err if they encounter a
    // syntax error and err is not nil. Also, for each error encountered,
    // the [Scanner] field ErrorCount is incremented by one. The mode parameter
    // determines how comments are handled.
    //
    // Note that Init may call err if there is an error in the first character
    // of the file.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ppc64/ssa.go

    			p.To.Type = obj.TYPE_MEM
    			p.To.Reg = dstReg
    			p.To.Offset = offset + 48
    
    			// increment the src reg for next iteration
    			p = s.Prog(ppc64.AADD)
    			p.Reg = srcReg
    			p.From.Type = obj.TYPE_CONST
    			p.From.Offset = bytesPerLoop
    			p.To.Type = obj.TYPE_REG
    			p.To.Reg = srcReg
    
    			// increment the dst reg for next iteration
    			p = s.Prog(ppc64.AADD)
    			p.Reg = dstReg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  7. pkg/controller/statefulset/stateful_set_control.go

    // getStatefulSetRevisions returns the current and update ControllerRevisions for set. It also
    // returns a collision count that records the number of name collisions set saw when creating
    // new ControllerRevisions. This count is incremented on every name collision and is used in
    // building the ControllerRevision names for name collision avoidance. This method may create
    // a new revision, or modify the Revision of an existing revision if an update to set is detected.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:03:46 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store.go

    // encrypted values under the same key, but will prevent an attacker from using an
    // encrypted value from a different key. A stronger authenticated data segment would
    // include the etcd3 Version field (which is incremented on each write to a key and
    // reset when the key is deleted), but an attacker with write access to etcd can
    // force deletion and recreation of keys to weaken that angle.
    type authenticatedDataString string
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/asm.go

    		return
    	}
    	switch {
    	case target.Type == obj.TYPE_BRANCH:
    		// JMP 4(PC)
    		*targetAddr = obj.Addr{
    			Type:   obj.TYPE_BRANCH,
    			Offset: p.pc + 1 + target.Offset, // +1 because p.pc is incremented in append, below.
    		}
    	case target.Type == obj.TYPE_REG:
    		// JMP R1
    		*targetAddr = *target
    	case target.Type == obj.TYPE_MEM && (target.Name == obj.NAME_EXTERN || target.Name == obj.NAME_STATIC):
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                // for the initial task...
                // In order to work around that problem, we override the
                // invokeAll method, so that whenever the method is called,
                // the pool core size will be incremented before submitting
                // all the tasks, then the thread will block waiting for all
                // those subtasks to finish.
                // This ensures the number of running workers is no more than
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 16:34:29 UTC 2024
    - 57.1K bytes
    - Viewed (0)
Back to top