Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for newBuf (0.06 sec)

  1. cmd/erasure-decode.go

    	newBuf := dst
    	if len(dst) != len(p.readers) {
    		newBuf = make([][]byte, len(p.readers))
    	} else {
    		for i := range newBuf {
    			newBuf[i] = newBuf[i][:0]
    		}
    	}
    	var newBufLK sync.RWMutex
    
    	if p.offset+p.shardSize > p.shardFileSize {
    		p.shardSize = p.shardFileSize - p.offset
    	}
    	if p.shardSize == 0 {
    		return newBuf, nil
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/FileUtil.java

                    size += len;
                    if (size == bufferSize) {
                        final char[] newBuf = new char[bufferSize + initialCapacity];
                        System.arraycopy(buf, 0, newBuf, 0, bufferSize);
                        buf = newBuf;
                        bufferSize += initialCapacity;
                    }
                }
                return new String(buf, 0, size);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. src/bufio/scan.go

    				return false
    			}
    			newSize := len(s.buf) * 2
    			if newSize == 0 {
    				newSize = startBufSize
    			}
    			newSize = min(newSize, s.maxTokenSize)
    			newBuf := make([]byte, newSize)
    			copy(newBuf, s.buf[s.start:s.end])
    			s.buf = newBuf
    			s.end -= s.start
    			s.start = 0
    		}
    		// Finally we can read some input. Make sure we don't get stuck with
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 23 09:06:30 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  4. cmd/xl-storage.go

    	// Convert to slice.
    	dirs = dirs[:0]
    	for dir := range foundDirs {
    		dirs = append(dirs, dir)
    	}
    	if xl.data.remove(dirs...) {
    		newBuf, err := xl.AppendTo(metaDataPoolGet())
    		if err == nil {
    			defer metaDataPoolPut(newBuf)
    			return s.WriteAll(ctx, volume, pathJoin(path, xlStorageFormatFile), buf)
    		}
    	}
    	return nil
    }
    
    func convertAccessError(err, permErr error) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  5. cni/pkg/install/monitoring.go

    	resultCopyBinariesFailure     = "COPY_BINARIES_FAILURE"
    	resultCreateKubeConfigFailure = "CREATE_KUBECONFIG_FAILURE"
    	resultCreateCNIConfigFailure  = "CREATE_CNI_CONFIG_FAILURE"
    
    	cniInstalls = monitoring.NewSum(
    		"istio_cni_installs_total",
    		"Total number of CNI plugins installed by the Istio CNI installer",
    	)
    
    	installReady = monitoring.NewGauge(
    		"istio_cni_install_ready",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 17 20:25:52 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. cni/pkg/repair/monitoring.go

    	repairType = "repair"
    	labelType  = "label"
    
    	resultLabel   = monitoring.CreateLabel("result")
    	resultSuccess = "success"
    	resultSkip    = "skip"
    	resultFail    = "fail"
    
    	podsRepaired = monitoring.NewSum(
    		"istio_cni_repair_pods_repaired_total",
    		"Total number of pods repaired by repair controller",
    	)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Dec 20 22:14:13 UTC 2023
    - 1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/Striped.java

          if (existing != null) {
            return existing;
          }
          L created = supplier.get();
          ArrayReference<L> newRef = new ArrayReference<>(created, index, queue);
          while (!locks.compareAndSet(index, existingRef, newRef)) {
            // we raced, we need to re-read and try again
            existingRef = locks.get(index);
            existing = existingRef == null ? null : existingRef.get();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/informers.go

    	"istio.io/istio/pkg/kube/controllers"
    	"istio.io/istio/pkg/kube/kclient"
    	"istio.io/istio/pkg/monitoring"
    )
    
    var (
    	eventTypeTag = monitoring.CreateLabel("type")
    	EventTotals  = monitoring.NewSum(
    		"nodeagent_reconcile_events_total",
    		"The total number of node agent reconcile events.",
    	)
    )
    
    type K8sHandlers interface {
    	GetPodIfAmbient(podName, podNamespace string) (*corev1.Pod, error)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixPatterns.java

           ...
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 02:37:31 UTC 2024
    - 73.6K bytes
    - Viewed (0)
  10. guava/src/com/google/thirdparty/publicsuffix/PublicSuffixPatterns.java

           ...
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 02:37:31 UTC 2024
    - 73.6K bytes
    - Viewed (0)
Back to top