Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 558 for effects (0.21 sec)

  1. src/cmd/compile/internal/types2/instantiate.go

    		// If the signature doesn't use its type parameters, subst
    		// will not make a copy. In that case, make a copy now (so
    		// we can set tparams to nil w/o causing side-effects).
    		if sig == orig {
    			copy := *sig
    			sig = &copy
    		}
    		// After instantiating a generic signature, it is not generic
    		// anymore; we need to set tparams to nil.
    		sig.tparams = nil
    		res = sig
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. src/html/template/js.go

    		v = v.Elem()
    	}
    	return v.Interface()
    }
    
    // jsValEscaper escapes its inputs to a JS Expression (section 11.14) that has
    // neither side-effects nor free variables outside (NaN, Infinity).
    func jsValEscaper(args ...any) string {
    	var a any
    	if len(args) == 1 {
    		a = indirectToJSONMarshaler(args[0])
    		switch t := a.(type) {
    		case JS:
    			return string(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/dep-man/02-declaring-dependency-versions/dependency_locking.adoc

    Note that the value `*:*` is not accepted as it is equivalent to disabling locking.
    
    Ignoring dependencies will have the following effects:
    
    * An ignored dependency applies to all locked configurations. The setting is project scoped.
    * Ignoring a dependency does not mean lock state ignores its transitive dependencies.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 16:55:22 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  4. src/runtime/preempt.go

    			nextYield = nanotime() + yieldDelay
    		}
    		if nanotime() < nextYield {
    			procyield(10)
    		} else {
    			osyield()
    			nextYield = nanotime() + yieldDelay/2
    		}
    	}
    }
    
    // resumeG undoes the effects of suspendG, allowing the suspended
    // goroutine to continue from its current safe-point.
    func resumeG(state suspendGState) {
    	if state.dead {
    		// We didn't actually stop anything.
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  5. src/go/types/api.go

    	// This feature is intended for the standard library cmd/api tool.
    	//
    	// Caution: Effects may be unpredictable due to follow-on errors.
    	//          Do not use casually!
    	FakeImportC bool
    
    	// If go115UsesCgo is set, the type checker expects the
    	// _cgo_gotypes.go file generated by running cmd/cgo to be
    	// provided as a package source file. Qualified identifiers
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. src/log/slog/doc.go

    and hidden fields that refer to state (such as attributes) indirectly. This
    means that modifying a simple copy of a Record (e.g. by calling
    [Record.Add] or [Record.AddAttrs] to add attributes)
    may have unexpected effects on the original.
    Before modifying a Record, use [Record.Clone] to
    create a copy that shares no state with the original,
    or create a new Record with [NewRecord]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 15 14:35:48 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. src/syscall/exec_plan9.go

    		nextfd   int
    		i        int
    		clearenv int
    		envfd    int
    		errbuf   [ERRMAX]byte
    		statbuf  [STATMAX]byte
    		dupdevfd int
    		n        int
    		b        []byte
    	)
    
    	// Guard against side effects of shuffling fds below.
    	// Make sure that nextfd is beyond any currently open files so
    	// that we can't run the risk of overwriting any of them.
    	fd := make([]int, len(attr.Files))
    	nextfd = len(attr.Files)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt

     * the same structure:
     *
     *  * prepare a set of plans, each with a predictable connect delay
     *  * attempt to find a connection
     *  * step through time, asserting that the expected side effects are performed.
     */
    internal class FastFallbackExchangeFinderTest {
      private val taskFaker = TaskFaker()
      private val taskRunner = taskFaker.taskRunner
    
      /**
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 24 04:40:49 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/typecheck/typecheck.go

    		np = &dot.X // peel away method selector
    	}
    
    	// Check for side effects in the callee expression.
    	// We explicitly special case new(T) though, because it doesn't have
    	// observable side effects, and keeping it in place allows better escape analysis.
    	if !ir.Any(*np, func(n ir.Node) bool { return n.Op() != ir.ONEW && callOrChan(n) }) {
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 19:08:34 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/walk/builtin.go

    	"cmd/compile/internal/escape"
    	"cmd/compile/internal/ir"
    	"cmd/compile/internal/reflectdata"
    	"cmd/compile/internal/typecheck"
    	"cmd/compile/internal/types"
    )
    
    // Rewrite append(src, x, y, z) so that any side effects in
    // x, y, z (including runtime panics) are evaluated in
    // initialization statements before the append.
    // For normal code generation, stop there and leave the
    // rest to ssagen.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 22:35:22 UTC 2024
    - 31.2K bytes
    - Viewed (0)
Back to top