Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 150 for conservative (0.14 sec)

  1. src/runtime/mgcscavenge.go

    	backgroundTime atomic.Int64
    }
    
    const (
    	// It doesn't really matter what value we start at, but we can't be zero, because
    	// that'll cause divide-by-zero issues. Pick something conservative which we'll
    	// also use as a fallback.
    	startingScavSleepRatio = 0.001
    
    	// Spend at least 1 ms scavenging, otherwise the corresponding
    	// sleep time to maintain our desired utilization is too low to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. src/cmd/compile/internal/walk/assign.go

    		ir.OLSH,
    		ir.OMOD,
    		ir.OMUL,
    		ir.ONEG,
    		ir.ONIL,
    		ir.OOR,
    		ir.OOROR,
    		ir.OPAREN,
    		ir.OPLUS,
    		ir.ORSH,
    		ir.OSUB,
    		ir.OXOR:
    		return false
    	}
    
    	// Be conservative.
    	return true
    }
    
    // expand append(l1, l2...) to
    //
    //	init {
    //	  s := l1
    //	  newLen := s.len + l2.len
    //	  // Compare as uint so growslice can panic on overflow.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:09:06 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_op_base.td

    //
    // Note that if the trait is used where this invariant is not true, then this
    // might lead to incorrect execution order, while if not used where it should
    // be, it can only lead to reduced performance due to conservative ordering.
    // Example op where the invariant is not true: `TF_VarHandleOp`.
    def TF_UniqueResourceAllocation: TraitList<[
        TF_ResourceHandleAllocatorInterface,
        NativeOpTrait<"TF::UniqueResourceAllocation">
    ]>;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 30.5K bytes
    - Viewed (0)
  7. src/math/rand/v2/rand_test.go

    	}
    }
    
    func hasSlowFloatingPoint() bool {
    	switch runtime.GOARCH {
    	case "arm":
    		return os.Getenv("GOARM") == "5"
    	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
    - 17.4K bytes
    - Viewed (0)
  8. src/runtime/gc_test.go

    		t.Fatalf("live object not in reachable set; want %b, got %b", want, got)
    	}
    	if bits.OnesCount64(got&^want) > 1 {
    		// Note: we can occasionally have a value that is retained even though
    		// it isn't live, due to conservative scanning of stack frames.
    		// See issue 67204. For now, we allow a "slop" of 1 unintentionally
    		// retained object.
    		t.Fatalf("dead object in reachable set; want %b, got %b", want, got)
    	}
    	runtime.KeepAlive(half)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    		}
    		// We can't figure out the type. Conservative
    		// approach is to assume it has a pointer.
    		return true
    	case *ast.SelectorExpr:
    		if l, ok := t.X.(*ast.Ident); !ok || l.Name != "C" {
    			// Type defined in a different package.
    			// Conservative approach is to assume it has a
    			// pointer.
    			return true
    		}
    		if f == nil {
    			// Conservative approach: assume pointer.
    			return true
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  10. src/go/internal/gcimporter/gcimporter_test.go

    			if err != nil {
    				t.Fatal(err)
    			}
    			if !bytes.HasPrefix(src, []byte("// run")) && !bytes.HasPrefix(src, []byte("// compile")) {
    				// We're bypassing the logic of run.go here, so be conservative about
    				// the files we consider in an attempt to make this test more robust to
    				// changes in test/typeparams.
    				t.Skipf("not detected as a run test")
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 21.9K bytes
    - Viewed (0)
Back to top