Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for units (0.06 sec)

  1. guava-tests/test/com/google/common/collect/SetsTest.java

      public void testImmutableEnumSet() {
        Set<SomeEnum> units = Sets.immutableEnumSet(SomeEnum.D, SomeEnum.B);
    
        assertThat(units).containsExactly(SomeEnum.B, SomeEnum.D).inOrder();
        try {
          units.remove(SomeEnum.B);
          fail("ImmutableEnumSet should throw an exception on remove()");
        } catch (UnsupportedOperationException expected) {
        }
        try {
          units.add(SomeEnum.C);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 49.2K bytes
    - Viewed (0)
  2. src/time/time.go

    )
    
    // Common durations. There is no definition for units of Day or larger
    // to avoid confusion across daylight savings time zone transitions.
    //
    // To count the number of units in a [Duration], divide:
    //
    //	second := time.Second
    //	fmt.Print(int64(second/time.Millisecond)) // prints 1000
    //
    // To convert an integer number of units to a Duration, multiply:
    //
    //	seconds := 10
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py

            ),
            0.55,
        )
    
      @test_util.run_in_graph_and_eager_modes
      def test_ptq_quantization_method_not_applied_when_matcher_mismatch(self):
        """Tests that quantization method is not applied to unmatched units."""
        input_shape = (1, 2)
        model = self._create_matmul_model(
            input_shape,
            weight_shape=(2, 3),
            saved_model_path=self._input_saved_model_path,
        )
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  4. go.sum

    github.com/docker/go-connections v0.4.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec=
    github.com/docker/go-units v0.4.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk=
    github.com/docker/go-units v0.5.0 h1:69rxXcBk27SvSaaxTtLh/8llcHD8vYHT7WSdRZ/jvr4=
    github.com/docker/go-units v0.5.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk=
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:11 UTC 2024
    - 93.1K bytes
    - Viewed (0)
  5. go.sum

    github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
    github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
    github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:53:53 UTC 2024
    - 85.8K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/lib.go

    	eof := f.Offset() + length
    	start := f.Offset()
    	c1 := bgetc(f)
    	c2 := bgetc(f)
    	c3 := bgetc(f)
    	c4 := bgetc(f)
    	f.MustSeek(start, 0)
    
    	unit := &sym.CompilationUnit{Lib: lib}
    	lib.Units = append(lib.Units, unit)
    
    	magic := uint32(c1)<<24 | uint32(c2)<<16 | uint32(c3)<<8 | uint32(c4)
    	if magic == 0x7f454c46 { // \x7F E L F
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/go.sum

    github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c=
    github.com/alecthomas/kingpin/v2 v2.4.0/go.mod h1:0gyi0zQnjuFk8xrkNKamJoyUo382HRL7ATRpFZCw6tE=
    github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137/go.mod h1:OMCwj8VM1Kc9e19TLln2VL61YJF0x1XFtfdL4JdbSyE=
    github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:11 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/go.sum

    github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c=
    github.com/alecthomas/kingpin/v2 v2.4.0/go.mod h1:0gyi0zQnjuFk8xrkNKamJoyUo382HRL7ATRpFZCw6tE=
    github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137/go.mod h1:OMCwj8VM1Kc9e19TLln2VL61YJF0x1XFtfdL4JdbSyE=
    github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:11 UTC 2024
    - 49.2K bytes
    - Viewed (0)
  9. src/time/format.go

    		}
    		if v > 1<<63/unit {
    			// overflow
    			return 0, errors.New("time: invalid duration " + quote(orig))
    		}
    		v *= unit
    		if f > 0 {
    			// float64 is needed to be nanosecond accurate for fractions of hours.
    			// v >= 0 && (f*unit/scale) <= 3.6e+12 (ns/h, h is the largest unit)
    			v += uint64(float64(f) * (float64(unit) / scale))
    			if v > 1<<63 {
    				// overflow
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  10. src/time/time_test.go

    	{".5s", 500 * Millisecond},
    	{"1.0s", 1 * Second},
    	{"1.00s", 1 * Second},
    	{"1.004s", 1*Second + 4*Millisecond},
    	{"1.0040s", 1*Second + 4*Millisecond},
    	{"100.00100s", 100*Second + 1*Millisecond},
    	// different units
    	{"10ns", 10 * Nanosecond},
    	{"11us", 11 * Microsecond},
    	{"12µs", 12 * Microsecond}, // U+00B5
    	{"12μs", 12 * Microsecond}, // U+03BC
    	{"13ms", 13 * Millisecond},
    	{"14s", 14 * Second},
    	{"15m", 15 * Minute},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
Back to top