Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 75 for conservative (0.17 sec)

  1. 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)
  2. src/unicode/letter_test.go

    // relative to the ranges (something before all, in each, between each, after all).
    // This assumes that all possible runes are equally likely.
    // In practice most runes are ASCII so this is a conservative estimate
    // of an effective cutoff value. In practice we could probably set it higher
    // than what this function recommends.
    
    var calibrate = flag.Bool("calibrate", false, "compute crossover for linear vs. binary search")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 09 01:46:03 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/passes/clustering_passes.td

        generated to run on the device for the cluster including:
    
        1. String operations on TPUs.
        2. Operations that don't have a kernel defined for the device.
    
        This pass is conservative in that it will mark all ops for outside compilation
        that can not be compiled for the device.  Exceptions for this are added for ops
        that will be rewritten or decomposed before compiling on device.
    
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/build_xla_ops_pass.cc

          args[e->dst_input()] = Output(e->src(), e->src_output());
        }
      }
    
      // In theory we can use PartitionedCall if the XLA cluster does not have any
      // stateful operations.  However, for now we choose to be conservative since
      // we don't have any evidence that choosing a stateless partitioned call helps
      // for performance.
      ops::StatefulPartitionedCall call(
          root.WithOpName("stateful_partitioned_call"), args, n->output_types(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  5. src/strconv/quote.go

    }
    
    func appendQuotedWith(buf []byte, s string, quote byte, ASCIIonly, graphicOnly bool) []byte {
    	// Often called with big strings, so preallocate. If there's quoting,
    	// this is conservative but still helps a lot.
    	if cap(buf)-len(buf) < len(s) {
    		nBuf := make([]byte, len(buf), len(buf)+1+len(s)+1)
    		copy(nBuf, buf)
    		buf = nBuf
    	}
    	buf = append(buf, quote)
    	for width := 0; len(s) > 0; s = s[width:] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  6. src/go/ast/ast.go

    	}
    	// the list should not be empty in this case;
    	// be conservative and guard against bad ASTs
    	if len(f.List) > 0 {
    		return f.List[0].Pos()
    	}
    	return token.NoPos
    }
    
    func (f *FieldList) End() token.Pos {
    	if f.Closing.IsValid() {
    		return f.Closing + 1
    	}
    	// the list should not be empty in this case;
    	// be conservative and guard against bad ASTs
    	if n := len(f.List); n > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  7. src/math/rand/rand_test.go

    func hasSlowFloatingPoint() bool {
    	switch runtime.GOARCH {
    	case "arm":
    		return os.Getenv("GOARM") == "5" || strings.HasSuffix(os.Getenv("GOARM"), ",softfloat")
    	case "mips", "mipsle", "mips64", "mips64le":
    		// Be conservative and assume that all mips boards
    		// have emulated floating point.
    		// TODO: detect what it actually has.
    		return true
    	}
    	return false
    }
    
    func TestFloat32(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/deadcode.go

    // types into method signatures. Each encountered method is compared
    // against the interface method signatures, if it matches it is marked
    // as reachable. This is extremely conservative, but easy and correct.
    //
    // The third case is handled by looking for functions that compiler flagged
    // as REFLECTMETHOD. REFLECTMETHOD on a function F means that F does a method
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 14:52:41 UTC 2024
    - 19K bytes
    - Viewed (0)
  9. src/runtime/mgclimit.go

    // CPU time and drains with mutator time. Because the bucket fills and
    // drains with time directly (i.e. without any weighting), this effectively
    // sets a very conservative limit of 50%. This limit could be enforced directly,
    // however, but the purpose of the bucket is to accommodate spikes in GC CPU
    // utilization without hurting throughput.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 22:07:41 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  10. src/runtime/heapdump.go

    	if name == "" {
    		name = "unknown function"
    	}
    	dumpstr(name)
    
    	// Dump fields in the outargs section
    	if child.args.n >= 0 {
    		dumpbv(&child.args, child.argoff)
    	} else {
    		// conservative - everything might be a pointer
    		for off := child.argoff; off < child.argoff+child.arglen; off += goarch.PtrSize {
    			dumpint(fieldKindPtr)
    			dumpint(uint64(off))
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top