Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 64 for gotSock (0.17 sec)

  1. src/internal/trace/event/go122/event.go

    		Name:         "GoStop",
    		Args:         []string{"dt", "reason_string", "stack"},
    		IsTimedEvent: true,
    		StackIDs:     []int{2},
    		StringIDs:    []int{1},
    	},
    	EvGoBlock: event.Spec{
    		Name:         "GoBlock",
    		Args:         []string{"dt", "reason_string", "stack"},
    		IsTimedEvent: true,
    		StackIDs:     []int{2},
    		StringIDs:    []int{1},
    	},
    	EvGoUnblock: event.Spec{
    		Name:         "GoUnblock",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  2. cmd/background-newdisks-heal-ops.go

    	}
    
    	// Prevent parallel erasure set healing
    	locker := z.NewNSLock(minioMetaBucket, fmt.Sprintf("new-drive-healing/%d/%d", poolIdx, setIdx))
    	lkctx, err := locker.GetLock(ctx, newDiskHealingTimeout)
    	if err != nil {
    		return fmt.Errorf("Healing of drive '%v' on %s pool, belonging to %s erasure set already in progress: %w",
    			disk, humanize.Ordinal(poolIdx+1), humanize.Ordinal(setIdx+1), err)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 04 15:12:32 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  3. cmd/erasure-healing.go

    		Bucket:    bucket,
    		Object:    object,
    		VersionID: versionID,
    		DiskCount: len(storageDisks),
    	}
    
    	if !opts.NoLock {
    		lk := er.NewNSLock(bucket, object)
    		lkctx, err := lk.GetLock(ctx, globalOperationTimeout)
    		if err != nil {
    			return result, err
    		}
    		ctx = lkctx.Context()
    		defer lk.Unlock(lkctx)
    	}
    
    	// Re-read when we have lock...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.8K bytes
    - Viewed (0)
  4. cmd/admin-handlers.go

    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrNotImplemented), r.URL)
    		return
    	}
    
    	nsLock := objectAPI.NewNSLock(minioMetaBucket, "site-net-perf")
    	lkctx, err := nsLock.GetLock(ctx, globalOperationTimeout)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(toAPIErrorCode(ctx, err)), r.URL)
    		return
    	}
    	ctx = lkctx.Context()
    	defer nsLock.Unlock(lkctx)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  5. src/runtime/pprof/pprof_test.go

    			// One location entry with all inlined functions.
    			var gotLoc [][]string
    			for _, loc := range p.Location {
    				var names []string
    				for _, line := range loc.Line {
    					names = append(names, line.Function.Name)
    				}
    				gotLoc = append(gotLoc, names)
    			}
    			if got, want := fmtJSON(gotLoc), fmtJSON(tc.wantLocs); got != want {
    				t.Errorf("Got Location = %+v\n\twant %+v", got, want)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  6. src/runtime/traceruntime.go

    func (tl traceLocker) GoStop(reason traceGoStopReason) {
    	tl.eventWriter(traceGoRunning, traceProcRunning).commit(traceEvGoStop, traceArg(trace.goStopReasons[tl.gen%2][reason]), tl.stack(1))
    }
    
    // GoPark emits a GoBlock event with the provided reason.
    //
    // TODO(mknyszek): Replace traceBlockReason with waitReason. It's silly
    // that we have both, and waitReason is way more descriptive.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  7. pkg/scheduler/schedule_one_test.go

    			if err != test.wErr {
    				gotFitErr, gotOK := err.(*framework.FitError)
    				wantFitErr, wantOK := test.wErr.(*framework.FitError)
    				if gotOK != wantOK {
    					t.Errorf("Expected err to be FitError: %v, but got %v (error: %v)", wantOK, gotOK, err)
    				} else if gotOK {
    					if diff := cmp.Diff(wantFitErr, gotFitErr); diff != "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  8. pkg/kubelet/eviction/eviction_manager_test.go

    limitations under the License.
    */
    
    package eviction
    
    import (
    	"context"
    	"fmt"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/google/go-cmp/cmp/cmpopts"
    	gomock "go.uber.org/mock/gomock"
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    	"k8s.io/apimachinery/pkg/types"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	"k8s.io/client-go/tools/record"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  9. cmd/bucket-replication.go

    	}
    
    	// Lock the object name before starting replication operation.
    	// Use separate lock that doesn't collide with regular objects.
    	lk := objectAPI.NewNSLock(bucket, "/[replicate]/"+dobj.ObjectName)
    	lkctx, err := lk.GetLock(ctx, globalOperationTimeout)
    	if err != nil {
    		globalReplicationPool.queueMRFSave(dobj.ToMRFEntry())
    		sendEvent(eventArgs{
    			BucketName: bucket,
    			Object: ObjectInfo{
    				Bucket:       bucket,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  10. cmd/data-scanner.go

    // The function will block until the context is canceled.
    // There should only ever be one scanner running per cluster.
    func runDataScanner(ctx context.Context, objAPI ObjectLayer) {
    	ctx, cancel := globalLeaderLock.GetLock(ctx)
    	defer cancel()
    
    	// Load current bloom cycle
    	var cycleInfo currentScannerCycle
    
    	buf, _ := readConfig(ctx, objAPI, dataUsageBloomNamePath)
    	if len(buf) == 8 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:43:17 UTC 2024
    - 47.6K bytes
    - Viewed (0)
Back to top