Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for __construct (0.19 sec)

  1. android/guava/src/com/google/common/reflect/TypeToken.java

       * }</pre>
       */
      protected TypeToken() {
        this.runtimeType = capture();
        checkState(
            !(runtimeType instanceof TypeVariable),
            "Cannot construct a TypeToken for a type variable.\n"
                + "You probably meant to call new TypeToken<%s>(getClass()) "
                + "that can resolve the type variable for you.\n"
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  2. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 75.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFile.java

        }
    
    
        /**
         * Construct from string URL
         * 
         * @param url
         * @param tc
         *            context to use
         * @throws MalformedURLException
         */
        public SmbFile ( String url, CIFSContext tc ) throws MalformedURLException {
            this(new URL(null, url, tc.getUrlHandler()), tc);
        }
    
    
        /**
         * Construct from URL
         * 
         * @param url
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  5. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 76.9K bytes
    - Viewed (2)
  6. 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)
  7. 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 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  8. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 77.2K bytes
    - Viewed (0)
  9. tensorflow/c/c_api.h

    TF_CAPI_EXPORT extern void TF_FunctionToFunctionDef(TF_Function* func,
                                                        TF_Buffer* output_func_def,
                                                        TF_Status* status);
    
    // Construct and return the function whose FunctionDef representation is
    // serialized in `proto`. `proto_len` must equal the number of bytes
    // pointed to by `proto`.
    // Returns:
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  10. 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)
Back to top