Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 398 for i$ (0.08 sec)

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

          input: String,
          pos: Int,
          limit: Int,
        ): Int {
          var i = pos
          while (i < limit) {
            when (input[i]) {
              '[' -> {
                while (++i < limit) {
                  if (input[i] == ']') break
                }
              }
              ':' -> return i
            }
            i++
          }
          return limit // No colon.
        }
    
        private fun parsePort(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  2. plugin/pkg/admission/limitranger/admission_test.go

    	for i := 0; i < numContainers; i++ {
    		pod.Spec.Containers = append(pod.Spec.Containers, api.Container{
    			Image:     "foo:V" + strconv.Itoa(i),
    			Resources: resources,
    			Name:      "foo-" + strconv.Itoa(i),
    		})
    	}
    	return pod
    }
    
    func validPodInit(pod api.Pod, resources ...api.ResourceRequirements) api.Pod {
    	for i := 0; i < len(resources); i++ {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    			switch watchCalls {
    			case 0:
    				w = watch.NewFakeWithChanSize(10, false)
    				for i := 2; i < 8; i++ {
    					w.Add(makePod(i))
    				}
    				// Emit an error to force relisting.
    				w.Error(nil)
    				w.Stop()
    			case 1:
    				w = watch.NewFakeWithChanSize(10, false)
    				for i := 12; i < 18; i++ {
    					w.Add(makePod(i))
    				}
    				w.Stop()
    			default:
    				err = fmt.Errorf("unexpected watch call")
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  4. cmd/xl-storage_test.go

    	var deleted [len(versions)]bool
    	checkVerExist := func(t testing.TB) {
    		t.Helper()
    		for i := range versions {
    			shouldExist := !deleted[i]
    			fi, err := xl.ReadVersion(ctx, "", volume, object, versions[i], ReadOptions{})
    			if shouldExist {
    				if err != nil {
    					t.Fatalf("Version %s should exist, but got err %v", versions[i], err)
    				}
    				return
    			}
    			if err != errFileVersionNotFound {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 17:45:28 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go

    			return true
    		}
    		for i := range s.Items.JSONSchemas {
    			if schemaHasRecurse(&s.Items.JSONSchemas[i], pred) {
    				return true
    			}
    		}
    	}
    	for i := range s.AllOf {
    		if schemaHasRecurse(&s.AllOf[i], pred) {
    			return true
    		}
    	}
    	for i := range s.AnyOf {
    		if schemaHasRecurse(&s.AnyOf[i], pred) {
    			return true
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 82.6K bytes
    - Viewed (0)
  6. src/math/big/float_test.go

    	preci := 200 // precision of integer part
    	precf := 20  // precision of fractional part
    
    	for i := 0; i < 8; i++ {
    		// compute accurate (not rounded) result z
    		bits := Bits{preci - 1}
    		if i&3 != 0 {
    			bits = append(bits, 0)
    		}
    		if i&2 != 0 {
    			bits = append(bits, -1)
    		}
    		if i&1 != 0 {
    			bits = append(bits, -precf)
    		}
    		z := bits.Float()
    
    		// compute accurate x as z*y
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 51.9K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/DefaultServiceRegistry.java

            } else {
                ServiceProvider[] parentServiceProviders = new ServiceProvider[parents.length];
                for (int i = 0; i < parents.length; i++) {
                    parentServiceProviders[i] = toParentServices(parents[i]);
                }
                parentServices = new CompositeServiceProvider(parentServiceProviders);
            }
            return parentServices;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  8. cmd/object-api-listobjects_test.go

    	for i := 0; i < 20000; i++ {
    		key := "obj" + strconv.Itoa(i)
    		_, err = obj.PutObject(context.Background(), bucket, key, mustGetPutObjReader(b, bytes.NewBufferString(key), int64(len(key)), "", ""), ObjectOptions{})
    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    
    	b.ResetTimer()
    
    	// List the buckets over and over and over.
    	for i := 0; i < b.N; i++ {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
  9. src/crypto/tls/handshake_client_test.go

    	for i := 0; i < 4; i++ {
    		cache.Put(keys[i], &cs[i])
    	}
    	for i := 0; i < 4; i++ {
    		if s, ok := cache.Get(keys[i]); !ok || s != &cs[i] {
    			t.Fatalf("session cache failed lookup for added key: %s", keys[i])
    		}
    	}
    
    	// Add 2 more entries to the cache. First 2 should be evicted.
    	for i := 4; i < 6; i++ {
    		cache.Put(keys[i], &cs[i])
    	}
    	for i := 0; i < 2; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go

    func fairAlloc(demands []float64, capacity float64) []float64 {
    	count := len(demands)
    	indices := make([]int, count)
    	for i := 0; i < count; i++ {
    		indices[i] = i
    	}
    	sort.Slice(indices, func(i, j int) bool { return demands[indices[i]] < demands[indices[j]] })
    	alloc := make([]float64, count)
    	var next int
    	var prevAlloc float64
    	for ; next < count; next++ {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 12:55:23 UTC 2023
    - 58.4K bytes
    - Viewed (0)
Back to top