Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for Xacc (0.19 sec)

  1. src/internal/trace/gc.go

    	}
    
    	if len(acc.wHeap) < acc.nWorst {
    		// We don't have N windows yet, so keep accumulating.
    		acc.bound = 1.0
    	} else {
    		// Anything above the least worst window has no effect.
    		acc.bound = math.Max(acc.bound, acc.wHeap[0].MutatorUtil)
    	}
    
    	if acc.mud != nil {
    		if acc.lastTime != math.MaxInt64 {
    			// Update distribution.
    			acc.mud.add(acc.lastMU, mu, float64(time-acc.lastTime))
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 26K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/cpumanager/cpu_assignment.go

    	//    Otherwise pull from sockets first.
    	acc.numaOrSocketsFirst.takeFullFirstLevel()
    	if acc.isSatisfied() {
    		return acc.result, nil
    	}
    	acc.numaOrSocketsFirst.takeFullSecondLevel()
    	if acc.isSatisfied() {
    		return acc.result, nil
    	}
    
    	// 2. Acquire whole cores, if available and the container requires at least
    	//    a core's-worth of CPUs.
    	acc.takeFullCores()
    	if acc.isSatisfied() {
    		return acc.result, nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 25 23:56:21 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/cpumanager/cpu_assignment_test.go

    		t.Run(tc.description, func(t *testing.T) {
    			acc := newCPUAccumulator(tc.topo, tc.availableCPUs, tc.numCPUs)
    			totalTaken := 0
    			for _, cpus := range tc.takeCPUs {
    				acc.take(cpus)
    				totalTaken += cpus.Size()
    			}
    			if tc.expectSatisfied != acc.isSatisfied() {
    				t.Errorf("expected acc.isSatisfied() to be %t", tc.expectSatisfied)
    			}
    			if tc.expectFailed != acc.isFailed() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 17:31:37 UTC 2023
    - 22.7K bytes
    - Viewed (0)
  4. src/math/big/float.go

    }
    
    // Mode returns the rounding mode of x.
    func (x *Float) Mode() RoundingMode {
    	return x.mode
    }
    
    // Acc returns the accuracy of x produced by the most recent
    // operation, unless explicitly documented otherwise by that
    // operation.
    func (x *Float) Acc() Accuracy {
    	return x.acc
    }
    
    // Sign returns:
    //
    //	-1 if x <   0
    //	 0 if x is ±0
    //	+1 if x >   0
    func (x *Float) Sign() int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 44.5K bytes
    - Viewed (0)
  5. pkg/kubelet/stats/helper.go

    			result.Rootfs.InodesUsed = &rootInodes
    		}
    	}
    
    	for _, acc := range cstat.Accelerators {
    		result.Accelerators = append(result.Accelerators, statsapi.AcceleratorStats{
    			Make:        acc.Make,
    			Model:       acc.Model,
    			ID:          acc.ID,
    			MemoryTotal: acc.MemoryTotal,
    			MemoryUsed:  acc.MemoryUsed,
    			DutyCycle:   acc.DutyCycle,
    		})
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 17 23:40:02 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/project/DeclarativeDslProjectBuildFileIntegrationSpec.groovy

                                System.out.println("primaryAccess = { " +
                                        acc.getName().get() + ", " + acc.getRead().get() + ", " + acc.getWrite().get() + "}"
                                );
                                secondaryAccess.get().forEach(it -> {
                                    System.out.println("secondaryAccess { " +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/CompositeBuildTaskExecutionCrossVersionSpec.groovy

        }
    
        private def collectGradleProjects(Collection<GradleProject> projects, Collection<GradleProject> acc = []) {
            acc.addAll(projects)
            projects.each { collectGradleProjects(it.children, acc) }
            acc
        }
    
        private void executeTaskViaBuildInvocationsLaunchable(String taskName) {
            withConnection { connection ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  8. src/go/constant/value.go

    	switch x := x.(type) {
    	case int64Val:
    		f := float32(x)
    		return f, int64Val(f) == x
    	case intVal:
    		f, acc := newFloat().SetInt(x.val).Float32()
    		return f, acc == big.Exact
    	case ratVal:
    		return x.val.Float32()
    	case floatVal:
    		f, acc := x.val.Float32()
    		return f, acc == big.Exact
    	case unknownVal:
    		return 0, false
    	default:
    		panic(fmt.Sprintf("%v not a Float", x))
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 34K bytes
    - Viewed (0)
  9. cmd/admin-handlers-users_test.go

    		SecretKey:  svcSK,
    	})
    	if err != nil {
    		c.Fatalf("Unable to create svc acc: %v", err)
    	}
    	svcClient := s.getUserClient(c, cr.AccessKey, cr.SecretKey, "")
    	c.mustListObjects(ctx, svcClient, bucket)
    
    	err = madmClient.DeleteServiceAccount(ctx, svcAK)
    	if err != nil {
    		c.Fatalf("unable to delete svc acc: %v", err)
    	}
    	c.mustNotListObjects(ctx, svcClient, bucket)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  10. platforms/jvm/toolchains-jvm/src/test/groovy/org/gradle/jvm/toolchain/internal/ShowToolchainsTaskTest.groovy

                def rootCause = new Exception("lastLine")
                n == 0
                    ? rootCause :
                    (1..n).inject(new Exception("lastLine")) { acc, it -> new Exception("line${n - it}", acc) }
            }
    
            def jdkPath = testLocation("path")
            defineJdks(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top