Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Takken (0.18 sec)

  1. cmd/namespace-lock.go

    		delete(n.lockMap, resource)
    	}
    }
    
    // dsync's distributed lock instance.
    type distLockInstance struct {
    	rwMutex *dsync.DRWMutex
    	opsID   string
    }
    
    // Lock - block until write lock is taken or timeout has occurred.
    func (di *distLockInstance) GetLock(ctx context.Context, timeout *dynamicTimeout) (LockContext, error) {
    	lockSource := getSource(2)
    	start := UTCNow()
    
    	newCtx, cancel := context.WithCancel(ctx)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jun 05 23:56:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
  2. cmd/leak-detect_test.go

    	"testing.Main(",
    	"testing.tRunner(",
    	"testing.tRunner(",
    	"runtime.goexit",
    	"created by runtime.gc",
    	// ignore the snapshot function.
    	// since the snapshot is taken here the entry will have the current function too.
    	"pickRelevantGoroutines",
    	"runtime.MHeap_Scavenger",
    	"signal.signal_recv",
    	"sigterm.handler",
    	"runtime_mcall",
    	"goroutine in C code",
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/lex/lex_test.go

    			"#endif",
    			"C",
    		),
    		"1234.\n",
    	},
    	{
    		"nested taken/not-taken #ifdef",
    		lines(
    			"#define A",
    			"#ifdef A",
    			"#ifdef B",
    			"#define C 1234",
    			"#else",
    			"#define C 5678",
    			"#endif",
    			"#endif",
    			"C",
    		),
    		"5678.\n",
    	},
    	{
    		"nested not-taken/would-be-taken #ifdef",
    		lines(
    			"#define B",
    			"#ifdef A",
    			"#ifdef B",
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/net_test.go

    	assert.NoError(t, err)
    	assert.Equal(t, ztunnelServer.deletedPods.Load(), 1)
    	assert.Equal(t, nlDeps.DelInpodMarkIPRuleCnt.Load(), 1)
    	assert.Equal(t, nlDeps.DelLoopbackRoutesCnt.Load(), 1)
    	// make sure the uid was taken from cache and netns closed
    	netns := fixture.podNsMap.Take(string(pod.UID))
    	assert.Equal(t, nil, netns)
    
    	// run gc to clean up ns:
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  5. cmd/tier.go

    	requestsCount: make(map[string]struct {
    		success int64
    		failure int64
    	}),
    	histogram: prometheus.NewHistogramVec(prometheus.HistogramOpts{
    		Name:    "tier_ttlb_seconds",
    		Help:    "Time taken by requests served by warm tier",
    		Buckets: []float64{0.01, 0.1, 1, 2, 5, 10, 60, 5 * 60, 15 * 60, 30 * 60},
    	}, []string{"tier"}),
    }
    
    func (t *tierMetrics) Observe(tier string, dur time.Duration) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  6. cmd/os-instrumented.go

    }
    
    // Stat captures time taken to call os.Stat
    func Stat(name string) (info os.FileInfo, err error) {
    	defer updateOSMetrics(osMetricStat, name)(err)
    	return os.Stat(name)
    }
    
    // Create captures time taken to call os.Create
    func Create(name string) (f *os.File, err error) {
    	defer updateOSMetrics(osMetricCreate, name)(err)
    	return os.Create(name)
    }
    
    // Fdatasync captures time taken to call Fdatasync
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 15 01:09:38 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  7. cmd/iam-store.go

    		scred := su.Credentials
    		if scred.ParentUser != parentUser {
    			return updatedAt, fmt.Errorf("%w: the service account access key is taken by another user", errIAMServiceAccountNotAllowed)
    		}
    		return updatedAt, fmt.Errorf("%w: the service account access key already taken", errIAMServiceAccountNotAllowed)
    	}
    
    	// Parent user must not be a service account.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  8. cni/pkg/install/kubeconfig.go

    // or if a kubeconfig exists there, but differs from the current config.
    // In any case, an error indicates the file must be (re)written, and no error means no action need be taken
    func checkExistingKubeConfigFile(cfg *config.InstallConfig, expectedKC kubeconfig) error {
    	kubeconfigFilepath := filepath.Join(cfg.MountedCNINetDir, cfg.KubeconfigFilename)
    
    	existingKC, err := os.ReadFile(kubeconfigFilepath)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Aug 11 01:19:03 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  9. cmd/metrics.go

    		prometheus.HistogramOpts{
    			Name:    "s3_ttfb_seconds",
    			Help:    "Time taken by requests served by current MinIO server instance",
    			Buckets: []float64{.05, .1, .25, .5, 1, 2.5, 5, 10},
    		},
    		[]string{"api"},
    	)
    	bucketHTTPRequestsDuration = prometheus.NewHistogramVec(
    		prometheus.HistogramOpts{
    			Name:    "s3_ttfb_seconds",
    			Help:    "Time taken by requests served by current MinIO server instance per bucket",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 06:48:36 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool.go

    }
    
    // Health - returns current status of the object layer health,
    // provides if write access exists across sets, additionally
    // can be used to query scenarios if health may be lost
    // if this node is taken down by an external orchestrator.
    func (z *erasureServerPools) Health(ctx context.Context, opts HealthOptions) HealthResult {
    	reqInfo := (&logger.ReqInfo{}).AppendTags("maintenance", strconv.FormatBool(opts.Maintenance))
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
Back to top