Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 274 for makeID (0.22 sec)

  1. platforms/documentation/docs/src/docs/userguide/optimizing-performance/configuration_cache.adoc

    The same requirement applies to dependency management types with some nuances.
    
    Some types, such as `Configuration` or `SourceDirectorySet`, don't make good task input parameters, as they hold a lot of irrelevant state, and it is better to model these inputs as something more precise.
    We don't intend to make these types serializable at all.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 16:24:12 UTC 2024
    - 71.1K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/windows/setupapi_windows.go

    )
    
    // DICS_FLAG specifies the scope of a device property change
    type DICS_FLAG uint32
    
    const (
    	DICS_FLAG_GLOBAL         DICS_FLAG = 0x00000001 // make change in all hardware profiles
    	DICS_FLAG_CONFIGSPECIFIC DICS_FLAG = 0x00000002 // make change in specified profile only
    	DICS_FLAG_CONFIGGENERAL  DICS_FLAG = 0x00000004 // 1 or more hardware profile-specific changes to follow (obsolete)
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 00:11:50 UTC 2022
    - 67.2K bytes
    - Viewed (0)
  3. cmd/batch-handlers.go

    		ctx:          ctx,
    		objLayer:     o,
    		jobCh:        make(chan *BatchJobRequest, 10000),
    		workerKillCh: make(chan struct{}, workers),
    		jobCancelers: make(map[string]context.CancelFunc),
    	}
    	jpool.ResizeWorkers(workers)
    	jpool.resume()
    	return jpool
    }
    
    func (j *BatchJobPool) resume() {
    	results := make(chan itemOrErr[ObjectInfo], 100)
    	ctx, cancel := context.WithCancel(j.ctx)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 56K bytes
    - Viewed (0)
  4. src/index/suffixarray/sais2.go

    	// we make it the bucket offsets and recompute
    	// the character frequency each time we need it.
    	var freq, bucket []int64
    	if len(tmp) >= 2*textMax {
    		freq, bucket = tmp[:textMax], tmp[textMax:2*textMax]
    		freq[0] = -1 // mark as uninitialized
    	} else {
    		freq, bucket = nil, tmp[:textMax]
    	}
    
    	// The SAIS algorithm.
    	// Each of these calls makes one scan through sa.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 23:57:18 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  5. src/os/os_test.go

    	path := sfdir + "/" + sfname
    	f, err := Open(path)
    	if err != nil {
    		t.Fatal("open failed:", err)
    	}
    	defer f.Close()
    
    	b := make([]byte, 0)
    	n, err := f.Read(b)
    	if n != 0 || err != nil {
    		t.Errorf("Read(0) = %d, %v, want 0, nil", n, err)
    	}
    	b = make([]byte, 100)
    	n, err = f.Read(b)
    	if n <= 0 || err != nil {
    		t.Errorf("Read(100) = %d, %v, want >0, nil", n, err)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go

    		uniformScenario:           us,
    		startTime:                 us.clk.Now(),
    		execSeatsIntegrators:      make([]fq.Integrator, len(us.clients)),
    		seatDemandIntegratorCheck: fq.NewNamedIntegrator(us.clk, us.name+"-seatDemandCheck"),
    		executions:                make([]int32, len(us.clients)),
    		rejects:                   make([]int32, len(us.clients)),
    	}
    	for _, uc := range us.clients {
    		uss.doSplit = uss.doSplit || uc.split
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 12:55:23 UTC 2023
    - 58.4K bytes
    - Viewed (0)
  7. cmd/xl-storage.go

    func (s *xlStorage) setDeleteAttribute(deleteCount uint64) error {
    	attr := "user.total_deletes"
    
    	data := make([]byte, 8)
    	binary.LittleEndian.PutUint64(data, deleteCount)
    	return xattr.LSet(s.formatFile, attr, data)
    }
    
    func (s *xlStorage) setWriteAttribute(writeCount uint64) error {
    	attr := "user.total_writes"
    
    	data := make([]byte, 8)
    	binary.LittleEndian.PutUint64(data, writeCount)
    	return xattr.LSet(s.formatFile, attr, data)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go

    	return Name
    }
    
    // EventsToRegister returns the possible events that may make a Pod
    // failed by this plugin schedulable.
    func (pl *dynamicResources) EventsToRegister() []framework.ClusterEventWithHint {
    	if !pl.enabled {
    		return nil
    	}
    
    	events := []framework.ClusterEventWithHint{
    		// Changes for claim or class parameters creation may make pods
    		// schedulable which depend on claims using those parameters.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:22:37 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  9. cmd/xl-storage_test.go

    		case err != nil && err != test.expError:
    			t.Errorf("Test %d: Expected error: %v, but got: %v", i, test.expError, err)
    		}
    	}
    }
    
    // TestXLStorageFormatFileChange - to test if changing the diskID makes the calls fail.
    func TestXLStorageFormatFileChange(t *testing.T) {
    	volume := "fail-vol"
    	xlStorage, _, err := newXLStorageTestSetup(t)
    	if err != nil {
    		t.Fatalf("Unable to create xlStorage test setup, %s", err)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 17:45:28 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modload/init.go

    	}
    	mainModulePaths := make(map[string]bool)
    	for _, m := range ms {
    		if mainModulePaths[m.Path] {
    			base.Errorf("go: module %s appears multiple times in workspace", m.Path)
    		}
    		mainModulePaths[m.Path] = true
    	}
    	replacedByWorkFile := make(map[string]bool)
    	replacements := make(map[module.Version]module.Version)
    	for _, r := range workFileReplaces {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
Back to top