Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 318 for atom (0.57 sec)

  1. okhttp/src/main/kotlin/okhttp3/Protocol.kt

       *
       * [rfc_7540_34]: https://tools.ietf.org/html/rfc7540.section-3.4
       */
      H2_PRIOR_KNOWLEDGE("h2_prior_knowledge"),
    
      /**
       * QUIC (Quick UDP Internet Connection) is a new multiplexed and secure transport atop UDP,
       * designed from the ground up and optimized for HTTP/2 semantics. HTTP/1.1 semantics are layered
       * on HTTP/2.
       *
       * QUIC is not natively supported by OkHttp, but provided to allow a theoretical interceptor that
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:17:33 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/util.go

    	if err != nil {
    		return 0, err
    	}
    	if emptyListAccessor == nil {
    		return 0, fmt.Errorf("unable to extract a list accessor from %T", emptyList)
    	}
    
    	currentResourceVersion, err := strconv.Atoi(emptyListAccessor.GetResourceVersion())
    	if err != nil {
    		return 0, err
    	}
    
    	if currentResourceVersion == 0 {
    		return 0, fmt.Errorf("the current resource version must be greater than 0")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:05:06 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. logger/sql.go

    		sql = newSQL.String()
    	} else {
    		sql = numericPlaceholder.ReplaceAllString(sql, "$$$1$$")
    
    		sql = numericPlaceholderRe.ReplaceAllStringFunc(sql, func(v string) string {
    			num := v[1 : len(v)-1]
    			n, _ := strconv.Atoi(num)
    
    			// position var start from 1 ($1, $2)
    			n -= 1
    			if n >= 0 && n <= len(vars)-1 {
    				return vars[n]
    			}
    			return v
    		})
    	}
    
    	return sql
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. cmd/storage-rest-server.go

    	if !s.IsValid(w, r) {
    		return
    	}
    	volume := r.Form.Get(storageRESTVolume)
    	filePath := r.Form.Get(storageRESTFilePath)
    	offset, err := strconv.Atoi(r.Form.Get(storageRESTOffset))
    	if err != nil {
    		s.writeErrorResponse(w, err)
    		return
    	}
    	length, err := strconv.Atoi(r.Form.Get(storageRESTLength))
    	if err != nil {
    		s.writeErrorResponse(w, err)
    		return
    	}
    	if offset < 0 || length < 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  5. src/cmd/internal/objabi/flag.go

    func (c *count) String() string {
    	return fmt.Sprint(int(*c))
    }
    
    func (c *count) Set(s string) error {
    	switch s {
    	case "true":
    		*c++
    	case "false":
    		*c = 0
    	default:
    		n, err := strconv.Atoi(s)
    		if err != nil {
    			return fmt.Errorf("invalid count %q", s)
    		}
    		*c = count(n)
    	}
    	return nil
    }
    
    func (c *count) Get() interface{} {
    	return int(*c)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 10 23:08:09 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  6. cmd/background-heal-ops.go

    		}
    	}
    }
    
    func newHealRoutine() *healRoutine {
    	workers := runtime.GOMAXPROCS(0) / 2
    
    	if envHealWorkers := env.Get("_MINIO_HEAL_WORKERS", ""); envHealWorkers != "" {
    		if numHealers, err := strconv.Atoi(envHealWorkers); err != nil {
    			bugLogIf(context.Background(), fmt.Errorf("invalid _MINIO_HEAL_WORKERS value: %w", err))
    		} else {
    			workers = numHealers
    		}
    	}
    
    	if workers == 0 {
    		workers = 4
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. src/crypto/tls/bogo_shim_test.go

    		}
    		cfg.EncryptedClientHelloConfigList = echConfigList
    		cfg.MinVersion = VersionTLS13
    	}
    
    	if len(*curves) != 0 {
    		for _, curveStr := range *curves {
    			id, err := strconv.Atoi(curveStr)
    			if err != nil {
    				log.Fatalf("failed to parse curve id %q: %s", curveStr, err)
    			}
    			cfg.CurvePreferences = append(cfg.CurvePreferences, CurveID(id))
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:25:39 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  8. pkg/kube/apimirror/probe.go

    		return json.Marshal(intstr.StrVal)
    	default:
    		return []byte{}, fmt.Errorf("impossible IntOrString.Type")
    	}
    }
    
    func (intstr *IntOrString) IntValue() int {
    	if intstr.Type == String {
    		i, _ := strconv.Atoi(intstr.StrVal)
    		return i
    	}
    	return int(intstr.IntVal)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. pilot/pkg/model/context.go

    	}
    
    	parts := strings.Split(ver, ".")
    	// we are guaranteed to have at least major and minor based on the regex
    	major, _ := strconv.Atoi(parts[0])
    	minor, _ := strconv.Atoi(parts[1])
    	// Assume very large patch release if not set
    	patch := 65535
    	if len(parts) > 2 {
    		patch, _ = strconv.Atoi(parts[2])
    	}
    	return &IstioVersion{Major: major, Minor: minor, Patch: patch}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 33.6K bytes
    - Viewed (1)
  10. cmd/kube-proxy/app/conntrack.go

    	}
    
    	return false, errors.New("no sysfs mounted")
    }
    
    func readIntStringFile(filename string) (int, error) {
    	b, err := os.ReadFile(filename)
    	if err != nil {
    		return -1, err
    	}
    	return strconv.Atoi(strings.TrimSpace(string(b)))
    }
    
    func writeIntStringFile(filename string, value int) error {
    	return os.WriteFile(filename, []byte(strconv.Itoa(value)), 0640)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top