Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for blocked (0.18 sec)

  1. src/runtime/pprof/pprof_test.go

    }
    
    // goroutineDeep blocks at stack depth n, including the caller until the test is
    // finished.
    func goroutineDeep(t *testing.T, n int) {
    	if n > 1 {
    		goroutineDeep(t, n-1)
    		return
    	}
    	wait := make(chan struct{}, 1)
    	t.Cleanup(func() {
    		wait <- struct{}{}
    	})
    	<-wait
    }
    
    // produceProfileEvents produces pprof events at the given stack depth and then
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  2. pkg/registry/core/pod/strategy_test.go

    				},
    			},
    			want: api.PodCondition{
    				Type:    api.PodScheduled,
    				Status:  api.ConditionFalse,
    				Reason:  apiv1.PodReasonSchedulingGated,
    				Message: "Scheduling is blocked due to non-empty scheduling gates",
    			},
    		},
    	}
    
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			Strategy.PrepareForCreate(genericapirequest.NewContext(), tt.pod)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  3. src/net/http/request.go

    		return value
    	}
    	return def
    }
    
    // NOTE: This is not intended to reflect the actual Go version being used.
    // It was changed at the time of Go 1.1 release because the former User-Agent
    // had ended up blocked by some intrusion detection systems.
    // See https://codereview.appspot.com/7532043.
    const defaultUserAgent = "Go-http-client/1.1"
    
    // Write writes an HTTP/1.1 request, which is the header and body, in wire format.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  4. src/crypto/tls/tls_test.go

    		t.Fatal(err)
    	}
    	keyPEM := pem.EncodeToMemory(&pem.Block{Type: "PRIVATE KEY", Bytes: keyDER})
    	tmpl := &x509.Certificate{
    		SerialNumber: big.NewInt(1),
    		Subject:      pkix.Name{CommonName: "test"},
    	}
    	certDER, err := x509.CreateCertificate(rand.Reader, tmpl, tmpl, key.Public(), key)
    	if err != nil {
    		t.Fatal(err)
    	}
    	certPEM := pem.EncodeToMemory(&pem.Block{Type: "CERTIFICATE", Bytes: certDER})
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/volumebinding/binder_test.go

    		if scenario.needsCapacity &&
    			csiDriver != nil && csiDriver.Spec.StorageCapacity != nil && *csiDriver.Spec.StorageCapacity {
    			// Without CSIStorageCapacity objects, provisioning is blocked.
    			expectedReasons = append(expectedReasons, ErrReasonNotEnoughSpace)
    			expectedProvisions = nil
    		}
    		checkReasons(t, reasons, expectedReasons)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        assertThat(stream1.writeBytesMaximum)
          .isEqualTo(Settings.DEFAULT_INITIAL_WINDOW_SIZE.toLong())
    
        // Another stream should be able to send data even though 1 is blocked.
        val stream2 = connection.newStream(headerEntries("b", "banana"), true)
        val out2 = stream2.getSink().buffer()
        out2.writeUtf8("foo")
        out2.flush()
        assertThat(connection.writeBytesTotal)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  7. cmd/admin-handlers-users.go

    	// policy.UpdateServiceAccountAdminAction permission can update any service
    	// account.
    	//
    	// 2. We would like to let a user update their own access keys, however it
    	// is currently blocked pending a re-design. Users are still able to delete
    	// and re-create them.
    	if !globalIAMSys.IsAllowed(policy.Args{
    		AccountName:     cred.AccessKey,
    		Groups:          cred.Groups,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:19:04 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  8. cmd/erasure-object.go

    	}
    
    	return dfi.ToObjectInfo(bucket, object, opts.Versioned || opts.VersionSuspended), nil
    }
    
    // Send the successful but partial upload/delete, however ignore
    // if the channel is blocked by other items.
    func (er erasureObjects) addPartial(bucket, object, versionID string) {
    	globalMRFState.addPartialOp(partialOperation{
    		bucket:    bucket,
    		object:    object,
    		versionID: versionID,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  9. cluster/gce/windows/k8s-node-setup.psm1

      buffer_type file
      buffer_path /var/log/fluentd-buffers/kubernetes.containers.buffer
      # Set queue_full action to block because we want to pause gracefully
      # in case of the off-the-limits load instead of throwing an exception
      buffer_queue_full_action block
      # Set the chunk limit conservatively to avoid exceeding the recommended
      # chunk size of 5MB per write request.
      buffer_chunk_limit 512k
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
  10. src/cmd/go/internal/test/test.go

    	    calling runtime.SetBlockProfileRate with n.
    	    See 'go doc runtime.SetBlockProfileRate'.
    	    The profiler aims to sample, on average, one blocking event every
    	    n nanoseconds the program spends blocked. By default,
    	    if -test.blockprofile is set without this flag, all blocking events
    	    are recorded, equivalent to -test.blockprofilerate=1.
    
    	-coverprofile cover.out
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
Back to top