Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 585 for effects (0.19 sec)

  1. src/os/file_windows.go

    	}
    	attrs := uint32(syscall.FILE_FLAG_BACKUP_SEMANTICS)
    	// Use FILE_FLAG_OPEN_REPARSE_POINT, otherwise CreateFile will follow symlink.
    	// See https://docs.microsoft.com/en-us/windows/desktop/FileIO/symbolic-link-effects-on-file-systems-functions#createfile-and-createfiletransacted
    	attrs |= syscall.FILE_FLAG_OPEN_REPARSE_POINT
    	h, err := syscall.CreateFile(p, 0, 0, nil, syscall.OPEN_EXISTING, attrs, 0)
    	if err != nil {
    		return 0, err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:38:38 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. src/go/types/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.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/cmd/compile/internal/types2/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 IgnoreBranchErrors is set, branch/label errors are ignored.
    	IgnoreBranchErrors bool
    
    	// If go115UsesCgo is set, the type checker expects the
    	// _cgo_gotypes.go file generated by running cmd/cgo to be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:48:53 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top