Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for __construct (0.24 sec)

  1. cmd/test-utils_test.go

    	}
    }
    
    // Uploads an object using DummyDataGen directly via the http
    // handler. Each part in a multipart object is a new DummyDataGen
    // instance (so the part sizes are needed to reconstruct the whole
    // object). When `len(partSizes) == 1`, asMultipart is used to upload
    // the object as multipart with 1 part or as a regular single object.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  2. cmd/erasure-object.go

    			if IsErr(errs[i],
    				errFileNotFound,
    				errFileVersionNotFound,
    				errFileCorrupt,
    			) {
    				missingBlocks++
    			}
    		}
    
    		// if missing metadata can be reconstructed, attempt to reconstruct.
    		// additionally do not heal delete markers inline, let them be
    		// healed upon regular heal process.
    		if missingBlocks > 0 && missingBlocks < fi.Erasure.DataBlocks {
    			globalMRFState.addPartialOp(partialOperation{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  3. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(new TypeToken<Iterable<String>>() {}, type.getSupertype(Iterable.class));
      }
    
      public <T extends Iterable<String>> void testGetSupertype_fromTypeVariable() {
        @SuppressWarnings("unchecked") // to construct TypeToken<T> from TypeToken.of()
        TypeToken<T> typeVariableToken = (TypeToken<T>) TypeToken.of(new TypeCapture<T>() {}.capture());
        assertEquals(
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(new TypeToken<Iterable<String>>() {}, type.getSupertype(Iterable.class));
      }
    
      public <T extends Iterable<String>> void testGetSupertype_fromTypeVariable() {
        @SuppressWarnings("unchecked") // to construct TypeToken<T> from TypeToken.of()
        TypeToken<T> typeVariableToken = (TypeToken<T>) TypeToken.of(new TypeCapture<T>() {}.capture());
        assertEquals(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Sets.java

       * is merely copied. Only as the power set is iterated are the individual subsets created, and
       * these subsets themselves occupy only a small constant amount of memory.
       *
       * @param set the set of elements to construct a power set from
       * @return the power set, as an immutable set of immutable sets
       * @throws IllegalArgumentException if {@code set} has more than 30 unique elements (causing the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_test.cc

      if (gpu_device.empty()) return;
    
      RunMinTest(gpu_device, /*use_XLA=*/true);
    }
    
    TEST(CAPI, SessionPRun) {
      TF_Status* s = TF_NewStatus();
      TF_Graph* graph = TF_NewGraph();
    
      // Construct the graph: A + 2 + B
      TF_Operation* a = Placeholder(graph, s, "A");
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      TF_Operation* b = Placeholder(graph, s, "B");
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  7. guava/src/com/google/common/collect/ImmutableSortedMap.java

        return CollectCollectors.toImmutableSortedMap(
            comparator, keyFunction, valueFunction, mergeFunction);
      }
    
      /*
       * TODO(kevinb): Confirm that ImmutableSortedMap is faster to construct and
       * uses less memory than TreeMap; then say so in the class Javadoc.
       */
      private static final Comparator<?> NATURAL_ORDER = Ordering.natural();
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        return CollectCollectors.toImmutableSortedMap(
            comparator, keyFunction, valueFunction, mergeFunction);
      }
    
      /*
       * TODO(kevinb): Confirm that ImmutableSortedMap is faster to construct and
       * uses less memory than TreeMap; then say so in the class Javadoc.
       */
      private static final Comparator<?> NATURAL_ORDER = Ordering.natural();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  9. cmd/xl-storage_test.go

    		Recursive: false,
    		Immediate: false,
    	})
    	if err != errDiskNotFound {
    		t.Errorf("Expected: \"Drive not found\", got \"%s\"", err)
    	}
    }
    
    // TestXLStorageDeleteFile - Series of test cases construct valid and invalid input data and validates the result and the error response.
    func TestXLStorageDeleteFile(t *testing.T) {
    	if runtime.GOOS == globalWindowsOSName {
    		t.Skip()
    	}
    
    	// create xlStorage test setup
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
Back to top