Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 75 for conservative (0.16 sec)

  1. src/internal/abi/type.go

    	TraceArgsMaxDepth = 5  // no more than 5 layers of nesting
    
    	// maxLen is a (conservative) upper bound of the byte stream length. For
    	// each arg/component, it has no more than 2 bytes of data (size, offset),
    	// and no more than one {, }, ... at each level (it cannot have both the
    	// data and ... unless it is the last one, just be conservative). Plus 1
    	// for _endSeq.
    	TraceArgsMaxLen = (TraceArgsMaxDepth*3+2)*TraceArgsLimit + 1
    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  2. cmd/metacache-walk.go

    		}
    
    		// Process in sort order.
    		sort.Strings(entries)
    		dirStack := make([]string, 0, 5)
    		prefix = "" // Remove prefix after first level as we have already filtered the list.
    		if len(forward) > 0 {
    			// Conservative forwarding. Entries may be either objects or prefixes.
    			for i, entry := range entries {
    				if entry >= forward || strings.HasPrefix(forward, entry) {
    					entries = entries[i:]
    					break
    				}
    			}
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 01 05:17:37 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testplugin/plugin_test.go

    }
    
    // escape converts a string to something suitable for a shell command line.
    func escape(s string) string {
    	s = strings.Replace(s, "\\", "\\\\", -1)
    	s = strings.Replace(s, "'", "\\'", -1)
    	// Conservative guess at characters that will force quoting
    	if s == "" || strings.ContainsAny(s, "\\ ;#*&$~?!|[]()<>{}`") {
    		s = "'" + s + "'"
    	}
    	return s
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/RegularImmutableMap.java

          new RegularImmutableMap<>((Entry<Object, Object>[]) ImmutableMap.EMPTY_ENTRY_ARRAY, null, 0);
    
      /**
       * Closed addressing tends to perform well even with high load factors. Being conservative here
       * ensures that the table is still likely to be relatively sparse (hence it misses fast) while
       * saving space.
       */
      @VisibleForTesting static final double MAX_LOAD_FACTOR = 1.2;
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/xla_tpu_device.cc

        // The input must remain alive until the transfer completes, so we keep a
        // reference. We also wait until the transfer completes before calling
        // done().
        // The latter may be too conservative, but given the host is involved in
        // waiting for the transfer to complete anyway there is probably little
        // downside. If we were to add the ability for computations to wait directly
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 22:53:47 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/builtins.go

    					}
    				}
    				toFloat(x)
    				toFloat(y)
    			} else {
    				check.convertUntyped(x, Typ[Float64])
    				check.convertUntyped(y, Typ[Float64])
    				// x and y should be invalid now, but be conservative
    				// and check below
    			}
    		}
    		if x.mode == invalid || y.mode == invalid {
    			return
    		}
    
    		// both argument types must be identical
    		if !Identical(x.typ, y.typ) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  7. src/runtime/preempt.go

    // 2. Synchronous safe-points occur when a running goroutine checks
    //    for a preemption request.
    //
    // 3. Asynchronous safe-points occur at any instruction in user code
    //    where the goroutine can be safely paused and a conservative
    //    stack and register scan can find stack roots. The runtime can
    //    stop a goroutine at an async safe-point using a signal.
    //
    // At both blocked and synchronous safe-points, a goroutine's CPU
    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. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_merge_variables_with_execute.cc

        const llvm::SmallDenseSet<int64_t>& resource_ids,
        bool previous_unknown_resource_access) {
      // If we had any unknown resource access before, then we conservatively assume
      // that `resource` has been accessed before.
      // If `resource` is an unknown resource, then we conservatively assume that
      // the same resource has been accessed before.
      if (previous_unknown_resource_access ||
          resource_analysis_info.IsUnknownResource(resource))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 17:52:11 UTC 2024
    - 27K bytes
    - Viewed (0)
  9. src/go/types/builtins.go

    					}
    				}
    				toFloat(x)
    				toFloat(y)
    			} else {
    				check.convertUntyped(x, Typ[Float64])
    				check.convertUntyped(y, Typ[Float64])
    				// x and y should be invalid now, but be conservative
    				// and check below
    			}
    		}
    		if x.mode == invalid || y.mode == invalid {
    			return
    		}
    
    		// both argument types must be identical
    		if !Identical(x.typ, y.typ) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  10. src/net/http/cookiejar/jar.go

    func isIP(host string) bool {
    	if strings.ContainsAny(host, ":%") {
    		// Probable IPv6 address.
    		// Hostnames can't contain : or %, so this is definitely not a valid host.
    		// Treating it as an IP is the more conservative option, and avoids the risk
    		// of interpreting ::1%.www.example.com as a subdomain of www.example.com.
    		return true
    	}
    	return net.ParseIP(host) != nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top