Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for conservatively (0.17 sec)

  1. src/cmd/go/internal/toolchain/umask_unix.go

    // It must be called when there are no other file system operations happening.
    func sysWriteBits() fs.FileMode {
    	// Read current umask. There's no way to read it without also setting it,
    	// so set it conservatively and then restore the original one.
    	m := syscall.Umask(0o777)
    	syscall.Umask(m)    // restore bits
    	if m&0o22 == 0o22 { // group and world are unwritable by default
    		return 0o700
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 20 15:44:08 UTC 2023
    - 896 bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/internal/analysisutil/util.go

    			switch {
    			case typVal.IsType():
    				// Type conversion, which is safe.
    			case typVal.IsBuiltin():
    				// Builtin func, conservatively assumed to not
    				// be safe for now.
    				safe = false
    				return false
    			default:
    				// A non-builtin func or method call.
    				// Conservatively assume that all of them have
    				// side effects for now.
    				safe = false
    				return false
    			}
    		case *ast.UnaryExpr:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/analysis/cost_analysis.h

    // size of input tensors. The exception is that ops whose cost is irrelevant to
    // input sizes, such as tf.Shape and tf.Reshape, are whitelisted to have cheap
    // cost. This cost analysis is expected to be used conservatively (eg. use a low
    // threshold to decide whether a cost is cheap or expensive), as it might not be
    // accurate in some cases.
    //
    class CostAnalysis {
     public:
      explicit CostAnalysis(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 03:08:33 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. src/math/trig_reduce.go

    // and 32 trailing zero bits, y should have less than 30 significant bits.
    //
    //	y < 1<<30  -> floor(x*4/Pi) < 1<<30 -> x < (1<<30 - 1) * Pi/4
    //
    // So, conservatively we can take x < 1<<29.
    // Above this threshold Payne-Hanek range reduction must be used.
    const reduceThreshold = 1 << 29
    
    // trigReduce implements Payne-Hanek range reduction by Pi/4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/sigchanyzer/sigchanyzer.go

    		case *ast.Ident:
    			if decl, ok := findDecl(arg).(*ast.CallExpr); ok {
    				chanDecl = decl
    			}
    		case *ast.CallExpr:
    			// Only signal.Notify(make(chan os.Signal), os.Interrupt) is safe,
    			// conservatively treat others as not safe, see golang/go#45043
    			if isBuiltinMake(pass.TypesInfo, arg) {
    				return
    			}
    			chanDecl = arg
    		}
    		if chanDecl == nil || len(chanDecl.Args) != 1 {
    			return
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/mark_input_output_aliases.mlir

    // RUN: tf-opt %s -tf-device-mark-input-output-aliases | FileCheck %s
    
    // The following tests check if the aliasing pairs are conservatively marked
    // correctly. In the following tests tf_device.cluster_func has inputs
    // coming from ReadVariableOp and outputs written to a resource using
    // AssignVariableOp. If a pair of input-output (say input at index `a` and
    // output at index `b`) read and write to the same resource, then those
    // input-output pairs alias each other.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 04:14:26 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/optimizing-performance/file_system_watching.adoc

    If your project files include symlinks, symlinked files do not benefit from file system-watching optimizations.
    --
    
    == Unsupported File Systems
    
    When enabled by default, file system watching acts conservatively when it encounters content on unsupported file systems.
    This can happen if you mount a project directory or subdirectory from a network drive.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 26 16:37:56 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. src/html/template/url.go

    // interaction are considered unsafe. For example, clicking on a "javascript:"
    // link can immediately trigger JavaScript code execution.
    //
    // This filter conservatively assumes that all schemes other than the following
    // are unsafe:
    //   - http:   Navigates to a new website, and may open a new window or tab.
    //     These side effects can be reversed by navigating back to the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 15:48:16 UTC 2022
    - 6.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/cel/library/format.go

    				return []string{"invalid date"}
    			}
    			return nil
    		},
    		// Estimated regex size for RFC3339FullDate which is
    		// a date format. Assume a date-time pattern is longer
    		// so use that to conservatively estimate this
    		MaxRegexSize: len(strfmt.DateTimePattern),
    	},
    	"datetime": {
    		Name: "datetime",
    		ValidateFunc: func(s string) []string {
    			if !strfmt.Default.Validates("datetime", s) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. src/math/cmplx/tan.go

    	// trailing zero bits respectively, t should have less than 30 significant bits.
    	//	t < 1<<30  -> floor(x*(1/Pi)+0.5) < 1<<30 -> x < (1<<30-1) * Pi - 0.5
    	// So, conservatively we can take x < 1<<30.
    	const reduceThreshold float64 = 1 << 30
    	if math.Abs(x) < reduceThreshold {
    		// Use Cody-Waite reduction in three parts.
    		const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 03:16:37 UTC 2020
    - 8.5K bytes
    - Viewed (0)
Back to top