Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 139 for syncs (0.3 sec)

  1. pkg/controller/disruption/disruption_test.go

    	}
    
    	// The sync() function should either write a correct status which takes the
    	// evictions into account, or re-queue the PDB for another sync (by returning
    	// an error)
    	if err := dc.sync(ctx, pdbKey); err != nil {
    		t.Logf("sync() returned with error: %v", err)
    	} else {
    		t.Logf("sync() returned with no error")
    	}
    
    	// (C) Whether or not sync() returned an error, the PDB status should reflect
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
  2. src/runtime/pprof/pprof_test.go

    `},
    		{
    			name: "mutex",
    			f:    blockMutex,
    			stk: []string{
    				"sync.(*Mutex).Lock",
    				"runtime/pprof.blockMutex",
    				"runtime/pprof.TestBlockProfile",
    			},
    			re: `
    [0-9]+ [0-9]+ @( 0x[[:xdigit:]]+)+
    #	0x[0-9a-f]+	sync\.\(\*Mutex\)\.Lock\+0x[0-9a-f]+	.*sync/mutex\.go:[0-9]+
    #	0x[0-9a-f]+	runtime/pprof\.blockMutex\+0x[0-9a-f]+	.*runtime/pprof/pprof_test.go:[0-9]+
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package validating_test
    
    import (
    	"context"
    	"fmt"
    	"strings"
    	"sync"
    	"sync/atomic"
    	"testing"
    	"time"
    
    	"github.com/stretchr/testify/require"
    
    	admissionregistrationv1 "k8s.io/api/admissionregistration/v1"
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/meta"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 01:39:01 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  4. pkg/controller/job/job_controller.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package job
    
    import (
    	"context"
    	"fmt"
    	"reflect"
    	"sort"
    	"sync"
    	"sync/atomic"
    	"time"
    
    	batch "k8s.io/api/batch/v1"
    	v1 "k8s.io/api/core/v1"
    	apierrors "k8s.io/apimachinery/pkg/api/errors"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/labels"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  5. pkg/controller/replicaset/replica_set_test.go

    		if store != nil {
    			store.Add(pod)
    		}
    		pods = append(pods, *pod)
    	}
    	return &v1.PodList{
    		Items: pods,
    	}
    }
    
    // processSync initiates a sync via processNextWorkItem() to test behavior that
    // depends on both functions (such as re-queueing on sync error).
    func processSync(ctx context.Context, rsc *ReplicaSetController, key string) error {
    	// Save old syncHandler and replace with one that captures the error.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool.go

    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v3/sync/errgroup"
    	"github.com/minio/pkg/v3/wildcard"
    )
    
    type erasureServerPools struct {
    	poolMetaMutex sync.RWMutex
    	poolMeta      poolMeta
    
    	rebalMu   sync.RWMutex
    	rebalMeta *rebalanceMeta
    
    	deploymentID     [16]byte
    	distributionAlgo string
    
    	serverPools []*erasureSets
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
  7. pkg/controller/daemon/daemon_controller.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package daemon
    
    import (
    	"context"
    	"fmt"
    	"reflect"
    	"sort"
    	"sync"
    	"time"
    
    	apps "k8s.io/api/apps/v1"
    	v1 "k8s.io/api/core/v1"
    	apiequality "k8s.io/apimachinery/pkg/api/equality"
    	apierrors "k8s.io/apimachinery/pkg/api/errors"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config_test.go

    				service:      service,
    				l:            &sync.Mutex{},
    				lastResponse: &kmsPluginHealthzResponse{},
    			},
    			wantTTL: kmsPluginHealthzPositiveTTL,
    		},
    		{
    			desc: "kms provider in bad state",
    			probe: &kmsPluginProbe{
    				name:         "test",
    				ttl:          kmsPluginHealthzPositiveTTL,
    				service:      errService,
    				l:            &sync.Mutex{},
    				lastResponse: &kmsPluginHealthzResponse{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 72.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    	// Important: Since HighWaterMark is using sync/atomic, it has to be at the top of the struct due to a bug on 32-bit platforms
    	// See: https://golang.org/pkg/sync/atomic/ for more information
    	incomingHWM storage.HighWaterMark
    	// Incoming events that should be dispatched to watchers.
    	incoming chan watchCacheEvent
    
    	resourcePrefix string
    
    	sync.RWMutex
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  10. hack/tools/go.sum

    golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
    golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
    golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
    golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 93.1K bytes
    - Viewed (0)
Back to top