Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 87 for int (0.14 sec)

  1. tensorflow/c/c_api_test.cc

            << i;
      }
    }
    
    TEST_F(CApiAttributesTest, Int) {
      auto desc = init("int");
      TF_SetAttrInt(desc, "v", 31415);
    
      auto oper = TF_FinishOperation(desc, s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      EXPECT_TF_META("v", -1, TF_ATTR_INT, -1);
    
      int64_t value;
      TF_OperationGetAttrInt(oper, "v", &value, s_);
    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)
  2. tensorflow/c/experimental/filesystem/filesystem_interface.h

    typedef struct TF_FilesystemPluginOps {
      char* scheme;
      int filesystem_ops_abi;
      int filesystem_ops_api;
      size_t filesystem_ops_size;
      TF_FilesystemOps* filesystem_ops;
      int random_access_file_ops_abi;
      int random_access_file_ops_api;
      size_t random_access_file_ops_size;
      TF_RandomAccessFileOps* random_access_file_ops;
      int writable_file_ops_abi;
      int writable_file_ops_api;
      size_t writable_file_ops_size;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  3. cmd/bucket-stats_gen.go

    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *BucketReplicationStat) Msgsize() (s int) {
    	s = 1 + 15 + msgp.Int64Size + 12 + msgp.Int64Size + 10 + z.FailStats.Msgsize() + 7 + z.Failed.Msgsize() + 16 + msgp.Int64Size + 8 + 1 + 16 + z.Latency.UploadHistogram.Msgsize() + 31 + msgp.Int64Size + 34 + msgp.Float64Size + 3
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 57.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/TypeToken.java

        @CanIgnoreReturnValue
        private int collectTypes(K type, Map<? super K, Integer> map) {
          Integer existing = map.get(type);
          if (existing != null) {
            // short circuit: if set contains type it already contains its supertypes
            return existing;
          }
          // Interfaces should be listed before Object.
          int aboveMe = getRawType(type).isInterface() ? 1 : 0;
    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)
  5. tests/migrate_test.go

    	}
    
    	type Object1 struct {
    		ID uint
    	}
    	type Object2 struct {
    		ID     uint
    		Field1 int `gorm:"type:int8"`
    	}
    	type Object3 struct {
    		ID     uint
    		Field1 int `gorm:"type:int4"`
    	}
    	type Object4 struct {
    		ID     uint
    		Field2 int
    	}
    	db.Migrator().DropTable("objects")
    
    	err = db.Table("objects").AutoMigrate(&Object1{})
    	if err != nil {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

            CacheBuilder.newBuilder().weakValues().build(countingLoader);
        ConcurrentMap<Object, Object> map = cache.asMap();
    
        int iterations = 10;
        WeakReference<Object> ref = new WeakReference<>(null);
        int expectedComputations = 0;
        for (int i = 0; i < iterations; i++) {
          // The entry should get garbage collected and recomputed.
          Object oldValue = ref.get();
          if (oldValue == null) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        }
    
        private Builder(Comparator<? super K> comparator, int initialCapacity) {
          this.comparator = checkNotNull(comparator);
          this.keys = new @Nullable Object[initialCapacity];
          this.values = new @Nullable Object[initialCapacity];
        }
    
        private void ensureCapacity(int minCapacity) {
          if (minCapacity > keys.length) {
    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)
  8. guava-tests/test/com/google/common/collect/SetsTest.java

      }
    
      private static Object objectWithHashCode(final int hashCode) {
        return new Object() {
          @Override
          public int hashCode() {
            return hashCode;
          }
        };
      }
    
      // TODO b/327389044 - `Set<? extends Object> elements` should be enough but J2KT needs the <E>
      private static <E> void assertPowerSetHashCode(int expected, Set<E> elements) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableSortedMap.java

        this.valueList = valueList;
        this.descendingMap = descendingMap;
      }
    
      @Override
      public int size() {
        return valueList.size();
      }
    
      @Override
      public void forEach(BiConsumer<? super K, ? super V> action) {
        checkNotNull(action);
        ImmutableList<K> keyList = keySet.asList();
        for (int i = 0; i < size(); i++) {
          action.accept(keyList.get(i), valueList.get(i));
        }
      }
    
    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)
  10. src/main/java/jcifs/smb/SmbSessionImpl.java

        /*
         * 0 - not connected
         * 1 - connecting
         * 2 - connected
         * 3 - disconnecting
         */
        private final AtomicInteger connectionState = new AtomicInteger();
        private int uid;
        private List<SmbTreeImpl> trees;
    
        private final SmbTransportImpl transport;
        private long expiration;
        private String netbiosName = null;
    
        private CIFSContext transportContext;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:41:04 GMT 2021
    - 49K bytes
    - Viewed (0)
Back to top