- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for newContexts (0.09 sec)
-
src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java
} else { CreateContextRequest[] newContexts = new CreateContextRequest[this.createContexts.length + 1]; System.arraycopy(this.createContexts, 0, newContexts, 0, this.createContexts.length); newContexts[this.createContexts.length] = context; this.createContexts = newContexts; } } /** * Add a lease V1 context to this request
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 22.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SpnegoContextTest.java
} private SpnegoContext newContext() { return new SpnegoContext(this.config, this.mechContext, this.mechs); } @Test @DisplayName("getSupportedMechs returns SPNEGO OID") void testGetSupportedMechs() { SpnegoContext ctx = newContext(); ASN1ObjectIdentifier[] supported = ctx.getSupportedMechs(); assertNotNull(supported);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java
@Override @CanIgnoreReturnValue protected M resetContainer(M newContents) { multimap = super.resetContainer(newContents); return multimap; } @CanIgnoreReturnValue protected Multimap<K, V> resetContainer(Entry<K, V>... newContents) { multimap = super.resetContainer(getSubjectGenerator().create((Object[]) newContents)); return multimap; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/CIFSContextTest.java
void testWithDefaultCredentials() { // Given CIFSContext newContext = mock(CIFSContext.class); when(mockContext.withDefaultCredentials()).thenReturn(newContext); // When CIFSContext context = mockContext.withDefaultCredentials(); // Then assertEquals(newContext, context); verify(mockContext).withDefaultCredentials(); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
cmd/bucket-lifecycle-handlers.go
// https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html func (api objectAPIHandlers) PutBucketLifecycleHandler(w http.ResponseWriter, r *http.Request) { ctx := newContext(r, w, "PutBucketLifecycle") defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r)) objAPI := api.ObjectAPI() if objAPI == nil { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Jan 20 14:49:07 UTC 2025 - 7K bytes - Viewed (0) -
cmd/bucket-listobjects-handlers.go
// You can use the versions subresource to list metadata about all // of the versions of objects in a bucket. func (api objectAPIHandlers) listObjectVersionsHandler(w http.ResponseWriter, r *http.Request, metadata bool) { ctx := newContext(r, w, "ListObjectVersions") defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r)) vars := mux.Vars(r) bucket := vars["bucket"] objectAPI := api.ObjectAPI() if objectAPI == nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Feb 03 21:03:04 UTC 2025 - 11.5K bytes - Viewed (0) -
cmd/bucket-handlers.go
// GetBucketLocationHandler - GET Bucket location. // ------------------------- // This operation returns bucket location. func (api objectAPIHandlers) GetBucketLocationHandler(w http.ResponseWriter, r *http.Request) { ctx := newContext(r, w, "GetBucketLocation") defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r)) vars := mux.Vars(r) bucket := vars["bucket"] objectAPI := api.ObjectAPI() if objectAPI == nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 63.9K bytes - Viewed (0) -
src/main/java/jcifs/context/CIFSContextWrapper.java
} } /** * Wraps a new context, allowing subclasses to provide custom wrapping behavior. * * @param newContext the context to wrap * @return the wrapped context */ protected CIFSContext wrap(final CIFSContext newContext) { return newContext; } @Override public Configuration getConfig() { return this.delegate.getConfig(); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.9K bytes - Viewed (0) -
cmd/sts-handlers.go
// credentials for regular users on Minio. // https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html func (sts *stsAPIHandlers) AssumeRole(w http.ResponseWriter, r *http.Request) { ctx := newContext(r, w, "AssumeRole") claims := stsClaims{} defer logger.AuditLog(ctx, w, r, claims) // Check auth here (otherwise r.Form will have unexpected values from
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 36.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java
return collection; } // TODO: dispose of this once collection is encapsulated. @Override @CanIgnoreReturnValue protected Collection<E> resetContainer(Collection<E> newContents) { collection = super.resetContainer(newContents); return collection; } /** * @see AbstractContainerTester#resetContainer() */ protected void resetCollection() { resetContainer(); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 2.8K bytes - Viewed (0)