Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for units (0.08 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. src/runtime/mgcmark.go

    		}
    		gcw.heapScanWork = 0
    	}
    }
    
    // gcDrainN blackens grey objects until it has performed roughly
    // scanWork units of scan work or the G is preempted. This is
    // best-effort, so it may perform less work if it fails to get a work
    // buffer. Otherwise, it will perform at least n units of work, but
    // may perform more because scanning is always done in whole object
    // increments. It returns the amount of scan work performed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/dwarf.go

    			}
    			ctxt.compUnits = append(ctxt.compUnits, unit)
    
    			// We need at least one runtime unit.
    			if unit.Lib.Pkg == "runtime" {
    				ctxt.runtimeCU = unit
    			}
    
    			cuabrv := dwarf.DW_ABRV_COMPUNIT
    			if len(unit.Textp) == 0 {
    				cuabrv = dwarf.DW_ABRV_COMPUNIT_TEXTLESS
    			}
    			unit.DWInfo = d.newdie(&dwroot, cuabrv, unit.Lib.Pkg)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. src/runtime/mgcpacer.go

    	// rate, as bytes allocated per CPU-time, and the GC's scan rate,
    	// as bytes scanned per CPU-time.
    	// The units of this ratio are (B / cpu-ns) / (B / cpu-ns).
    	//
    	// At a high level, this value is computed as the bytes of memory
    	// allocated (cons) per unit of scan work completed (mark) in a GC
    	// cycle, divided by the CPU time spent on each activity.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  9. src/syscall/syscall_windows.go

    	// Valid UTF-8 characters of 4 bytes require two uint16.
    	// Bytes with invalid UTF-8 encoding require maximum one uint16 per byte.
    	// So the number of UTF-8 code units (len(s)) is always greater or
    	// equal than the number of UTF-16 code units.
    	// Also account for the terminating NUL character.
    	buf := make([]uint16, 0, len(s)+1)
    	buf = encodeWTF16(s, buf)
    	return append(buf, 0), nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
  10. hack/tools/go.sum

    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=
    github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho=
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 93.1K bytes
    - Viewed (0)
Back to top