Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 700 for dying (0.09 sec)

  1. guava/src/com/google/common/io/ByteStreams.java

       *       between paging memory and killing other processes - so allocating a gigantic buffer and
       *       then sequentially accessing it could result in other processes dying. This is solvable
       *       via madvise(2), but that obviously doesn't exist in java.
       *   <li>Ordinary copy. Kernel copies bytes into a kernel buffer, from a kernel buffer into a
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jan 17 18:59:58 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  2. src/runtime/pprof/pprof.go

    //
    // The predefined profiles may assign meaning to other debug values;
    // for example, when printing the "goroutine" profile, debug=2 means to
    // print the goroutine stacks in the same form that a Go program uses
    // when dying due to an unrecovered panic.
    func (p *Profile) WriteTo(w io.Writer, debug int) error {
    	if p.name == "" {
    		panic("pprof: use of zero Profile")
    	}
    	if p.write != nil {
    		return p.write(w, debug)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  3. src/runtime/runtime2.go

    	id            int64
    	mallocing     int32
    	throwing      throwType
    	preemptoff    string // if != "", keep curg running on this m
    	locks         int32
    	dying         int32
    	profilehz     int32
    	spinning      bool // m is out of work and is actively looking for work
    	blocked       bool // m is blocked on a note
    	newSigstack   bool // minit on C thread called sigaltstack
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  4. src/runtime/proc.go

    		if mp.curg != nil {
    			print(mp.curg.goid)
    		} else {
    			print("nil")
    		}
    		print(" mallocing=", mp.mallocing, " throwing=", mp.throwing, " preemptoff=", mp.preemptoff, " locks=", mp.locks, " dying=", mp.dying, " spinning=", mp.spinning, " blocked=", mp.blocked, " lockedg=")
    		if lockedg := mp.lockedg.ptr(); lockedg != nil {
    			print(lockedg.goid)
    		} else {
    			print("nil")
    		}
    		print("\n")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  5. src/testing/testing.go

    		}()
    
    		doPanic := func(err any) {
    			t.Fail()
    			if r := t.runCleanup(recoverAndReturnPanic); r != nil {
    				t.Logf("cleanup panicked with %v", r)
    			}
    			// Flush the output log up to the root before dying.
    			for root := &t.common; root.parent != nil; root = root.parent {
    				root.mu.Lock()
    				root.duration += highPrecisionTimeSince(root.start)
    				d := root.duration
    				root.mu.Unlock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewrite.go

    	// The register containing x is going to get clobbered.
    	// Don't merge if we still need the value of x.
    	// We don't have liveness information here, but we can
    	// approximate x dying with:
    	//  1) target is x's only use.
    	//  2) target is not in a deeper loop than x.
    	if x.Uses != 1 {
    		return false
    	}
    	loopnest := x.Block.Func.loopnest()
    	loopnest.calculateDepths()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/regalloc.go

    			// Before we pick a register for the output value, allow input registers
    			// to be deallocated. We do this here so that the output can use the
    			// same register as a dying input.
    			if !opcodeTable[v.Op].resultNotInArgs {
    				s.tmpused = s.nospill
    				s.nospill = 0
    				s.advanceUses(v) // frees any registers holding args that are no longer live
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  8. src/os/os_test.go

    	}
    
    	defer func() {
    		if err := cmd.Wait(); err == nil {
    			t.Errorf("Test process succeeded, but expected to fail")
    		}
    		stdin.Close() // Keep stdin alive until the process has finished dying.
    	}()
    
    	// Wait for the process to be started.
    	// (It will close its stdout when it reaches TestMain.)
    	io.Copy(io.Discard, stdout)
    
    	processKiller(cmd.Process)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/DefaultCommandLineToolInvocationWorkerTest.groovy

            when:
            commandLineTool.execute(invocation, null)
    
            then:
            1 * execAction.executable(executable)
            1 * execAction.execute() >> { throw new ExecException("fail") }
            BuildOperationFailure e = thrown()
            e.getMessage().contains('Tool failed while doing something')
    
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/api/errors/errors_test.go

    	}
    	if time, ok := SuggestsClientDelay(NewTooManyRequests("doing something", 10)); time != 10 || !ok {
    		t.Errorf("unexpected %d", time)
    	}
    	if time, ok := SuggestsClientDelay(NewTooManyRequests("doing something", 1)); time != 1 || !ok {
    		t.Errorf("unexpected %d", time)
    	}
    	if time, ok := SuggestsClientDelay(NewGenericServerResponse(429, "get", resource("tests"), "test", "doing something", 10, true)); time != 10 || !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 19.5K bytes
    - Viewed (0)
Back to top