Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 310 for roundup (0.18 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/conversion.go

    // If attr.VersionedKind already matches the requested kind, no conversion is performed.
    // If conversion is required:
    // * attr.VersionedObject is used as the source for the new object if Dirty=true (and is round-tripped through attr.Attributes.Object, clearing Dirty in the process)
    // * attr.Attributes.Object is used as the source for the new object if Dirty=false
    // * attr.Attributes.OldObject is used as the source for the old object
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 16:56:12 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/s390x/asmz.go

    	op_LDXBR   uint32 = 0xB345 // FORMAT_RRE        LOAD ROUNDED (extended to long BFP)
    	op_LDXBRA  uint32 = 0xB345 // FORMAT_RRF5       LOAD ROUNDED (extended to long BFP)
    	op_LDXR    uint32 = 0x2500 // FORMAT_RR         LOAD ROUNDED (extended to long HFP)
    	op_LDXTR   uint32 = 0xB3DD // FORMAT_RRF5       LOAD ROUNDED (extended to long DFP)
    	op_LDY     uint32 = 0xED65 // FORMAT_RXY1       LOAD (long)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 176.7K bytes
    - Viewed (0)
  3. pkg/api/testing/serialization_test.go

    					t.Errorf("expected %v: %v\n%s", gvk, err, string(data))
    					continue
    				}
    			}
    		}
    	}
    }
    
    // TestRoundTripTypes applies the round-trip test to all round-trippable Kinds
    // in all of the API groups registered for test in the legacyscheme package.
    func TestRoundTripTypes(t *testing.T) {
    	seed := rand.Int63()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/CacheStats.java

      }
    
      /**
       * Returns a new {@code CacheStats} representing the difference between this {@code CacheStats}
       * and {@code other}. Negative values, which aren't supported by {@code CacheStats} will be
       * rounded up to zero.
       */
      public CacheStats minus(CacheStats other) {
        return new CacheStats(
            Math.max(0, saturatedSubtract(hitCount, other.hitCount)),
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Aug 07 02:38:22 UTC 2022
    - 12.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/CacheStats.java

      }
    
      /**
       * Returns a new {@code CacheStats} representing the difference between this {@code CacheStats}
       * and {@code other}. Negative values, which aren't supported by {@code CacheStats} will be
       * rounded up to zero.
       */
      public CacheStats minus(CacheStats other) {
        return new CacheStats(
            Math.max(0, saturatedSubtract(hitCount, other.hitCount)),
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Aug 07 02:38:22 UTC 2022
    - 12.6K bytes
    - Viewed (0)
  6. src/vendor/golang.org/x/crypto/internal/poly1305/sum_generic.go

    // the value of [x0, x1, x2] is x[0] + x[1] * 2⁶⁴ + x[2] * 2¹²⁸.
    type macState struct {
    	// h is the main accumulator. It is to be interpreted modulo 2¹³⁰ - 5, but
    	// can grow larger during and after rounds. It must, however, remain below
    	// 2 * (2¹³⁰ - 5).
    	h [3]uint64
    	// r and s are the private key components.
    	r [2]uint64
    	s [2]uint64
    }
    
    type macGeneric struct {
    	macState
    
    	buffer [TagSize]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_algorithm.py

        # is unusually small.
        if abs(zero_point) > 9e9:
          zero_point = 9e9
        if abs(scale) < 1e-9:
          scale = 1e-9
    
        zero_point = round(zero_point)
        quantized_hist_mids = np.clip(
            np.round(self._hist_mids / scale) + zero_point, minbound, maxbound
        )
        dequantized_hist_mids = scale * (quantized_hist_mids - zero_point)
        return dequantized_hist_mids
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 11 19:29:56 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/unsafeptr/unsafeptr.go

    			hasBasicType(info, x.Args[0], types.UnsafePointer)
    
    	case *ast.BinaryExpr:
    		// "It is valid both to add and to subtract offsets from a
    		// pointer in this way. It is also valid to use &^ to round
    		// pointers, usually for alignment."
    		switch x.Op {
    		case token.ADD, token.SUB, token.AND_NOT:
    			// TODO(mdempsky): Match compiler
    			// semantics. ADD allows a pointer on either
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. pkg/scheduler/internal/cache/node_tree.go

    	nt.addNode(logger, new)
    }
    
    // list returns the list of names of the node. NodeTree iterates over zones and in each zone iterates
    // over nodes in a round robin fashion.
    func (nt *nodeTree) list() ([]string, error) {
    	if len(nt.zones) == 0 {
    		return nil, nil
    	}
    	nodesList := make([]string, 0, nt.numNodes)
    	numExhaustedZones := 0
    	nodeIndex := 0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 29 05:26:32 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  10. src/image/jpeg/writer.go

    // license that can be found in the LICENSE file.
    
    package jpeg
    
    import (
    	"bufio"
    	"errors"
    	"image"
    	"image/color"
    	"io"
    )
    
    // div returns a/b rounded to the nearest integer, instead of rounded to zero.
    func div(a, b int32) int32 {
    	if a >= 0 {
    		return (a + (b >> 1)) / b
    	}
    	return -((-a + (b >> 1)) / b)
    }
    
    // bitCount counts the number of bits needed to hold an integer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 17.1K bytes
    - Viewed (0)
Back to top