Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 718 for divides (0.11 sec)

  1. src/internal/syscall/windows/reparse_windows.go

    	// The integer that contains the offset, in bytes,
    	// of the substitute name string in the PathBuffer array,
    	// computed as an offset from byte 0 of PathBuffer. Note that
    	// this offset must be divided by 2 to get the array index.
    	SubstituteNameOffset uint16
    	// The integer that contains the length, in bytes, of the
    	// substitute name string. If this string is null-terminated,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 12 07:15:06 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. pkg/volume/util/device_util_linux_test.go

    	mockDeviceUtil := NewDeviceHandler(&mockOsIOHandler{})
    	devices, err := mockDeviceUtil.FindDevicesForISCSILun("target1", 1)
    	if err != nil {
    		t.Fatalf("error getting devices for lun: %v", err)
    	}
    	if devices == nil {
    		t.Fatal("no devices returned")
    	}
    	if len(devices) != 1 {
    		t.Fatalf("wrong number of devices: %d", len(devices))
    	}
    	if devices[0] != "sda" {
    		t.Fatalf("incorrect device %v", devices)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 8K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/devicemanager/pod_devices_test.go

    	for devID, plugInfo := range contDevices {
    		nodes := plugInfo.GetTopology().GetNodes()
    		require.Equal(t, len(nodes), len(devices), "Incorrect container devices: %v - %v (nodes %v)", devices, contDevices, nodes)
    
    		for _, node := range plugInfo.GetTopology().GetNodes() {
    			dev, ok := devices[node.ID]
    			require.True(t, ok, "NUMA id %v doesn't exist in result", node.ID)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/devicemanager/topology_hints.go

    		// Only consider devices that actually contain topology information.
    		if aligned := m.deviceHasTopologyAlignment(resource); !aligned {
    			klog.InfoS("Resource does not have a topology preference", "resource", resource)
    			deviceHints[resource] = nil
    			continue
    		}
    
    		// Short circuit to regenerate the same hints if there are already
    		// devices allocated to the Container. This might happen after a
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 27 02:10:25 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/math/BigIntegerMathRoundingBenchmark.java

          int j = i & ARRAY_MASK;
          tmp += BigIntegerMath.sqrt(positive[j], mode).intValue();
        }
        return tmp;
      }
    
      @Benchmark
      int divide(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          tmp += BigIntegerMath.divide(nonzero1[j], nonzero2[j], mode).intValue();
        }
        return tmp;
      }
    
      @Benchmark
      long roundToDouble(int reps) {
        long tmp = 0;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 30 13:06:20 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/xla_tpu_device.cc

     public:
      Status ListPhysicalDevices(std::vector<string>* devices) override;
      Status CreateDevices(const SessionOptions& options, const string& name_prefix,
                           std::vector<std::unique_ptr<Device>>* devices) override;
    };
    
    Status TpuNodeDeviceFactory::ListPhysicalDevices(std::vector<string>* devices) {
      tpu::TpuPlatformInterface* platform =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 22:53:47 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/replicate_to_island_legacy.mlir

    // CHECK: "tf_device.launch"
    // CHECK: device = "CORE_0"
    // CHECK: "tf.opA"
    
    
    // Tests devices are not remapped if device is not in replicate devices.
    // CHECK-LABEL: func @no_override_device
    func.func @no_override_device() {
      tf_executor.graph {
        %0 = tf_executor.island {
          tf_device.replicate {n = 2 : i32, devices = {CORE_0 = ["/CPU:0", "/GPU:1"]}} {
            "tf_device.launch"() ({
              "tf.opA"() : () -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  8. pkg/kubelet/apis/podresources/types.go

    	podresourcesapi "k8s.io/kubelet/pkg/apis/podresources/v1"
    )
    
    // DevicesProvider knows how to provide the devices used by the given container
    type DevicesProvider interface {
    	// UpdateAllocatedDevices frees any Devices that are bound to terminated pods.
    	UpdateAllocatedDevices()
    	// GetDevices returns information about the devices assigned to pods and containers
    	GetDevices(podUID, containerName string) []*podresourcesapi.ContainerDevices
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 17:33:04 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/utils/device_util.h

    void AddDevicesToOp(mlir::Operation* op, const DeviceSet* device_set);
    
    // Collects devices information from an op `tf.devices` attributes. Returns
    // failure if can't parse device metadata from the attribute.
    mlir::LogicalResult GetDevicesFromOp(mlir::Operation* op,
                                         mlir::TF::RuntimeDevices* devices);
    
    // Parses a device string and returns its ordinal (id). This will return an
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 05 20:02:33 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/IntMathTest.java

            }
            boolean dividesEvenly = (p % q) == 0;
            try {
              assertEquals(p + "/" + q, p, IntMath.divide(p, q, UNNECESSARY) * q);
              assertTrue(p + "/" + q + " not expected to divide evenly", dividesEvenly);
            } catch (ArithmeticException e) {
              assertFalse(p + "/" + q + " expected to divide evenly", dividesEvenly);
            }
          }
        }
      }
    
      public void testZeroDivIsAlwaysZero() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 24.5K bytes
    - Viewed (0)
Back to top