- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 705 for Context (0.05 sec)
-
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
@Test @DisplayName("Should handle null context in array") void testNullContextInArray() { CreateContextRequest[] contexts = new CreateContextRequest[4]; contexts[0] = new MockCreateContextRequest("FIRST"); contexts[1] = null; // Null context contexts[2] = new MockCreateContextRequest("THIRD"); contexts[3] = new MockCreateContextRequest("FOURTH");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java
DirectoryLeaseContext context = new DirectoryLeaseContext(key, leaseState, scope); assertEquals(key, context.getLeaseKey()); assertEquals(leaseState, context.getLeaseState()); assertEquals(scope, context.getCacheScope()); assertEquals(30000L, context.getMaxCacheAge()); assertTrue(context.isNotificationEnabled()); assertEquals(0, context.getNotificationFilter()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 10.1K bytes - Viewed (0) -
cmd/handler-utils.go
tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt) if ok { tc.FuncName = "s3.AppendObject" tc.ResponseRecorder.LogErrBody = true } writeErrorResponse(r.Context(), w, getAPIError(ErrNotImplemented), r.URL) return } tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt) if ok { tc.FuncName = "s3.ValidRequest"
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 16.3K bytes - Viewed (1) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
testEncryptionKey, testDecryptionKey); // When/Then - Multiple closes should be safe assertDoesNotThrow(() -> { context.close(); context.close(); context.close(); }); assertTrue(context.isClosed()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
cmd/object_api_suite_test.go
} // Tests validate PutObject without prefix. func testPutObject(obj ObjectLayer, instanceType string, t TestErrHandler) { content := []byte("testcontent") length := int64(len(content)) readerEOF := newTestReaderEOF(content) readerNoEOF := newTestReaderNoEOF(content) err := obj.MakeBucket(context.Background(), "bucket", MakeBucketOptions{}) if err != nil { t.Fatalf("%s: <ERROR> %s", instanceType, err) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 34.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/PreauthIntegrityService.java
throw new CIFSException("Preauth integrity context is invalid for session: " + sessionId); } try { byte[] newHash = calculateHash(context.getCurrentHash(), messageData, context.getHashAlgorithm()); context.updateHash(newHash); log.debug("Updated preauth hash for session {} with {} bytes of data", sessionId, messageData.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java
TermQuery termQuery = new TermQuery(term); BoostQuery boostQuery = new BoostQuery(termQuery, 2.5f); QueryContext context = new QueryContext("test", false); QueryBuilder result = queryProcessor.execute(context, boostQuery, 1.0f); assertNotNull(result); // The result could be either a TermQueryBuilder or DefaultQueryBuilder depending on field configuration
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java
} /** * Set the create contexts for this request * @param contexts the create contexts to set */ public void setCreateContexts(CreateContextRequest[] contexts) { this.createContexts = contexts; } /** * Add a create context to this request * @param context the create context to add */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 22.9K bytes - Viewed (0) -
cmd/notification.go
func (sys *NotificationSys) ServerInfo(ctx context.Context, metrics bool) []madmin.ServerProperties { reply := make([]madmin.ServerProperties, len(sys.peerClients)) var wg sync.WaitGroup for i, client := range sys.peerClients { if client == nil { continue } wg.Add(1) go func(client *peerRESTClient, idx int) { defer wg.Done() ctx, cancel := context.WithTimeout(ctx, 10*time.Second)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 45.9K bytes - Viewed (0) -
cmd/erasure-sets.go
// TransitionObject - transition object content to target tier. func (s *erasureSets) TransitionObject(ctx context.Context, bucket, object string, opts ObjectOptions) error { return s.getHashedSet(object).TransitionObject(ctx, bucket, object, opts) } // RestoreTransitionedObject - restore transitioned object content locally on this cluster.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 37K bytes - Viewed (1)