- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for sizemap (0.12 sec)
-
pkg/controller/ttl/ttl_controller.go
return ttlc } type ttlBoundary struct { sizeMin int sizeMax int ttlSeconds int } var ( ttlBoundaries = []ttlBoundary{ {sizeMin: 0, sizeMax: 100, ttlSeconds: 0}, {sizeMin: 90, sizeMax: 500, ttlSeconds: 15}, {sizeMin: 450, sizeMax: 1000, ttlSeconds: 30}, {sizeMin: 900, sizeMax: 2000, ttlSeconds: 60}, {sizeMin: 1800, sizeMax: math.MaxInt32, ttlSeconds: 300}, } )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 8.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_hashtables.cc
rewriter.replaceOpWithNewOp<TFL::HashtableSizeOp>( size_op, size_op->getResultTypes(), size_op.getTableHandle()); return success(); } }; template <typename T> std::vector<T> GetAllOps(mlir::ModuleOp* module) { std::vector<T> ops; module->walk([&](T op) { ops.emplace_back(op); }); return ops; } bool checkWhetherGraphHasValidStaticLookupTables(ModuleOp module) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/check_test.go
// not the last entry - slide entries down (don't reorder) copy(errList[index:], errList[index+1:]) filemap[line] = errList[:n] } else { // last entry - remove errList from filemap delete(filemap, line) } // if filemap is empty, eliminate from errmap if len(filemap) == 0 { delete(errmap, filename) } } // there should be no expected errors left if len(errmap) > 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:45:33 UTC 2024 - 13.8K bytes - Viewed (0) -
src/go/types/check_test.go
// not the last entry - slide entries down (don't reorder) copy(errList[index:], errList[index+1:]) filemap[line] = errList[:n] } else { // last entry - remove errList from filemap delete(filemap, line) } // if filemap is empty, eliminate from errmap if len(filemap) == 0 { delete(errmap, filename) } } // there should be no expected errors left if len(errmap) > 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:45:33 UTC 2024 - 14.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/python/testing.py
path_b: Path of a directory or a file to be the denominator of the ratio. Returns: Ratio of size of path_a / size of path_b. """ size_a = get_dir_size(path_a) size_b = get_dir_size(path_b)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 21 08:51:46 UTC 2024 - 2.2K bytes - Viewed (0) -
docs/debugging/xl-meta/main.go
if i > 1 { file = fmt.Sprintf("%s/part.%d", file, i) filemap[file] = make(map[string]string) filemap[file][verID] = fmt.Sprintf("%s/part.%d/shard-%02d-of-%02d", verID, i, idx, ei.V2Obj.EcN+ei.V2Obj.EcM) filemap[file][verID+".json"] = buf.String() } partDataToVerID[dataFile] = [2]string{file, verID} }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 31 14:49:23 UTC 2024 - 38.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/string_utils.cc
#include <cstring> #include <vector> #include "absl/status/status.h" namespace mlir::TFL { absl::Status MiniDynamicBuffer::AddString(const char* str, size_t len) { // If `data_.size() + len` is greater than `SIZE_MAX` then the left hand side // will overflow to something less than max_length_. After checking `len <= // max_length_` we can use this subtraction to check for overflow.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 2.9K bytes - Viewed (0) -
src/go/types/generate_test.go
// If filesToWrite is set, write the generated content to disk. // In the special case of "all", write all files in filemap. write := *filesToWrite != "" var files []string // files to process if *filesToWrite != "" && *filesToWrite != "all" { files = strings.Split(*filesToWrite, ",") } else { for file := range filemap { files = append(files, file) } } for _, filename := range files { generate(t, filename, write)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 16.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java
if (robotsTxt != null) { final String[] sitemaps = robotsTxt.getSitemaps(); if (sitemaps.length > 0) { crawlerContext.addSitemaps(sitemaps); } final RobotsTxt.Directive directive = robotsTxt.getMatchedDirective(userAgent);
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu May 09 09:28:25 UTC 2024 - 41K bytes - Viewed (0) -
tests/create_test.go
data := []User{} if err := DB.Create(&data).Error; err != gorm.ErrEmptySlice { t.Errorf("no data should be created, got %v", err) } sliceMap := []map[string]interface{}{} if err := DB.Model(&User{}).Create(&sliceMap).Error; err != gorm.ErrEmptySlice { t.Errorf("no data should be created, got %v", err) } } func TestCreateInvalidSlice(t *testing.T) { users := []*User{
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Tue Mar 19 03:50:28 UTC 2024 - 26.4K bytes - Viewed (0)