Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 1,340 for makeCT (0.05 sec)

  1. doc/go1.17_spec.html

    Call             Type T     Result
    
    make(T, n)       slice      slice of type T with length n and capacity n
    make(T, n, m)    slice      slice of type T with length n and capacity m
    
    make(T)          map        map of type T
    make(T, n)       map        map of type T with initial space for approximately n elements
    
    make(T)          channel    unbuffered channel of type T
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  2. cmd/data-scanner.go

    		// Run the data scanner in a loop
    		for {
    			runDataScanner(ctx, objAPI)
    			duration := time.Duration(r.Float64() * float64(scannerCycle.Load()))
    			if duration < time.Second {
    				// Make sure to sleep at least a second to avoid high CPU ticks.
    				duration = time.Second
    			}
    			time.Sleep(duration)
    		}
    	}()
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  3. cmd/metacache-server-pool.go

    	saver := z.serverPools[o.pool].sets[o.set]
    
    	// Disconnect from call above, but cancel on exit.
    	listCtx, cancel := context.WithCancel(GlobalContext)
    	saveCh := make(chan metaCacheEntry, metacacheBlockSize)
    	inCh := make(chan metaCacheEntry, metacacheBlockSize)
    	outCh := make(chan metaCacheEntry, o.Limit)
    
    	filteredResults := o.gatherResults(ctx, outCh)
    
    	mc := o.newMetacache()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/lex/input.go

    		beginningOfLine: true,
    		macros:          predefine(flags.D),
    	}
    }
    
    // predefine installs the macros set by the -D flag on the command line.
    func predefine(defines flags.MultiFlag) map[string]*Macro {
    	macros := make(map[string]*Macro)
    	for _, name := range defines {
    		value := "1"
    		i := strings.IndexRune(name, '=')
    		if i > 0 {
    			name, value = name[:i], name[i+1:]
    		}
    		tokens := Tokenize(name)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 06 13:17:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  5. cmd/metrics-v2.go

    		Description:          m.Description,
    		Value:                m.Value,
    		HistogramBucketLabel: m.HistogramBucketLabel,
    		StaticLabels:         make(map[string]string, len(m.StaticLabels)),
    		VariableLabels:       make(map[string]string, len(m.VariableLabels)),
    		Histogram:            make(map[string]uint64, len(m.Histogram)),
    	}
    	for k, v := range m.StaticLabels {
    		metric.StaticLabels[k] = v
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/SimplexTransferListenerTest.java

            // for technical reasons we cannot throw here, even if delegate does cancel transfer
            listener.transferInitiated(event(session, resource, TransferEvent.EventType.INITIATED));
    
            Thread.sleep(500); // to make sure queue is processed, cancellation applied
    
            // subsequent call will cancel
            assertThrows(
                    TransferCancelledException.class,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. internal/config/crypto_test.go

    }{
    	{
    		Data:    nil,
    		Context: nil,
    	},
    	{
    		Data:    []byte{1},
    		Context: nil,
    	},
    	{
    		Data:    []byte{1},
    		Context: kms.Context{"key": "value"},
    	},
    	{
    		Data:    make([]byte, 1<<20),
    		Context: kms.Context{"key": "value", "a": "b"},
    	},
    }
    
    func TestEncryptDecrypt(t *testing.T) {
    	key, err := hex.DecodeString("ddedadb867afa3f73bd33c25499a723ed7f9f51172ee7b1b679e08dc795debcc")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. misc/ios/README

     all.bash on the iOS emulator:
    
    	GOOS=ios GOARCH=amd64 CGO_ENABLED=1 CC_FOR_TARGET=$(pwd)/../misc/ios/clangwrap.sh ./all.bash
    
    If CC_FOR_TARGET is not set when the toolchain is built (make.bash or all.bash), CC
    can be set on the command line. For example,
    
    	GOOS=ios GOARCH=amd64 CGO_ENABLED=1 CC=$(go env GOROOT)/misc/ios/clangwrap.sh go build
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Dec 29 21:49:26 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  9. internal/config/identity/openid/openid.go

    	if r == nil {
    		return Config{}
    	}
    	cfg := Config{
    		Enabled:            r.Enabled,
    		arnProviderCfgsMap: make(map[arn.ARN]*providerCfg, len(r.arnProviderCfgsMap)),
    		ProviderCfgs:       make(map[string]*providerCfg, len(r.ProviderCfgs)),
    		pubKeys:            r.pubKeys,
    		roleArnPolicyMap:   make(map[arn.ARN]string, len(r.roleArnPolicyMap)),
    		transport:          r.transport,
    		closeRespFn:        r.closeRespFn,
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 10 20:16:44 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. internal/config/notify/parse.go

    	if err != nil {
    		return err
    	}
    
    	for _, target := range targetList {
    		defer target.Close()
    	}
    
    	tgts, ok := ctx.Value(config.ContextKeyForTargetFromConfig).(map[string]bool)
    	if !ok {
    		tgts = make(map[string]bool)
    	}
    	for _, target := range targetList {
    		if tgts[target.ID().ID] {
    			// When target set should be online
    			yes, err := target.IsActive()
    			if err == nil && !yes {
    				err = ErrTargetsOffline
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 47K bytes
    - Viewed (0)
Back to top