Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 71 for exists (0.3 sec)

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

       * type variable too.
       */
      @CheckForNull
      final TypeToken<? super T> getGenericSuperclass() {
        if (runtimeType instanceof TypeVariable) {
          // First bound is always the super class, if one exists.
          return boundAsSuperclass(((TypeVariable<?>) runtimeType).getBounds()[0]);
        }
        if (runtimeType instanceof WildcardType) {
          // wildcard has one and only one upper bound.
    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/object-api-multipart_test.go

    		// Part number 0 doesn't exist, expecting InvalidPart error (Test number 12).
    		{bucketNames[0], objectNames[0], uploadIDs[0], []CompletePart{{ETag: "abcd", PartNumber: 0}}, "", InvalidPart{}, false},
    		// // Upload and PartNumber exists, But a deliberate ETag mismatch is introduced (Test number 13).
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  3. cmd/sts-handlers_test.go

    		Policy: []string{policy},
    	})
    	if err != nil {
    		c.Fatalf("GetLDAPPolicyEntities should not fail: %v", err)
    	}
    	{
    		// Check that the mapping we created exists.
    		idx := slices.IndexFunc(policyResult.PolicyMappings, func(e madmin.PolicyEntities) bool {
    			return e.Policy == policy && slices.Contains(e.Groups, actualGroupDN)
    		})
    		if !(idx >= 0) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Iterators.java

       * iterator containing two inner lists of three elements each, all in the original order.
       *
       * <p>The returned lists implement {@link java.util.RandomAccess}.
       *
       * @param iterator the iterator to return a partitioned view of
       * @param size the desired size of each partition
       * @return an iterator of immutable lists containing the elements of {@code iterator} divided into
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_test.cc

                static_cast<TF_Code>(tensorflow::error::DEADLINE_EXCEEDED));
      EXPECT_EQ(TF_NOT_FOUND, static_cast<TF_Code>(tensorflow::error::NOT_FOUND));
      EXPECT_EQ(TF_ALREADY_EXISTS,
                static_cast<TF_Code>(tensorflow::error::ALREADY_EXISTS));
      EXPECT_EQ(TF_PERMISSION_DENIED,
                static_cast<TF_Code>(tensorflow::error::PERMISSION_DENIED));
      EXPECT_EQ(TF_UNAUTHENTICATED,
    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)
  6. tests/migrate_test.go

    	}
    
    	// RelationModel3 should be existed
    	_, err = findColumnType(&RelationModel3{}, "id")
    	AssertEqual(t, nil, err)
    
    	// RelationModel1 should not be existed
    	_, err = findColumnType(&RelationModel1{}, "id")
    	if err == nil {
    		t.Errorf("RelationModel1 should not be migrated")
    	}
    
    	// RelationModel2 should not be existed
    	_, err = findColumnType(&RelationModel2{}, "id")
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

          initTable(newEntryArray(initialCapacity));
        }
    
        /**
         * Returns {@code this} up-casted to the specific {@link Segment} implementation type {@code S}.
         *
         * <p>This method exists so that the {@link Segment} code can be generic in terms of {@code S},
         * the type of the concrete implementation.
         */
        abstract S self();
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MapsTest.java

        List<@Nullable String> listWithNull = Lists.newArrayList((String) null);
        try {
          Maps.uniqueIndex((List<String>) listWithNull, Functions.constant(1));
          fail();
        } catch (NullPointerException expected) {
        }
      }
    
      /** Null keys aren't allowed either. */
      public void testUniqueIndexNullKey() {
        List<String> oneStringList = Lists.newArrayList("foo");
        try {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MapsTest.java

        List<@Nullable String> listWithNull = Lists.newArrayList((String) null);
        try {
          Maps.uniqueIndex((List<String>) listWithNull, Functions.constant(1));
          fail();
        } catch (NullPointerException expected) {
        }
      }
    
      /** Null keys aren't allowed either. */
      public void testUniqueIndexNullKey() {
        List<String> oneStringList = Lists.newArrayList("foo");
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_test.cc

      TFE_Context* ctx = TFE_NewContext(opts, status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_DeleteContextOptions(opts);
    
      TFE_TensorHandle* n = TestMatrixTensorHandle100x100(ctx);
      // If a GPU exists, copy the handle to GPU so that we can exercise
      // unprotecting a mirror.
      std::string gpu_device_name;
      if (GetDeviceName(ctx, &gpu_device_name, "GPU")) {
        TFE_TensorHandle* n_gpu =
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
Back to top