Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for gotSock (0.19 sec)

  1. src/internal/syscall/unix/kernel_version_solaris_test.go

    	if err == nil {
    		syscall.Close(s)
    	}
    	wantSock := err != syscall.EPROTONOSUPPORT && err != syscall.EINVAL
    	gotSock := unix.SupportSockNonblockCloexec()
    	if wantSock != gotSock {
    		t.Fatalf("SupportSockNonblockCloexec, got %t; want %t", gotSock, wantSock)
    	}
    
    	// Test that SupportAccept4 returns true if accept4 is available.
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:17:25 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. pkg/kubelet/server/stats/volume_stat_calculator_test.go

    limitations under the License.
    */
    
    package stats
    
    import (
    	"errors"
    	"fmt"
    	"testing"
    	"time"
    
    	"github.com/stretchr/testify/assert"
    	"go.uber.org/mock/gomock"
    
    	csipbv1 "github.com/container-storage-interface/spec/lib/go/csi"
    	k8sv1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. pkg/kubelet/runonce_test.go

    package kubelet
    
    import (
    	"context"
    	"os"
    	"path/filepath"
    	"testing"
    	"time"
    
    	cadvisorapi "github.com/google/cadvisor/info/v1"
    	cadvisorapiv2 "github.com/google/cadvisor/info/v2"
    	"go.uber.org/mock/gomock"
    	"k8s.io/mount-utils"
    
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/client-go/kubernetes/fake"
    	"k8s.io/client-go/tools/record"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 06:59:54 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. src/internal/trace/testdata/tests/go122-annotations.test

    ProcStart dt=505 p=1 p_seq=1
    GoStart dt=303 g=7 g_seq=1
    HeapAlloc dt=646 heapalloc_value=1892352
    HeapAlloc dt=149 heapalloc_value=1900544
    GoBlock dt=146 reason_string=12 stack=24
    GoStart dt=14 g=6 g_seq=1
    HeapAlloc dt=16 heapalloc_value=1908736
    GoBlock dt=347 reason_string=12 stack=25
    EventBatch gen=1 m=167928 time=28113086279032 size=10
    ProcStart dt=451 p=2 p_seq=1
    GoStart dt=188 g=8 g_seq=1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. cmd/callhome.go

    }
    
    func runCallhome(ctx context.Context, objAPI ObjectLayer) bool {
    	// Make sure only 1 callhome is running on the cluster.
    	locker := objAPI.NewNSLock(minioMetaBucket, "callhome/runCallhome.lock")
    	lkctx, err := locker.GetLock(ctx, callhomeLeaderLockTimeout)
    	if err != nil {
    		// lock timedout means some other node is the leader,
    		// cycle back return 'true'
    		return true
    	}
    
    	ctx = lkctx.Context()
    	defer locker.Unlock(lkctx)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 16:53:34 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top