- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for numTries (0.35 sec)
-
pkg/controller/namespace/deletion/namespaced_resources_deleter_test.go
} } } }) } } func TestRetryOnConflictError(t *testing.T) { mockClient := &fake.Clientset{} numTries := 0 retryOnce := func(ctx context.Context, namespace *v1.Namespace) (*v1.Namespace, error) { numTries++ if numTries <= 1 { return namespace, errors.NewConflict(api.Resource("namespaces"), namespace.Name, fmt.Errorf("ERROR")) } return namespace, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 20 07:34:23 UTC 2023 - 15.8K bytes - Viewed (0) -
src/runtime/pprof/pprof_test.go
close(c) }() <-c } func blockSelectRecvAsync(t *testing.T) { const numTries = 3 c := make(chan bool, 1) c2 := make(chan bool, 1) go func() { for i := 0; i < numTries; i++ { awaitBlockedGoroutine(t, "select", "blockSelectRecvAsync", 1) c <- true } }() for i := 0; i < numTries; i++ { select { case <-c: case <-c2: } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 68.8K bytes - Viewed (0) -
pkg/channels/unbounded_test.go
import ( "reflect" "sort" "sync" "testing" ) const ( numWriters = 10 numWrites = 10 ) // wantReads contains the set of values expected to be read by the reader // goroutine in the tests. var wantReads []int func init() { for i := 0; i < numWriters; i++ { for j := 0; j < numWrites; j++ { wantReads = append(wantReads, i) } } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Aug 31 19:53:39 UTC 2022 - 2.3K bytes - Viewed (0) -
cmd/endpoint-ellipses_test.go
Suffix: "", Seq: getSequences(1, 32, 0), }, }, }, nil, [][]uint64{{16, 16}}, }, true, }, // No host regex, just disks with two position numerics. { "http://server1/data{01...32}", endpointSet{ []ellipses.ArgPattern{ []ellipses.Pattern{ { Prefix: "http://server1/data", Suffix: "",
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 15.2K bytes - Viewed (0) -
src/crypto/tls/handshake_client_test.go
// before all subsequent writes fail. breakAfter int // numWrites is the number of writes that have been done. numWrites int } // brokenConnErr is the error that brokenConn returns once exhausted. var brokenConnErr = errors.New("too many writes to brokenConn") func (b *brokenConn) Write(data []byte) (int, error) { if b.numWrites >= b.breakAfter { return 0, brokenConnErr }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 88.7K bytes - Viewed (0) -
src/internal/trace/traceviewer/static/trace_viewer_full.html
requested by this component',href:URL_TO_SIZE_VS_EFFECTIVE_SIZE});},addInfos(numerics,memoryAllocatorDumps,infos){if(memoryAllocatorDumps===undefined)return;this.addOverlapInfo_(numerics,memoryAllocatorDumps,infos);this.addProvidedSizeWarningInfos_(numerics,memoryAllocatorDumps,infos);},addOverlapInfo_(numerics,memoryAllocatorDumps,infos){const siblingNameToEntry=new Map();for(let i=0;i<numerics.length;i++){if(numerics[i]===undefined)continue;const dump=memoryAllocatorDumps[i];if(dump===SUBALLOC...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 20:45:06 UTC 2023 - 2.5M bytes - Viewed (1) -
src/cmd/internal/obj/s390x/asmz.go
op_MVI uint32 = 0x9200 // FORMAT_SI MOVE (immediate) op_MVIY uint32 = 0xEB52 // FORMAT_SIY MOVE (immediate) op_MVN uint32 = 0xD100 // FORMAT_SS1 MOVE NUMERICS op_MVO uint32 = 0xF100 // FORMAT_SS2 MOVE WITH OFFSET op_MVPG uint32 = 0xB254 // FORMAT_RRE MOVE PAGE op_MVST uint32 = 0xB255 // FORMAT_RRE MOVE STRING
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 16 17:46:09 UTC 2024 - 176.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir
// ----- // CHECK-LABEL: func @checkNumerics func.func @checkNumerics(%arg0: tensor<1xf32>) -> tensor<1xf32> { // CHECK-NEXT: return %arg0 : tensor<1xf32> %0 = "tf.CheckNumerics"(%arg0) {message = "check numerics"} : (tensor<1xf32>) -> tensor<1xf32> func.return %0: tensor<1xf32> } //===----------------------------------------------------------------------===// // InfeedDequeueTuple legalization
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 06 18:46:23 UTC 2024 - 335.5K bytes - Viewed (0) -
RELEASE.md
tensorflow is running in. * It is now safe to call any of the C API's TF_Delete\* functions on nullptr. * Log some errors on Android to logcat. * Match FakeQuant numerics in TFLite to improve accuracy of TFLite quantized inference models. * Optional bucket location check for the GCS Filesystem. * Performance enhancements for StringSplitOp & StringSplitV2Op.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 23:24:08 UTC 2024 - 730.3K bytes - Viewed (0)