Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for fallocate (0.21 sec)

  1. cluster/gce/util.sh

          --project "$NETWORK_PROJECT" \
          --router-region "$REGION" \
          --router "$NETWORK-nat-router" \
          --nat-primary-subnet-ip-ranges \
          --auto-allocate-nat-external-ips \
          ${GCE_PRIVATE_CLUSTER_PORTS_PER_VM:+--min-ports-per-vm ${GCE_PRIVATE_CLUSTER_PORTS_PER_VM}}
      fi
    }
    
    function delete-all-firewall-rules() {
      local -a fws
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:17 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet.go

    	attrs := &lifecycle.PodAdmitAttributes{Pod: pod, OtherPods: pods}
    	if utilfeature.DefaultFeatureGate.Enabled(features.InPlacePodVerticalScaling) {
    		// Use allocated resources values from checkpoint store (source of truth) to determine fit
    		otherPods := make([]*v1.Pod, 0, len(pods))
    		for _, p := range pods {
    			op := p.DeepCopy()
    			kl.updateContainerResourceAllocation(op)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Maps.java

        }
    
        @Override
        public void forEach(Consumer<? super K> action) {
          checkNotNull(action);
          // avoids entry allocation for those maps that allocate entries on iteration
          map.forEach((k, v) -> action.accept(k));
        }
    
        @Override
        public int size() {
          return map().size();
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 165.9K bytes
    - Viewed (0)
  4. tensorflow/c/c_api.cc

      for (int i = 0; i < len; ++i) {
        values[i] = TF_NewBuffer();
        status->status = MessageToBuffer(attr->list().shape(i), values[i]);
        if (!status->status.ok()) {
          // Delete everything allocated to far, the operation has failed.
          for (int j = 0; j <= i; ++j) {
            TF_DeleteBuffer(values[j]);
          }
          return;
        }
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

        a single value from first replica.
    
        The benefit of this optimization is reduced memory requirement on host. For
        multiple writes (one from each replica) to such variables, the host would
        allocate buffer space to receive the device output from all replicas, which is
        not required. We can use the output of first replica in such cases.
      }];
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  6. cmd/bucket-replication.go

    	}
    
    	resyncStatus := ResyncFailed
    	defer func() {
    		s.markStatus(resyncStatus, opts, objectAPI)
    		globalSiteResyncMetrics.incBucket(opts, resyncStatus)
    		s.workerCh <- struct{}{}
    	}()
    	// Allocate new results channel to receive ObjectInfo.
    	objInfoCh := make(chan itemOrErr[ObjectInfo])
    	cfg, err := getReplicationConfig(ctx, opts.bucket)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

      // Hold current ND index in input tensor when computing
      // permutation.
      llvm::OwningArrayRef<uint64_t> current_input_index(
          input_tensor.getType().getRank());
    
      // Allocate raw data and retrieve address of the first char in its raw
      // buffer.
      llvm::OwningArrayRef<char> raw_output_arr(input_tensor.getRawData());
      char* raw_output = (char*)raw_output_arr.data();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  8. src/database/sql/sql.go

    // The returned connRequestDelHandle can be used to remove the item from
    // the set.
    func (s *connRequestSet) Add(v chan connRequest) connRequestDelHandle {
    	idx := len(s.s)
    	// TODO(bradfitz): for simplicity, this always allocates a new int-sized
    	// allocation to store the index. But generally the set will be small and
    	// under a scannable-threshold. As an optimization, we could permit the *int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  9. src/database/sql/sql_test.go

    	n := int(testing.AllocsPerRun(1000, func() {
    		_, release, err := c.grabConn(ctx)
    		if err != nil {
    			t.Fatal(err)
    		}
    		release(nil)
    	}))
    	if n > 0 {
    		t.Fatalf("Conn.grabConn allocated %v objects; want 0", n)
    	}
    }
    
    func BenchmarkGrabConn(b *testing.B) {
    	b.ReportAllocs()
    	c := new(Conn)
    	ctx := context.Background()
    	for i := 0; i < b.N; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  10. pkg/printers/internalversion/printers_test.go

    				t.Fatalf("expected to have at least one TableRow, but got: %d", len(rows))
    			}
    
    			func() {
    				defer func() {
    					if err := recover(); err != nil {
    						// Same as stdlib http server code. Manually allocate stack
    						// trace buffer size to prevent excessively large logs
    						const size = 64 << 10
    						buf := make([]byte, size)
    						buf = buf[:runtime.Stack(buf, false)]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
Back to top