Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 197 for make (0.13 sec)

  1. cmd/erasure-object.go

    	metadataArray := make([]*xlMetaV2, len(rawFileInfos))
    	metaFileInfos := make([]FileInfo, len(rawFileInfos))
    	metadataShallowVersions := make([][]xlMetaV2ShallowVersion, len(rawFileInfos))
    	var v2bufs [][]byte
    	if !readData {
    		v2bufs = make([][]byte, len(rawFileInfos))
    	}
    
    	// Read `xl.meta` in parallel across disks.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  2. cmd/storage-rest-server.go

    		return collectInternodeStats(httpTraceHdrs(f))
    	}
    
    	globalLocalSetDrives = make([][][]StorageAPI, len(endpointServerPools))
    	for pool := range globalLocalSetDrives {
    		globalLocalSetDrives[pool] = make([][]StorageAPI, endpointServerPools[pool].SetCount)
    		for set := range globalLocalSetDrives[pool] {
    			globalLocalSetDrives[pool][set] = make([]StorageAPI, endpointServerPools[pool].DrivesPerSet)
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  3. CONTRIBUTING.md

        git config user.email ******@****.***
    
    #### Import Gradle into IntelliJ
    
    To import Gradle into IntelliJ:
    - Open the `build.gradle.kts` file with IntelliJ and choose "Open as Project"
    - Make sure "Create separate module per source set" is selected
    - Make sure  "Use default gradle wrapper" is selected
    - Select a Java 11 VM as "Gradle JVM"
    - In the "File already exists" dialogue, choose "Yes" to overwrite
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat May 04 07:43:02 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  4. manifests/charts/gateway/files/profile-openshift-ambient.yaml

    # WARNING: DO NOT EDIT, THIS FILE IS A COPY.
    # The original version of this file is located at /manifests/helm-profiles directory.
    # If you want to make a change in this file, edit the original one and run "make gen".
    
    meshConfig:
      defaultConfig:
        proxyMetadata:
          ISTIO_META_ENABLE_HBONE: "true"
    global:
      platform: openshift
    cni:
      ambient:
        enabled: true
      cniBinDir: /var/lib/cni/bin
      cniConfDir: /etc/cni/multus/net.d
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat May 04 01:17:57 GMT 2024
    - 955 bytes
    - Viewed (0)
  5. manifests/charts/istio-operator/files/profile-openshift-ambient.yaml

    # WARNING: DO NOT EDIT, THIS FILE IS A COPY.
    # The original version of this file is located at /manifests/helm-profiles directory.
    # If you want to make a change in this file, edit the original one and run "make gen".
    
    meshConfig:
      defaultConfig:
        proxyMetadata:
          ISTIO_META_ENABLE_HBONE: "true"
    global:
      platform: openshift
    cni:
      ambient:
        enabled: true
      cniBinDir: /var/lib/cni/bin
      cniConfDir: /etc/cni/multus/net.d
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat May 04 01:17:57 GMT 2024
    - 955 bytes
    - Viewed (0)
  6. cmd/erasure-server-pool-decom.go

    	if p.dontSave {
    		return nil
    	}
    	data := make([]byte, 4, p.Msgsize()+4)
    
    	// Initialize the header.
    	binary.LittleEndian.PutUint16(data[0:2], poolMetaFormat)
    	binary.LittleEndian.PutUint16(data[2:4], poolMetaVersion)
    
    	buf, err := p.MarshalMsg(data)
    	if err != nil {
    		return err
    	}
    
    	// Saves on all pools to make sure decommissioning of first pool is allowed.
    	for i, eset := range pools {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  7. src/bytes/buffer_test.go

    		}
    
    		rlen := rand.Intn(len(testString))
    		fub := make([]byte, rlen)
    		n, _ := buf.Read(fub)
    		s = s[n:]
    	}
    	empty(t, "TestMixedReadsAndWrites (2)", &buf, s, make([]byte, buf.Len()))
    }
    
    func TestCapWithPreallocatedSlice(t *testing.T) {
    	buf := NewBuffer(make([]byte, 10))
    	n := buf.Cap()
    	if n != 10 {
    		t.Errorf("expected 10, got %d", n)
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  8. manifests/charts/ztunnel/files/profile-stable.yaml

    # WARNING: DO NOT EDIT, THIS FILE IS A COPY.
    # The original version of this file is located at /manifests/helm-profiles directory.
    # If you want to make a change in this file, edit the original one and run "make gen".
    
    # The stable profile deploys admission control to ensure that only stable resources and fields are used
    # THIS IS CURRENTLY EXPERIMENTAL AND SUBJECT TO CHANGE
    experimental:
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 22:00:40 GMT 2024
    - 423 bytes
    - Viewed (0)
  9. cmd/data-scanner_test.go

    	globalBucketVersioningSys = &BucketVersioningSys{}
    	es := newExpiryState(context.Background(), objAPI, 0)
    	workers := []chan expiryOp{make(chan expiryOp)}
    	es.workers.Store(&workers)
    	globalExpiryState = es
    	var wg sync.WaitGroup
    	wg.Add(1)
    	expired := make([]ObjectToDelete, 0, 5)
    	go func() {
    		defer wg.Done()
    		workers := globalExpiryState.workers.Load()
    		for t := range (*workers)[0] {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  10. docs/debugging/xl-meta/main.go

    		EcN:       z.EcN,
    	}
    	return json.Marshal(tmp)
    }
    
    func combine(files []string, out string) error {
    	sort.Strings(files)
    	var size, shards, data, parity int
    	mapped := make([]byte, size)
    	filled := make([]byte, size)
    	parityData := make(map[int]map[int][]byte)
    	fmt.Printf("Attempting to combine version %q.\n", out)
    	for _, file := range files {
    		b, err := os.ReadFile(file)
    		if err != nil {
    			return err
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
Back to top