Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 102 for cfg (0.03 sec)

  1. cni/pkg/nodeagent/fakes_test.go

    func (r *fakeIptablesDeps) AddInpodMarkIPRule(cfg *iptables.Config) error {
    	r.AddInpodMarkIPRuleCnt.Add(1)
    	return nil
    }
    
    func (r *fakeIptablesDeps) DelInpodMarkIPRule(cfg *iptables.Config) error {
    	r.DelInpodMarkIPRuleCnt.Add(1)
    	return nil
    }
    
    func (r *fakeIptablesDeps) AddLoopbackRoutes(cfg *iptables.Config) error {
    	r.AddLoopbackRoutesCnt.Add(1)
    	return r.AddRouteErr
    }
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jun 28 23:33:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. cmd/object-api-utils.go

    	globalCompressConfigMu.Lock()
    	cfg := globalCompressConfig
    	globalCompressConfigMu.Unlock()
    
    	return !excludeForCompression(header, object, cfg)
    }
    
    // Eliminate the non-compressible objects.
    func excludeForCompression(header http.Header, object string, cfg compress.Config) bool {
    	objStr := object
    	contentType := header.Get(xhttp.ContentType)
    	if !cfg.Enabled {
    		return true
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/TestMutation.java

    package jcifs.tests;
    
    
    import java.util.Map;
    
    
    /**
     * @author mbechler
     *
     */
    public interface TestMutation {
    
        /**
         * @param cfg
         * @return mutated configuration
         */
        public Map<String, String> mutate ( Map<String, String> cfg );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1K bytes
    - Viewed (0)
  4. cni/pkg/install/cniconfig_test.go

    			PluginLogLevel:   "debug",
    			CNIAgentRunDir:   kubeconfigFilename,
    		}
    
    		cfg := config.InstallConfig{
    			CNIConfName:      c.specifiedConfName,
    			ChainedCNIPlugin: c.chainedCNIPlugin,
    			PluginLogLevel:   "debug",
    			CNIAgentRunDir:   kubeconfigFilename,
    		}
    		test := func(cfg config.InstallConfig) func(t *testing.T) {
    			return func(t *testing.T) {
    				// Create temp directory for files
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. internal/bucket/replication/replication_test.go

    			cfg, err := ParseConfig(bytes.NewReader([]byte(tc.inputConfig)))
    			if err != nil {
    				t.Fatalf("Got unexpected error: %v", err)
    			}
    			if got := cfg.HasActiveRules(tc.prefix, false); got != tc.expectedNonRec {
    				t.Fatalf("Expected result with recursive set to false: `%v`, got: `%v`", tc.expectedNonRec, got)
    			}
    			if got := cfg.HasActiveRules(tc.prefix, true); got != tc.expectedRec {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

        }
    
    
        /**
         * 
         * @param cfg
         * @param t
         * @param dst
         * @param dstIndex
         */
        public static void writeUTime ( Configuration cfg, long t, byte[] dst, int dstIndex ) {
            if ( t == 0L || t == 0xFFFFFFFFFFFFFFFFL ) {
                SMBUtil.writeInt4(0xFFFFFFFF, dst, dstIndex);
                return;
            }
    
            if ( cfg.getLocalTimezone().inDaylightTime(new Date()) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 10.6K bytes
    - Viewed (0)
  7. cmd/bucket-targets.go

    	}
    }
    
    // create minio-go clients for buckets having remote targets
    func (sys *BucketTargetSys) set(bucket string, meta BucketMetadata) {
    	cfg := meta.bucketTargetConfig
    	if cfg == nil || cfg.Empty() {
    		return
    	}
    	sys.Lock()
    	defer sys.Unlock()
    	for _, tgt := range cfg.Targets {
    		tgtClient, err := sys.getRemoteTargetClient(&tgt)
    		if err != nil {
    			replLogIf(GlobalContext, err)
    			continue
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComReadAndX.java

            this.fid = fid;
            this.offset = offset;
            this.maxCount = this.minCount = maxCount;
        }
    
    
        @Override
        protected int getBatchLimit ( Configuration cfg, byte cmd ) {
            return cmd == SMB_COM_CLOSE ? cfg.getBatchLimit("ReadAndX.Close") : 0;
        }
    
    
        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.6K bytes
    - Viewed (0)
  9. cmd/config.go

    		})
    		if err != nil {
    			return err
    		}
    	}
    	return saveConfig(ctx, objAPI, historyFile, kv)
    }
    
    func saveServerConfig(ctx context.Context, objAPI ObjectLayer, cfg interface{}) error {
    	data, err := json.Marshal(cfg)
    	if err != nil {
    		return err
    	}
    
    	configFile := path.Join(minioConfigPrefix, minioConfigFile)
    	if GlobalKMS != nil {
    		data, err = config.EncryptBytes(GlobalKMS, data, kms.Context{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 23 10:07:06 UTC 2023
    - 6K bytes
    - Viewed (0)
  10. istioctl/pkg/describe/describe.go

    	var cfgs []*config.Config
    
    	for _, cfg := range configs {
    		labels := cfg.Spec.(Workloader).GetSelector().GetMatchLabels()
    		selector := klabels.SelectorFromSet(labels)
    		if selector.Matches(podsLabels) {
    			cfgs = append(cfgs, cfg)
    		}
    	}
    
    	return cfgs
    }
    
    // printConfigs prints the applied configs based on the member's type.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
Back to top