- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 1,431 for contexts (0.17 sec)
-
src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java
@Test @DisplayName("Should encode context correctly") void testEncode() { byte[] buffer = new byte[leaseContext.size()]; int encoded = leaseContext.encode(buffer, 0); assertEquals(leaseContext.size(), encoded); // Verify context header structure according to MS-SMB2 // Next field (4 bytes) - should be 0 for last/single context assertEquals(0, SMBUtil.readInt4(buffer, 0));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 5.8K bytes - Viewed (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
// Test that we properly fall back to TCP when RDMA is not available CIFSContext context = getTestContext(); context.getConfig().setProperty("jcifs.smb.client.useRDMA", "true"); context.getConfig().setProperty("jcifs.smb.client.rdmaProvider", "nonexistent"); SmbFile file = new SmbFile("smb://server/share/test.txt", context); // Should work even if RDMA provider is not available
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 35.9K bytes - Viewed (0) -
guava/src/com/google/common/io/Files.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 32.9K bytes - Viewed (0) -
cmd/data-scanner.go
func (d *dynamicSleeper) Timer(ctx context.Context) func() { t := time.Now() return func() { doneAt := time.Now() d.Sleep(ctx, doneAt.Sub(t)) } } // Sleep sleeps the specified time multiplied by the sleep factor. // If the factor is updated the sleep will be done again with the new factor. func (d *dynamicSleeper) Sleep(ctx context.Context, base time.Duration) { for {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 45.5K bytes - Viewed (0) -
cmd/admin-handlers-config-kv.go
// Logger webhook proxy deleted, apply the dynamic changes applyDynamic(ctx, objectAPI, cfg, config.LoggerWebhookSubSys, r, w) } } } func applyDynamic(ctx context.Context, objectAPI ObjectLayer, cfg config.Config, subSys string, r *http.Request, w http.ResponseWriter, ) { // Apply dynamic values. if err := applyDynamicConfigForSubSys(GlobalContext, objectAPI, cfg, subSys); err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 15.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/PrefixQueryCommandTest.java
} public void test_execute_withInvalidQuery() { QueryContext context = new QueryContext("test", false); TermQuery termQuery = new TermQuery(new Term("field", "value")); try { queryProcessor.execute(context, termQuery, 1.0f); fail(); } catch (InvalidQueryException e) { // expected
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/AuthenticationProvider.java
AuthType getAuthType(); /** * Authenticates using the provided context * * @param context the CIFS context * @param challenge the server challenge (may be null for some auth types) * @return authentication response data * @throws CIFSException if authentication fails */ byte[] authenticate(CIFSContext context, byte[] challenge) throws CIFSException; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextResponse.java
import jcifs.internal.smb2.lease.Smb2LeaseKey; import jcifs.internal.util.SMBUtil; /** * SMB2 Lease V2 Create Context Response * * MS-SMB2 2.2.14.2.11 */ public class LeaseV2CreateContextResponse implements CreateContextResponse { /** * Context name for lease V2 response */ public static final String CONTEXT_NAME = "RqL2";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 3.6K bytes - Viewed (0) -
src/archive/zip/example_test.go
// Iterate through the files in the archive, // printing some of their contents. for _, f := range r.File { fmt.Printf("Contents of %s:\n", f.Name) rc, err := f.Open() if err != nil { log.Fatal(err) } _, err = io.CopyN(os.Stdout, rc, 68) if err != nil { log.Fatal(err) } rc.Close() fmt.Println() } // Output: // Contents of README:
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 27 00:22:03 UTC 2016 - 2K bytes - Viewed (0) -
cmd/warm-backend-gcs.go
// Currently it's a no-op. func (gcs *warmBackendGCS) Put(ctx context.Context, key string, data io.Reader, length int64) (remoteVersionID, error) { return gcs.PutWithMeta(ctx, key, data, length, map[string]string{}) } func (gcs *warmBackendGCS) Get(ctx context.Context, key string, rv remoteVersionID, opts WarmBackendGetOpts) (r io.ReadCloser, err error) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 6.1K bytes - Viewed (0)