- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 109 for Setrtable (0.17 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
assertThat(successCalls[0]).isEqualTo(1); assertThat(failureCalls[0]).isEqualTo(0); } public void testWildcardFuture() { SettableFuture<String> settable = SettableFuture.create(); ListenableFuture<?> f = settable; FutureCallback<Object> callback = new FutureCallback<Object>() { @Override public void onSuccess(Object result) {} @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Apr 06 12:56:11 UTC 2023 - 6.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/conversion/helper.go
*/ package conversion import ( "fmt" "reflect" ) // EnforcePtr ensures that obj is a pointer of some sort. Returns a reflect.Value // of the dereferenced pointer, ensuring that it is settable/addressable. // Returns an error if this is not possible. func EnforcePtr(obj interface{}) (reflect.Value, error) { v := reflect.ValueOf(obj) if v.Kind() != reflect.Pointer { if v.Kind() == reflect.Invalid {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 25 16:23:43 UTC 2022 - 1.2K bytes - Viewed (0) -
pkg/wasm/httpfetcher.go
wasmLog.Infof("wasm server connection is not closed: %v", err) } return unboxIfPossible(body), err } lastError = fmt.Errorf("wasm module download request failed: status code %v", resp.StatusCode) if retryable(resp.StatusCode) { // Limit wasm module to 256mb; in reality it must be much smaller body, err := io.ReadAll(io.LimitReader(resp.Body, 1024*1024*256)) if err != nil { return nil, err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Nov 14 20:23:34 UTC 2022 - 5.5K bytes - Viewed (0) -
src/internal/poll/sendfile_solaris.go
// support) and syscall.EINVAL (fd types which // don't implement sendfile), and other errors. // We should end the loop when there is no error // returned from sendfile(2) or it is not a retryable error. break } if err == syscall.EINTR { continue } if err = dstFD.pd.waitWrite(dstFD.isFile); err != nil { break } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 18:12:56 UTC 2024 - 1.8K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/catalog/parser/TomlCatalogFileParser.java
TomlTable metadataTable = result.getTable(METADATA_KEY); verifyMetadata(metadataTable); TomlTable librariesTable = result.getTable(LIBRARIES_KEY); TomlTable bundlesTable = result.getTable(BUNDLES_KEY); TomlTable versionsTable = result.getTable(VERSIONS_KEY); TomlTable pluginsTable = result.getTable(PLUGINS_KEY);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 13:35:05 UTC 2024 - 29.4K bytes - Viewed (0) -
pkg/controller/serviceaccount/tokens_controller.go
if retriable, err := e.deleteToken(secretInfo.namespace, secretInfo.name, secretInfo.uid); err != nil { logger.Error(err, "Deleting serviceaccount token", "secret", klog.KRef(secretInfo.namespace, secretInfo.name), "serviceAccount", klog.KRef(secretInfo.namespace, secretInfo.saName)) retry = retriable } default: // Update token if needed
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 20.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/audit/webhook/webhook.go
func init() { install.Install(audit.Scheme) } // retryOnError enforces the webhook client to retry requests // on error regardless of its nature. // The default implementation considers a very limited set of // 'retriable' errors, assuming correct use of HTTP codes by // external webhooks. // That may easily lead to dropped audit events. In fact, there is // hardly any error that could be a justified reason NOT to retry
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 07 21:13:31 UTC 2022 - 4.5K bytes - Viewed (0) -
src/internal/reflectlite/export_test.go
// The result is different from the zero value of the Value struct, // which represents no value at all. // For example, Zero(TypeOf(42)) returns a Value with Kind Int and value 0. // The returned value is neither addressable nor settable. func Zero(typ Type) Value { if typ == nil { panic("reflect: Zero(nil)") } t := typ.common() fl := flag(t.Kind()) if t.IfaceIndir() { return Value{t, unsafe_New(t), fl | flagIndir} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:01:54 UTC 2024 - 3K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/SocketPolicy.kt
* point before or during the second request. It may be closed after client has started sending the * request body. If a request body is not retryable then the client may fail the request, making * client behavior non-deterministic. Add delays in the client to improve the chances that the * server has closed the socket before follow up requests are made. */
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Tue Jan 23 14:31:42 UTC 2024 - 4.6K bytes - Viewed (0) -
pkg/util/iptables/testing/parse.go
} func (dump *IPTablesDump) GetTable(table iptables.Table) (*Table, error) { for i := range dump.Tables { if dump.Tables[i].Name == table { return &dump.Tables[i], nil } } return nil, fmt.Errorf("no such table %q", table) } func (dump *IPTablesDump) GetChain(table iptables.Table, chain iptables.Chain) (*Chain, error) { t, err := dump.GetTable(table) if err != nil { return nil, err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 11.6K bytes - Viewed (0)