Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for max_bytes (0.14 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

                                    TF_Status* status)>
          BlockFetcher;
    
      RamFileBlockCache(size_t block_size, size_t max_bytes, uint64_t max_staleness,
                        BlockFetcher block_fetcher,
                        std::function<uint64_t()> timer_seconds = TF_NowSeconds)
          : block_size_(block_size),
            max_bytes_(max_bytes),
            max_staleness_(max_staleness),
            block_fetcher_(block_fetcher),
            timer_seconds_(timer_seconds),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 31 04:46:34 UTC 2020
    - 10.6K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

        max_bytes = static_cast<size_t>(value * 1024 * 1024);
      }
      const char* max_staleness_env = std::getenv(kMaxStaleness);
      if (max_staleness_env && absl::SimpleAtoi(max_staleness_env, &value)) {
        max_staleness = value;
      }
      TF_VLog(1, "GCS cache max size = %u ; block size = %u ; max staleness = %u",
              max_bytes, block_size, max_staleness);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 23 06:55:53 UTC 2023
    - 46.9K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

        EXPECT_EQ(got_n, want_n);
        calls++;
        memset(buffer, 'x', got_n);
        TF_SetStatus(status, TF_OK, "");
        return got_n;
      };
      // If block_size, max_bytes, or both are zero, or want_n is larger than
      // max_bytes the cache is a pass-through.
      tf_gcs_filesystem::RamFileBlockCache cache1(1, 0, 0, fetcher);
      tf_gcs_filesystem::RamFileBlockCache cache2(0, 1, 0, fetcher);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 15 03:16:57 UTC 2021
    - 23.2K bytes
    - Viewed (0)
  4. cluster/addons/fluentd-gcp/fluentd-gcp-configmap-old.yaml

        <match raw.kubernetes.**>
          @type detect_exceptions
    
          remove_tag_prefix raw
          message log
          stream stream
          multiline_flush_interval 5
          max_bytes 500000
          max_lines 1000
        </match>
      system.input.conf: |-
        # Example:
        # Dec 21 23:17:22 gke-foo-1-1-4b5cbd14-node-4eoj startupscript: Finished running startup script /var/run/google.startup.script
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 26 07:09:07 UTC 2018
    - 16.3K bytes
    - Viewed (0)
  5. cluster/addons/fluentd-gcp/fluentd-gcp-configmap.yaml

          @type detect_exceptions
    
          remove_tag_prefix raw
          message message
          stream "logging.googleapis.com/local_resource_id"
          multiline_flush_interval 5
          max_bytes 500000
          max_lines 1000
        </match>
      system.input.conf: |-
        # Example:
        # Dec 21 23:17:22 gke-foo-1-1-4b5cbd14-node-4eoj startupscript: Finished running startup script /var/run/google.startup.script
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 26 07:09:07 UTC 2018
    - 18.3K bytes
    - Viewed (0)
  6. src/go/internal/gcimporter/iimport.go

    	case types.Int32, types.Uint32:
    		maxBytes = 4
    	default:
    		maxBytes = 8
    	}
    
    	return
    }
    
    func (r *importReader) mpint(x *big.Int, typ *types.Basic) {
    	signed, maxBytes := intSize(typ)
    
    	maxSmall := 256 - maxBytes
    	if signed {
    		maxSmall = 256 - 2*maxBytes
    	}
    	if maxBytes == 1 {
    		maxSmall = 256
    	}
    
    	n, _ := r.declReader.ReadByte()
    	if uint(n) < maxSmall {
    		v := int64(n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  7. src/crypto/tls/ticket.go

    	authenticated := encrypted[:len(encrypted)-sha256.Size]
    	macBytes := encrypted[len(encrypted)-sha256.Size:]
    
    	for _, key := range ticketKeys {
    		mac := hmac.New(sha256.New, key.hmacKey[:])
    		mac.Write(authenticated)
    		expected := mac.Sum(nil)
    
    		if subtle.ConstantTimeCompare(macBytes, expected) != 1 {
    			continue
    		}
    
    		block, err := aes.NewCipher(key.aesKey[:])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

      return new_entry;
    }
    
    // Remove blocks from the cache until we do not exceed our maximum size.
    void RamFileBlockCache::Trim() {
      while (!lru_list_.empty() && cache_size_ > max_bytes_) {
        RemoveBlock(block_map_.find(lru_list_.back()));
      }
    }
    
    /// Move the block to the front of the LRU list if it isn't already there.
    void RamFileBlockCache::UpdateLRU(const Key& key,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 16 01:39:09 UTC 2020
    - 11.1K bytes
    - Viewed (0)
  9. cmd/metrics-resource.go

    	percUtil       MetricName = "perc_util"
    	usedInodes     MetricName = "used_inodes"
    
    	// network stats
    	interfaceRxBytes  MetricName = "rx_bytes"
    	interfaceRxErrors MetricName = "rx_errors"
    	interfaceTxBytes  MetricName = "tx_bytes"
    	interfaceTxErrors MetricName = "tx_errors"
    
    	// cpu stats
    	cpuUser       MetricName = "user"
    	cpuSystem     MetricName = "system"
    	cpuIOWait     MetricName = "iowait"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 15:15:13 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  10. src/runtime/tracestack.go

    	// it contains N frames.
    	maxBytes := 1 + (2+4*len(frames))*traceBytesPerNumber
    
    	// Estimate the size of this record. This
    	// bound is pretty loose, but avoids counting
    	// lots of varint sizes.
    	//
    	// Add 1 because we might also write traceEvStacks.
    	var flushed bool
    	w, flushed = w.ensure(1 + maxBytes)
    	if flushed {
    		w.byte(byte(traceEvStacks))
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:56 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top