- Sort Score
- Result 10 results
- Languages All
Results 401 - 410 of 2,090 for contexts (0.07 sec)
-
android/guava/src/com/google/common/eventbus/SubscriberExceptionContext.java
* the License. */ package com.google.common.eventbus; import static com.google.common.base.Preconditions.checkNotNull; import java.lang.reflect.Method; /** * Context for an exception thrown by a subscriber. * * @since 16.0 */ @ElementTypesAreNonnullByDefault public class SubscriberExceptionContext { private final EventBus eventBus; private final Object event;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Apr 22 13:05:46 UTC 2021 - 2.2K bytes - Viewed (0) -
cmd/jwt_test.go
token := jwtgo.NewWithClaims(jwtgo.SigningMethodHS512, claims) return token.SignedString([]byte(secretKey)) } // Tests web request authenticator. func TestWebRequestAuthenticate(t *testing.T) { ctx, cancel := context.WithCancel(context.Background()) defer cancel() obj, fsDir, err := prepareFS(ctx) if err != nil { t.Fatal(err) } defer os.RemoveAll(fsDir) if err = newTestConfig(globalMinioDefaultRegion, obj); err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 22 07:04:48 UTC 2024 - 4.4K bytes - Viewed (0) -
cmd/common-main.go
// Context values are preserved. // This can be used for goroutines that live beyond the parent context. func bgContext(parent context.Context) context.Context { return bgCtx{parent: parent} } type bgCtx struct { parent context.Context } func (a bgCtx) Done() <-chan struct{} { return nil } func (a bgCtx) Err() error { return nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 21:50:11 UTC 2024 - 31.7K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/ProfileActivator.java
@Deprecated(since = "4.0.0") public interface ProfileActivator { /** * Determines whether the specified profile is active in the given activator context. * * @param profile The profile whose activation status should be determined, must not be {@code null}. * @param context The environmental context used to determine the activation status of the profile, must not be * {@code null}.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
cmd/bucket-metadata.go
func loadBucketMetadata(ctx context.Context, objectAPI ObjectLayer, bucket string) (BucketMetadata, error) { return loadBucketMetadataParse(ctx, objectAPI, bucket, true) } // parseAllConfigs will parse all configs and populate the private fields. // The first error encountered is returned. func (b *BucketMetadata) parseAllConfigs(ctx context.Context, objectAPI ObjectLayer) (err error) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 28 15:32:18 UTC 2024 - 18.2K bytes - Viewed (0) -
cmd/copy-part-range.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "net/http" "net/url" ) // Writes S3 compatible copy part range error. func writeCopyPartErr(ctx context.Context, w http.ResponseWriter, err error, url *url.URL) { switch err { case errInvalidRange:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 18 03:27:04 UTC 2021 - 2.5K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/clusters.go
package proxyconfig import ( "context" "encoding/json" "fmt" "io" "text/tabwriter" "github.com/spf13/cobra" "istio.io/istio/istioctl/pkg/cli" "istio.io/istio/istioctl/pkg/clioptions" "istio.io/istio/pkg/cluster" ) // TODO move to multicluster package; requires exposing some private funcs/vars in this package func ClustersCommand(ctx cli.Context) *cobra.Command {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 2.3K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRulePostProcess.java
@SuppressWarnings("unchecked") public void execute(ViolationCheckContextWithViolations context) { Set<AccessorKey> seenUpgradedAccessorsChanges = (Set<AccessorKey>) context.getUserData().get(SEEN_OLD_REMOVED_ACCESSORS_OF_UPGRADED_PROPERTIES); Map<AccessorKey, ReplacedAccessor> oldAccessorsOfUpgradedProperties = (Map<AccessorKey, ReplacedAccessor>) context.getUserData().get(OLD_REMOVED_ACCESSORS_OF_UPGRADED_PROPERTIES);
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Aug 19 15:30:48 UTC 2024 - 3.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/android/StandardAndroidSocketAdapter.kt
val context: Any? = readFieldOrNull( sslSocketFactory, paramClass, "sslParameters", ) val x509TrustManager = readFieldOrNull( context!!, X509TrustManager::class.java, "x509TrustManager", ) return x509TrustManager ?: readFieldOrNull( context, X509TrustManager::class.java,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.7K bytes - Viewed (0) -
cmd/metrics-v3-scanner.go
"Time elapsed (in seconds) since last scan activity.") ) // loadClusterScannerMetrics - `MetricsLoaderFn` for cluster webhook // such as failed objects and directories scanned. func loadClusterScannerMetrics(ctx context.Context, m MetricValues, c *metricsCache) error { m.Set(scannerBucketScansFinished, float64(globalScannerMetrics.lifetime(scannerMetricScanBucketDrive)))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 19:29:25 UTC 2024 - 2.8K bytes - Viewed (0)