Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for Tanghe (0.17 sec)

  1. cmd/endpoint-ellipses.go

    		return layout, errInvalidArgument
    	}
    
    	for _, list := range pools {
    		var endpointsList endpointsList
    
    		for _, arg := range list.args {
    			switch {
    			case ellipses.HasList(arg):
    				patterns, err := ellipses.FindListPatterns(arg)
    				if err != nil {
    					return layout, err
    				}
    				for _, exp := range patterns.Expand() {
    					for _, ep := range exp {
    						if err := endpointsList.add(ep); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  2. migrator/migrator.go

    				}
    				var (
    					parseIndexes          = stmt.Schema.ParseIndexes()
    					parseCheckConstraints = stmt.Schema.ParseCheckConstraints()
    				)
    				for _, dbName := range stmt.Schema.DBNames {
    					var foundColumn gorm.ColumnType
    
    					for _, columnType := range columnTypes {
    						if columnType.Name() == dbName {
    							foundColumn = columnType
    							break
    						}
    					}
    
    					if foundColumn == nil {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K bytes
    - Viewed (0)
  3. cmd/erasure-metadata.go

    			h.Reset()
    		}
    	}
    
    	metaHashCountMap := make(map[string]int)
    	for _, hash := range metaHashes {
    		if hash == "" {
    			continue
    		}
    		metaHashCountMap[hash]++
    	}
    
    	maxHash := ""
    	maxCount := 0
    	for hash, count := range metaHashCountMap {
    		if count > maxCount {
    			maxCount = count
    			maxHash = hash
    		}
    	}
    
    	if maxCount < quorum {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  4. cmd/metrics-resource.go

    		resourceMetricsMapMu.RLock()
    		defer resourceMetricsMapMu.RUnlock()
    		for _, subSys := range subSystems {
    			stats, found := resourceMetricsMap[subSys]
    			if found {
    				requireAvgMax := true
    				if subSys == driveSubsystem {
    					requireAvgMax = false
    				}
    				for _, m := range stats {
    					metrics = append(metrics, prepareResourceMetrics(m, subSys, requireAvgMax)...)
    				}
    			}
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/net.go

    	}
    
    	return errors.Join(consErr...)
    }
    
    func (s *NetServer) buildZtunnelSnapshot(ambientPodUIDs map[types.UID]*corev1.Pod) error {
    	// first add all the pods as empty:
    	for uid := range ambientPodUIDs {
    		s.currentPodSnapshot.Ensure(string(uid))
    	}
    
    	// populate full pod snapshot from cgroups
    	return s.scanProcForPodsAndCache(ambientPodUIDs)
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  6. cmd/sftp-server.go

    	}
    }
    
    func filterAlgos(arg string, want []string, allowed []string) []string {
    	var filteredAlgos []string
    	found := false
    	for _, algo := range want {
    		if len(algo) == 0 {
    			continue
    		}
    		for _, allowedAlgo := range allowed {
    			algo := strings.ToLower(strings.TrimSpace(algo))
    			if algo == allowedAlgo {
    				filteredAlgos = append(filteredAlgos, algo)
    				found = true
    				break
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  7. internal/grid/handlers.go

    							}
    						}
    					}
    				}()
    			}
    			outT := make(chan Resp)
    			outDone := make(chan struct{})
    			go func() {
    				defer xioutil.SafeClose(outDone)
    				dropOutput := false
    				for v := range outT {
    					if dropOutput {
    						continue
    					}
    					dst, err := v.MarshalMsg(GetByteBufferCap(v.Msgsize()))
    					if err != nil {
    						gridLogOnceIf(ctx, err, err.Error())
    					}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  8. cni/pkg/iptables/iptables.go

    	optionalDeleteCmds := [][]string{
    		// flush-then-delete our created chains
    		{"-t", iptablesconstants.MANGLE, "-F", ChainInpodPrerouting},
    		{"-t", iptablesconstants.MANGLE, "-F", ChainInpodOutput},
    		{"-t", iptablesconstants.NAT, "-F", ChainInpodOutput},
    		{"-t", iptablesconstants.MANGLE, "-X", ChainInpodPrerouting},
    		{"-t", iptablesconstants.MANGLE, "-X", ChainInpodOutput},
    		{"-t", iptablesconstants.NAT, "-X", ChainInpodOutput},
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  9. scan.go

    	if db.Statement.Schema != nil {
    		for idx, name := range columns {
    			if field := db.Statement.Schema.LookUpField(name); field != nil {
    				values[idx] = reflect.New(reflect.PtrTo(field.FieldType)).Interface()
    				continue
    			}
    			values[idx] = new(interface{})
    		}
    	} else if len(columnTypes) > 0 {
    		for idx, columnType := range columnTypes {
    			if columnType.ScanType() != nil {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 09:53:11 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  10. cmd/format-erasure.go

    	newFormats := make([][]*formatErasureV3, setCount)
    	for i := range refFormat.Erasure.Sets {
    		newFormats[i] = make([]*formatErasureV3, setDriveCount)
    	}
    	currentDisksInfo := make([][]DiskInfo, setCount)
    	for i := range refFormat.Erasure.Sets {
    		currentDisksInfo[i] = make([]DiskInfo, setDriveCount)
    	}
    	for i := range refFormat.Erasure.Sets {
    		for j := range refFormat.Erasure.Sets[i] {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
Back to top