Search Options

Results per page
Sort
Preferred Languages
Advance

Results 711 - 720 of 797 for Returned (0.06 sec)

  1. tensorflow/c/eager/c_api.cc

    }
    
    // This function will block till the operation that produces `h` has
    // completed. This is only valid on local TFE_TensorHandles. Returns the size in
    // bytes of the memory pointed to by the device pointer returned above.
    size_t TFE_TensorHandleDeviceMemorySize(TFE_TensorHandle* h,
                                            TF_Status* status) {
      if (h == nullptr) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  2. cmd/sts-handlers.go

    		return
    	}
    
    	// It is required that parent user be set.
    	if res.Success.User == "" {
    		writeSTSErrorResponse(ctx, w, ErrSTSUpstreamError, errors.New("A valid user was not returned by the authenticator."))
    		return
    	}
    
    	// Expiry is set as minimum of requested value and value allowed by auth
    	// plugin.
    	expiry := res.Success.MaxValiditySeconds
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        taskFaker.runNextTask()
    
        // Confirm the partial snapshot is not returned.
        assertThat(cache["a"]).isNull()
    
        // Confirm we prevent edits after a trim failure.
        assertThat(cache.edit("a")).isNull()
    
        // Confirm the partial snapshot is not returned after a successful trim.
        filesystem.setFaultyDelete(cacheDir / "a.1", false)
        taskFaker.runNextTask()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

      public void testAsList_toArray_roundTrip() {
        float[] array = {(float) 0, (float) 1, (float) 2};
        List<Float> list = Floats.asList(array);
        float[] newArray = Floats.toArray(list);
    
        // Make sure it returned a copy
        list.set(0, (float) 4);
        assertThat(newArray).isEqualTo(new float[] {(float) 0, (float) 1, (float) 2});
        newArray[1] = (float) 5;
        assertThat((float) list.get(1)).isEqualTo((float) 1);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/IntsTest.java

      }
    
      public void testAsList_toArray_roundTrip() {
        int[] array = {(int) 0, (int) 1, (int) 2};
        List<Integer> list = Ints.asList(array);
        int[] newArray = Ints.toArray(list);
    
        // Make sure it returned a copy
        list.set(0, (int) 4);
        assertThat(newArray).isEqualTo(new int[] {(int) 0, (int) 1, (int) 2});
        newArray[1] = (int) 5;
        assertThat((int) list.get(1)).isEqualTo((int) 1);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/CharMatcherTest.java

      }
    
      /**
       * Checks that expected is equals to out, and further, if in is equals to expected, then out is
       * successfully optimized to be identical to in, i.e. that "in" is simply returned.
       */
      private void assertEqualsSame(String expected, String in, String out) {
        if (expected.equals(in)) {
          assertSame(in, out);
        } else {
          assertEquals(expected, out);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/DoublesTest.java

      public void testAsList_toArray_roundTrip() {
        double[] array = {(double) 0, (double) 1, (double) 2};
        List<Double> list = Doubles.asList(array);
        double[] newArray = Doubles.toArray(list);
    
        // Make sure it returned a copy
        list.set(0, (double) 4);
        assertThat(newArray).isEqualTo(new double[] {(double) 0, (double) 1, (double) 2});
        newArray[1] = (double) 5;
        assertThat((double) list.get(1)).isEqualTo((double) 1);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/FloatsTest.java

      public void testAsList_toArray_roundTrip() {
        float[] array = {(float) 0, (float) 1, (float) 2};
        List<Float> list = Floats.asList(array);
        float[] newArray = Floats.toArray(list);
    
        // Make sure it returned a copy
        list.set(0, (float) 4);
        assertThat(newArray).isEqualTo(new float[] {(float) 0, (float) 1, (float) 2});
        newArray[1] = (float) 5;
        assertThat((float) list.get(1)).isEqualTo((float) 1);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/LongsTest.java

      }
    
      public void testAsList_toArray_roundTrip() {
        long[] array = {(long) 0, (long) 1, (long) 2};
        List<Long> list = Longs.asList(array);
        long[] newArray = Longs.toArray(list);
    
        // Make sure it returned a copy
        list.set(0, (long) 4);
        assertThat(newArray).isEqualTo(new long[] {(long) 0, (long) 1, (long) 2});
        newArray[1] = (long) 5;
        assertThat((long) list.get(1)).isEqualTo((long) 1);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  10. cmd/iam-object-store.go

    	err := iamOS.deleteIAMConfig(ctx, getGroupInfoPath(name))
    	if err == errConfigNotFound {
    		err = errNoSuchGroup
    	}
    	return err
    }
    
    // Lists objects in the minioMetaBucket at the given path prefix. All returned
    // items have the pathPrefix removed from their names.
    func listIAMConfigItems(ctx context.Context, objAPI ObjectLayer, pathPrefix string) <-chan itemOrErr[string] {
    	ch := make(chan itemOrErr[string])
    
    	go func() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
Back to top