Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for CEIL (0.03 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/library/cost.go

    	case "url", "lowerAscii", "upperAscii", "substring", "trim":
    		if len(args) >= 1 {
    			cost := uint64(math.Ceil(float64(actualSize(args[0])) * common.StringTraversalCostFactor))
    			return &cost
    		}
    	case "replace", "split":
    		if len(args) >= 1 {
    			// cost is the traversal plus the construction of the result
    			cost := uint64(math.Ceil(float64(actualSize(args[0])) * 2 * common.StringTraversalCostFactor))
    			return &cost
    		}
    	case "join":
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  2. src/crypto/internal/mlkem768/mlkem768_test.go

    			}
    			got := decompress(c, bits)
    			diff := min(a-got, got-a, a-got+q, got-a+q)
    			ceil := q / (1 << bits)
    			if diff > fieldElement(ceil) {
    				t.Fatalf("decompress(compress(%d, %d), %d) = %d (diff %d, max diff %d)",
    					a, bits, bits, got, diff, ceil)
    			}
    		}
    	}
    }
    
    func CompressRat(x fieldElement, d uint8) uint16 {
    	if x >= q {
    		panic("x out of range")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 15:27:18 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. testing/distributions-integ-tests/src/integTest/groovy/org/gradle/DistributionIntegrationSpec.groovy

            expect:
            def size = getZip().size()
    
            assert size <= getMaxDistributionSizeBytes() : "Distribution content needs to be verified. If the increase is expected, raise the size by ${Math.ceil((size - getMaxDistributionSizeBytes()) / 1024 / 1024)}"
        }
    
        def "no duplicate jar entries in distribution"() {
            given:
            def entriesByPath = zipEntries.groupBy { it.name }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:14 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  4. cmd/utils.go

    // of crashing.
    func ceilFrac(numerator, denominator int64) (ceil int64) {
    	if denominator == 0 {
    		// do nothing on invalid input
    		return
    	}
    	// Make denominator positive
    	if denominator < 0 {
    		numerator = -numerator
    		denominator = -denominator
    	}
    	ceil = numerator / denominator
    	if numerator > 0 && numerator%denominator != 0 {
    		ceil++
    	}
    	return
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 22:00:34 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/loadbalancer/loadbalancer.go

    					destWeight := float64(originalWeight*weight) / float64(totalWeight)
    					if destWeight > 0 {
    						loadAssignment.Endpoints[index].LoadBalancingWeight = &wrappers.UInt32Value{
    							Value: uint32(math.Ceil(destWeight)),
    						}
    					}
    				}
    			}
    
    			// remove groups of endpoints in a locality that miss matched
    			for i := range misMatched {
    				if loadAssignment.Endpoints[i] != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 05:38:57 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  6. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/FileContentGenerator.groovy

            "org${separator}gradle${separator}test${separator}performance${separator}${config.projectName.toLowerCase()}${projectPackage}$subPackage"
        }
    
        protected final int getPropertyCount() {
            Math.ceil((double) config.minLinesOfCodePerSourceFile / 10)
        }
    
        protected final String decideOnJavaPlugin(String plugin, Boolean projectHasParents) {
            if (plugin.contains('java')) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/flowcontrol/v1beta2/generated.proto

      // but affects the other priority levels through the borrowing mechanism.
      // The server's concurrency limit (ServerCL) is divided among all the
      // priority levels in proportion to their NCS values:
      //
      // NominalCL(i)  = ceil( ServerCL * NCS(i) / sum_ncs )
      // sum_ncs = sum[priority level k] NCS(k)
      //
      // Bigger numbers mean a larger nominal concurrency limit,
      // at the expense of every other priority level.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/flowcontrol/v1/generated.proto

      // but affects the other priority levels through the borrowing mechanism.
      // The server's concurrency limit (ServerCL) is divided among all the
      // priority levels in proportion to their NCS values:
      //
      // NominalCL(i)  = ceil( ServerCL * NCS(i) / sum_ncs )
      // sum_ncs = sum[priority level k] NCS(k)
      //
      // Bigger numbers mean a larger nominal concurrency limit,
      // at the expense of every other priority level.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/flowcontrol/v1beta1/generated.proto

      // but affects the other priority levels through the borrowing mechanism.
      // The server's concurrency limit (ServerCL) is divided among all the
      // priority levels in proportion to their NCS values:
      //
      // NominalCL(i)  = ceil( ServerCL * NCS(i) / sum_ncs )
      // sum_ncs = sum[priority level k] NCS(k)
      //
      // Bigger numbers mean a larger nominal concurrency limit,
      // at the expense of every other priority level.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  10. manifests/addons/dashboards/lib/output.json

                      {
                         "datasource": {
                            "type": "prometheus",
                            "uid": "$datasource"
                         },
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 25.2K bytes
    - Viewed (0)
Back to top