Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 662 for doPing (0.2 sec)

  1. src/internal/trace/summary.go

    		if ev.Kind() == EventTaskBegin {
    			task.Start = ev
    		} else {
    			task.End = ev
    		}
    		// Initialize the parent, if one exists and it hasn't been done yet.
    		// We need to avoid doing it twice, otherwise we could appear twice
    		// in the parent's Children list.
    		if t.Parent != NoTask && task.Parent == nil {
    			parent := s.getOrAddTask(t.Parent)
    			task.Parent = parent
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  2. src/cmd/go/internal/toolchain/select.go

    	// toolchain version during the toolchain switch by the parent
    	// process and cleared in the child process. When set, that indicates
    	// 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.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:25:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  3. src/io/io.go

    			return n, err
    		}
    	}
    	return
    }
    
    // Discard is a [Writer] on which all Write calls succeed
    // without doing anything.
    var Discard Writer = discard{}
    
    type discard struct{}
    
    // discard implements ReaderFrom as an optimization so Copy to
    // io.Discard can avoid doing unnecessary work.
    var _ ReaderFrom = discard{}
    
    func (discard) Write(p []byte) (int, error) {
    	return len(p), nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:34:10 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/custom-response.md

    3. This `yield from` tells the function to iterate over that thing named `file_like`. And then, for each part iterated, yield that part as coming from this generator function.
    
        So, it is a generator function that transfers the "generating" work to something else internally.
    
        By doing it this way, we can put it in a `with` block, and that way, ensure that it is closed after finishing.
    
    !!! tip
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. src/math/big/natdiv.go

    calls. While in general the number of recursive calls can change the time
    analysis, in this case doing three calls does not change the analysis:
    
    	T(n) = 3T(n/2) + O(n) + O(n^log₂3)
    
    ends up being T(n) = O(n^log₂3). Because the Karatsuba multiplication taking
    time O(n^log₂3) is itself doing 3 half-sized recursions, doing three for the
    division does not hurt the asymptotic performance. Of course, it is likely
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 17:02:38 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  6. src/runtime/traceruntime.go

    	mp := acquirem()
    
    	// Acquire the trace seqlock. This prevents traceAdvance from moving forward
    	// until all Ms are observed to be outside of their seqlock critical section.
    	//
    	// Note: The seqlock is mutated here and also in traceCPUSample. If you update
    	// usage of the seqlock here, make sure to also look at what traceCPUSample is
    	// doing.
    	seq := mp.trace.seqlock.Add(1)
    	if debugTraceReentrancy && seq%2 != 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/liveness/plive.go

    	// treat "dead" writes as equivalent to reads during the analysis;
    	// used only during liveness analysis for stack slot merging (doesn't
    	// make sense for stackmap analysis).
    	conservativeWrites bool
    }
    
    // Map maps from *ssa.Value to StackMapIndex.
    // Also keeps track of unsafe ssa.Values and ssa.Blocks.
    // (unsafe = can't be interrupted during GC.)
    type Map struct {
    	Vals         map[ssa.ID]objw.StackMapIndex
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  8. src/os/file_unix.go

    // methods to stop working.
    // Because file descriptors can be reused, the returned file descriptor may
    // only be closed through the [File.Close] method of f, or by its finalizer during
    // garbage collection. Otherwise, during garbage collection the finalizer
    // may close an unrelated file descriptor with the same (reused) number.
    //
    // As an alternative, see the f.SyscallConn method.
    func (f *File) Fd() uintptr {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/settings.md

    This could be especially useful during testing, as it's very easy to override a dependency with your own custom settings.
    
    ### The config file
    
    Coming from the previous example, your `config.py` file could look like:
    
    ```Python hl_lines="10"
    {!../../../docs_src/settings/app02/config.py!}
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  10. src/crypto/tls/cipher_suites.go

    		panic("tls: internal error: wrong nonce length")
    	}
    	aes, err := aes.NewCipher(key)
    	if err != nil {
    		panic(err)
    	}
    	var aead cipher.AEAD
    	if boring.Enabled {
    		aead, err = boring.NewGCMTLS(aes)
    	} else {
    		boring.Unreachable()
    		aead, err = cipher.NewGCM(aes)
    	}
    	if err != nil {
    		panic(err)
    	}
    
    	ret := &prefixNonceAEAD{aead: aead}
    	copy(ret.nonce[:], noncePrefix)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top