Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 159 for conservative (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/vendor/golang.org/x/net/http2/hpack/hpack.go

    			// get too large. All the varint and string
    			// reading code earlier should already catch
    			// overlong things and return ErrStringLength,
    			// but keep this as a last resort.
    			const varIntOverhead = 8 // conservative
    			if d.maxStrLen != 0 && int64(len(d.buf)) > 2*(int64(d.maxStrLen)+varIntOverhead) {
    				return 0, ErrStringLength
    			}
    			d.saveBuf.Write(d.buf)
    			return len(p), nil
    		}
    		d.firstField = false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 14 18:30:34 UTC 2023
    - 14.7K bytes
    - Viewed (0)
Back to top