Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 2,133 for allocm (0.14 sec)

  1. pilot/pkg/security/authz/builder/testdata/http/dry-run-allow-in.yaml

    Yangmin Zhu <******@****.***> 1617305101 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 01 19:25:01 UTC 2021
    - 297 bytes
    - Viewed (0)
  2. pilot/pkg/security/authz/builder/testdata/http/dry-run-allow-out.yaml

    Yangmin Zhu <******@****.***> 1617651067 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 05 19:31:07 UTC 2021
    - 507 bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/fscc/FileFsFullSizeInformation.java

            bufferIndex += 4;
    
            return bufferIndex - start;
        }
    
    
        @Override
        public String toString () {
            return new String(
                "SmbInfoAllocation[" + "alloc=" + this.alloc + ",free=" + this.free + ",sectPerAlloc=" + this.sectPerAlloc + ",bytesPerSect="
                        + this.bytesPerSect + "]");
        }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.7K bytes
    - Viewed (0)
  4. test/fixedbugs/issue15281.go

    			println("BUG: f2: after alloc: expected delta at least 9MB, got: ", delta)
    			println(x)
    		}
    		x = nil
    		if delta := inuse() - start; delta > 1<<20 {
    			println("BUG: f2: after alloc: expected delta below 1MB, got: ", delta)
    			println(x)
    		}
    	}
    }
    
    func inuse() int64 {
    	runtime.GC()
    	var st runtime.MemStats
    	runtime.ReadMemStats(&st)
    	return int64(st.Alloc)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 17 09:45:44 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/fscc/FileFsSizeInformation.java

            bufferIndex += 4;
    
            return bufferIndex - start;
        }
    
    
        @Override
        public String toString () {
            return new String(
                "SmbInfoAllocation[" + "alloc=" + this.alloc + ",free=" + this.free + ",sectPerAlloc=" + this.sectPerAlloc + ",bytesPerSect="
                        + this.bytesPerSect + "]");
        }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.5K bytes
    - Viewed (0)
  6. pkg/registry/core/service/portallocator/allocator.go

    	}
    	return r, nil
    }
    
    // Free returns the count of port left in the range.
    func (r *PortAllocator) Free() int {
    	return r.alloc.Free()
    }
    
    // Used returns the count of ports used in the range.
    func (r *PortAllocator) Used() int {
    	return r.portRange.Size - r.alloc.Free()
    }
    
    // Allocate attempts to reserve the provided port. ErrNotInRange or
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 07:15:02 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. src/sync/oncefunc_test.go

    	calls := 0
    	f := sync.OnceFunc(func() { calls++ })
    	allocs := testing.AllocsPerRun(10, f)
    	if calls != 1 {
    		t.Errorf("want calls==1, got %d", calls)
    	}
    	if allocs != 0 {
    		t.Errorf("want 0 allocations per call, got %v", allocs)
    	}
    }
    
    func TestOnceValue(t *testing.T) {
    	calls := 0
    	f := sync.OnceValue(func() int {
    		calls++
    		return calls
    	})
    	allocs := testing.AllocsPerRun(10, func() { f() })
    	value := f()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:31:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  8. src/crypto/internal/nistec/nistec_test.go

    				t.Fatal(err)
    			}
    			out = p.BytesCompressed()
    			if _, err := p.SetBytes(out); err != nil {
    				t.Fatal(err)
    			}
    		}); allocs > 0 {
    			t.Errorf("expected zero allocations, got %0.1f", allocs)
    		}
    	})
    	t.Run("P256", func(t *testing.T) {
    		if allocs := testing.AllocsPerRun(10, func() {
    			p := nistec.NewP256Point().SetGenerator()
    			scalar := make([]byte, 32)
    			rand.Read(scalar)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 12 18:48:23 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/types_jsonschema.go

    	// - mac: a MAC address as parsed by Golang net.ParseMAC
    	// - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$
    	// - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:21 UTC 2023
    - 24.7K bytes
    - Viewed (0)
  10. pkg/registry/core/service/allocator/storage/storage.go

    	var once sync.Once
    	return &Etcd{
    		alloc:     alloc,
    		storage:   storage,
    		baseKey:   baseKey,
    		resource:  config.GroupResource,
    		destroyFn: func() { once.Do(d) },
    	}, nil
    }
    
    // Allocate attempts to allocate the item.
    func (e *Etcd) Allocate(offset int) (bool, error) {
    	e.lock.Lock()
    	defer e.lock.Unlock()
    
    	err := e.tryUpdate(func() error {
    		ok, err := e.alloc.Allocate(offset)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 6.5K bytes
    - Viewed (0)
Back to top