Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for newGoal (0.14 sec)

  1. src/cmd/compile/internal/base/base.go

    				if logHeapTweaks {
    					// Check that the new goal looks right
    					inUse := sample[ALLOCS].Value.Uint64() - sample[FREES].Value.Uint64()
    					metrics.Read(sample)
    					newGoal := sample[GOAL].Value.Uint64()
    					pctOff := 100 * (int64(newGoal) - int64(requestedHeapGoal)) / int64(requestedHeapGoal)
    					// Check that the new goal is close to requested.  3% of make.bash fails this test.  Why, TBD.
    					if pctOff < 2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:18:34 UTC 2023
    - 8K bytes
    - Viewed (0)
  2. src/runtime/mgcpacer.go

    	// Start with the goal calculated for gcPercent.
    	goal = c.gcPercentHeapGoal.Load()
    
    	// Check if the memory-limit-based goal is smaller, and if so, pick that.
    	if newGoal := c.memoryLimitHeapGoal(); newGoal < goal {
    		goal = newGoal
    	} else {
    		// We're not limited by the memory limit goal, so perform a series of
    		// adjustments that might move the goal forward in a variety of circumstances.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  3. src/mdo/transformer.vm

            List<${field.to}> newVal = transform(oldVal, this::transform${field.to});
            return newVal != oldVal ? (builder != null ? builder : creator.get()).${field.name}(newVal) : builder;
          #elseif ( $field.type == "DOM" )
            XmlNode oldVal = target.get${capField}();
            XmlNode newVal = transform(oldVal);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Apr 03 17:49:40 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. pkg/test/framework/components/authz/server.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	return s
    }
    
    // NewLocal does not deploy a new server, but instead configures Istio
    // to allow calls to a local authz server running as a sidecar to the echo
    // app.
    func NewLocal(ctx resource.Context, ns namespace.Instance) (Server, error) {
    	return newLocalKubeServer(ctx, ns)
    }
    
    // NewLocalOrFail calls NewLocal and fails if an error occurs.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 14 23:39:05 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  5. test/typeparam/issue47713.go

    	Key string
    	Value T
    }
    
    func (g GenericSerializable[T]) Send() {
    	out, err := g.Value.MarshalBinary()
    	if err != nil {
    		panic("bad")
    	}
    	var newval SerDeString
    	newval.UnmarshalBinary(out)
    	fmt.Printf("Sent %s\n", newval)
    }
    
    func main() {
    	val := SerDeString("asdf")
    	x := GenericSerializable[*SerDeString]{
    		Value: &val,
    	}
    	x.Send()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 888 bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testplugin/testdata/plugin2/plugin2.go

    	X string
    }
    
    type sameNameHolder struct {
    	F *sameNameReusedInPlugins
    }
    
    func UnexportedNameReuse() {
    	h := sameNameHolder{}
    	v := reflect.ValueOf(&h).Elem().Field(0)
    	newval := reflect.New(v.Type().Elem())
    	v.Set(newval)
    }
    
    func main() {
    	panic("plugin1.main called")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 796 bytes
    - Viewed (0)
  7. pkg/apis/batch/v1beta1/defaults_test.go

    					Suspend:                    newBool(true),
    					SuccessfulJobsHistoryLimit: utilpointer.Int32(5),
    					FailedJobsHistoryLimit:     utilpointer.Int32(5),
    				},
    			},
    			expected: &batchv1beta1.CronJob{
    				Spec: batchv1beta1.CronJobSpec{
    					ConcurrencyPolicy:          batchv1beta1.ForbidConcurrent,
    					Suspend:                    newBool(true),
    					SuccessfulJobsHistoryLimit: utilpointer.Int32(5),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 08 12:14:37 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/xla_inline_device_ops.cc

      // This is the last op, should be tf_device::ReturnOp.
      assert(mlir::isa<mlir::tf_device::ReturnOp>(return_op));
    
      Value old_val, new_val;
      for (auto it : llvm::zip(cluster_op.getResults(), return_op.getOperands())) {
        std::tie(old_val, new_val) = it;
        old_val.replaceAllUsesExcept(new_val, &return_op);
      }
    
      cluster_op.erase();
    }
    
    void XlaInlineDeviceOpsPass::runOnOperation() {
      ModuleOp module = getOperation();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 04 00:59:46 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testplugin/testdata/plugin1/plugin1.go

    	X string
    }
    
    type sameNameHolder struct {
    	F *sameNameReusedInPlugins
    }
    
    func UnexportedNameReuse() {
    	h := sameNameHolder{}
    	v := reflect.ValueOf(&h).Elem().Field(0)
    	newval := reflect.New(v.Type().Elem())
    	v.Set(newval)
    }
    
    func main() {
    	panic("plugin1.main called")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 820 bytes
    - Viewed (0)
  10. pkg/proxy/util/utils.go

    func EnsureSysctl(sysctl utilsysctl.Interface, name string, newVal int) error {
    	if oldVal, _ := sysctl.GetSysctl(name); oldVal != newVal {
    		if err := sysctl.SetSysctl(name, newVal); err != nil {
    			return fmt.Errorf("can't set sysctl %s to %d: %v", name, newVal, err)
    		}
    		klog.V(1).InfoS("Changed sysctl", "name", name, "before", oldVal, "after", newVal)
    	}
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 11:57:43 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top