Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 359 for v_size (0.24 sec)

  1. android/guava/src/com/google/common/collect/CompactHashSet.java

          newDelegate.addAll(delegate);
          this.table = newDelegate;
          return;
        }
        int size = this.size;
        if (size < requireEntries().length) {
          resizeEntries(size);
        }
        int minimumTableSize = CompactHashing.tableSize(size);
        int mask = hashTableMask();
        if (minimumTableSize < mask) { // smaller table size will always be less than current mask
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
  2. cmd/server-main.go

    		Hidden: true,
    		EnvVar: "MINIO_MEMLIMIT",
    	},
    	cli.IntFlag{
    		Name:   "send-buf-size",
    		Value:  4 * humanize.MiByte,
    		EnvVar: "MINIO_SEND_BUF_SIZE",
    		Hidden: true,
    	},
    	cli.IntFlag{
    		Name:   "recv-buf-size",
    		Value:  4 * humanize.MiByte,
    		EnvVar: "MINIO_RECV_BUF_SIZE",
    		Hidden: true,
    	},
    	cli.StringFlag{
    		Name:   "log-dir",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

        if (offset < buf.size()) {
          size_t bytes_to_copy = std::min<size_t>(buf.size() - offset, n);
          memcpy(buffer, buf.data() + offset, bytes_to_copy);
          bytes_transferred = bytes_to_copy;
        } else {
          bytes_transferred = 0;
        }
        TF_SetStatus(status, TF_OK, "");
        return bytes_transferred;
      };
      for (size_t block_size = 2; block_size <= 4; block_size++) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:57 GMT 2021
    - 23.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

        this.threshold = Math.max(1, (int) (buckets * loadFactor));
      }
    
      private static int[] newTable(int size) {
        int[] array = new int[size];
        Arrays.fill(array, UNSET);
        return array;
      }
    
      private static long[] newEntries(int size) {
        long[] array = new long[size];
        Arrays.fill(array, UNSET);
        return array;
      }
    
      private int hashTableMask() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 01 22:07:10 GMT 2021
    - 15K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/CompactHashMap.java

        }
        int size = this.size;
        if (size < requireEntries().length) {
          resizeEntries(size);
        }
        int minimumTableSize = CompactHashing.tableSize(size);
        int mask = hashTableMask();
        if (minimumTableSize < mask) { // smaller table size will always be less than current mask
          resizeTable(mask, minimumTableSize, UNSET, UNSET);
        }
      }
    
      @Override
      public void clear() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 39.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/CompactLinkedHashMap.java

      private static final int ENDPOINT = -2;
    
      /**
       * Contains the link pointers corresponding with the entries, in the range of [0, size()). The
       * high 32 bits of each long is the "prev" pointer, whereas the low 32 bits is the "succ" pointer
       * (pointing to the next entry in the linked list). The pointers in [size(), entries.length) are
       * all "null" (UNSET).
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

            // Empty the buffer to avoid caching bad reads.
            gcs_file->buffer.resize(0);
            return -1;
          }
          size_t remaining_copy =
              (std::min)(n - copy_size, gcs_file->buffer.size());
          memcpy(buffer + copy_size, gcs_file->buffer.data(), remaining_copy);
          copy_size += remaining_copy;
        }
        if (copy_size < n) {
          // Forget the end-of-file flag to allow for clients that poll on the
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

    #include "tensorflow/c/tf_status.h"
    
    // Implementation of a filesystem for POSIX environments.
    // This filesystem will support `file://` and empty (local) URI schemes.
    
    static void* plugin_memory_allocate(size_t size) { return calloc(1, size); }
    static void plugin_memory_free(void* ptr) { free(ptr); }
    
    // SECTION 1. Implementation for `TF_RandomAccessFile`
    // ----------------------------------------------------------------------------
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  9. src/bufio/scan.go

    )
    
    const (
    	// MaxScanTokenSize is the maximum size used to buffer a token
    	// unless the user provides an explicit buffer with [Scanner.Buffer].
    	// The actual maximum token size may be smaller as the buffer
    	// may need to include, for instance, a newline.
    	MaxScanTokenSize = 64 * 1024
    
    	startBufSize = 4096 // Size of initial allocation for buffer.
    )
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSet.java

      static final int MAX_TABLE_SIZE = Ints.MAX_POWER_OF_TWO;
    
      // Represents how tightly we can pack things, as a maximum.
      private static final double DESIRED_LOAD_FACTOR = 0.7;
    
      // If the set has this many elements, it will "max out" the table size
      private static final int CUTOFF = (int) (MAX_TABLE_SIZE * DESIRED_LOAD_FACTOR);
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
Back to top