Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 160 for KV (0.03 sec)

  1. internal/config/subnet/config.go

    const (
    	baseURL    = "https://subnet.min.io"
    	baseURLDev = "http://localhost:9000"
    )
    
    // DefaultKVS - default KV config for subnet settings
    var DefaultKVS = config.KVS{
    	config.KV{
    		Key:   config.License, // Deprecated Dec 2021
    		Value: "",
    	},
    	config.KV{
    		Key:   config.APIKey,
    		Value: "",
    	},
    	config.KV{
    		Key:   config.Proxy,
    		Value: "",
    	},
    }
    
    // Config represents the subnet related configuration
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. src/os/exec/exec_posix_test.go

    			if cmd.Env != nil {
    				t.Fatalf("test requires helperCommand not to set Env field")
    			}
    			cmd.Dir = tc.dir
    
    			var pwds []string
    			for _, kv := range cmd.Environ() {
    				if strings.HasPrefix(kv, "PWD=") {
    					pwds = append(pwds, strings.TrimPrefix(kv, "PWD="))
    				}
    			}
    
    			wantPWDs := []string{tc.want}
    			if tc.dir == "" {
    				if _, ok := os.LookupEnv("PWD"); !ok {
    					wantPWDs = nil
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 20:21:32 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/experimental/tac/transforms/pick_subgraphs.cc

        const Subgraph& subgraph = subgraphs_.find(output)->second;
        for (const auto& kv : subgraph.aggregated_cost_with_decisions) {
          if (minimum_cost > kv.second.total_cost) {
            minimum_cost = kv.second.total_cost;
            preferred_graph_view = &kv.second;
            decisions_[output] = kv.first;
          }
        }
    
        processing_queue.push(preferred_graph_view);
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 24 15:10:02 UTC 2022
    - 19.7K bytes
    - Viewed (0)
  4. internal/config/callhome/callhome.go

    	"github.com/minio/pkg/v3/env"
    )
    
    // Callhome related keys
    const (
    	Enable    = "enable"
    	Frequency = "frequency"
    )
    
    // DefaultKVS - default KV config for subnet settings
    var DefaultKVS = config.KVS{
    	config.KV{
    		Key:   Enable,
    		Value: "off",
    	},
    	config.KV{
    		Key:   Frequency,
    		Value: "24h",
    	},
    }
    
    // callhomeCycleDefault is the default interval between two callhome cycles (24hrs)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/experimental/tac/execution_metadata_exporter.cc

      std::vector<float> device_costs(hardware_map.size(), -1.f);
    
      for (const auto& kv : hardware_map) {
        auto cost_attr = device_costs_attr.getNamed(kv.first);
        if (!cost_attr.has_value()) return std::nullopt;
        float cost = mlir::dyn_cast_or_null<mlir::FloatAttr>(cost_attr->getValue())
                         .getValueAsDouble();
        device_costs[kv.second] = cost;
      }
      return device_costs;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 06:11:34 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. internal/config/compress/compress.go

    )
    
    // DefaultKVS - default KV config for compression settings
    var (
    	DefaultKVS = config.KVS{
    		config.KV{
    			Key:   config.Enable,
    			Value: config.EnableOff,
    		},
    		config.KV{
    			Key:   AllowEncrypted,
    			Value: config.EnableOff,
    		},
    		config.KV{
    			Key:   Extensions,
    			Value: DefaultExtensions,
    		},
    		config.KV{
    			Key:   MimeTypes,
    			Value: DefaultMimeTypes,
    		},
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/cli-runtime/pkg/resource/kustomizevisitor_test.go

    	b := newDefaultBuilder()
    	kv := KustomizeVisitor{
    		mapper:  b.mapper,
    		dirPath: ".",
    		schema:  b.schema,
    		fSys:    fSys,
    	}
    	tv := &testVisitor{}
    	if err := kv.Visit(tv.Handle); err != nil {
    		t.Fatal(err)
    	}
    	if len(tv.Infos) != 4 {
    		t.Fatal(dump.Pretty(tv.Infos))
    	}
    	if string(kv.yml) != expectedContent {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 14 00:05:53 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store.go

    		for i, kv := range getResp.Kvs {
    			if paging && int64(v.Len()) >= opts.Predicate.Limit {
    				hasMore = true
    				break
    			}
    			lastKey = kv.Key
    
    			data, _, err := s.transformer.TransformFromStorage(ctx, kv.Value, authenticatedDataString(kv.Key))
    			if err != nil {
    				return storage.NewInternalErrorf("unable to transform key %q: %v", kv.Key, err)
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  9. src/syscall/env_unix.go

    			if value[i] == 0 {
    				return EINVAL
    			}
    		}
    	}
    
    	envLock.Lock()
    	defer envLock.Unlock()
    
    	i, ok := env[key]
    	kv := key + "=" + value
    	if ok {
    		envs[i] = kv
    	} else {
    		i = len(envs)
    		envs = append(envs, kv)
    	}
    	env[key] = i
    	runtimeSetenv(key, value)
    	return nil
    }
    
    func Clearenv() {
    	envOnce.Do(copyenv) // prevent copyenv in Getenv/Setenv
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 20:58:35 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  10. pkg/monitoring/monitortest/test.go

    			m.t.Logf("%v: no rows", *metric.Name)
    		}
    		for _, row := range metric.Metric {
    			m := Metric{Name: *metric.Name, Labels: map[string]string{}, Value: display(row)}
    			for _, kv := range row.Label {
    				k, v := *kv.Name, *kv.Value
    				m.Labels[k] = v
    			}
    			metrics = append(metrics, m)
    		}
    	}
    	return metrics
    }
    
    type Metric struct {
    	Name   string
    	Labels map[string]string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Sep 13 16:04:48 UTC 2023
    - 7.2K bytes
    - Viewed (0)
Back to top