- Sort Score
- Result 10 results
- Languages All
Results 1081 - 1090 of 2,101 for content (0.06 sec)
-
cmd/callhome.go
package cmd import ( "bytes" "compress/gzip" "context" "encoding/json" "errors" "fmt" "math/rand" "net/url" "time" "github.com/minio/madmin-go/v3" ) var callhomeLeaderLockTimeout = newDynamicTimeout(30*time.Second, 10*time.Second) // initCallhome will start the callhome task in the background. func initCallhome(ctx context.Context, objAPI ObjectLayer) { if !globalCallhomeConfig.Enabled() {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.3K bytes - Viewed (0) -
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) -
tests/tracer_test.go
} func (S Tracer) Warn(ctx context.Context, s string, i ...interface{}) { S.Logger.Warn(ctx, s, i...) } func (S Tracer) Error(ctx context.Context, s string, i ...interface{}) { S.Logger.Error(ctx, s, i...) } func (S Tracer) Trace(ctx context.Context, begin time.Time, fc func() (sql string, rowsAffected int64), err error) { S.Logger.Trace(ctx, begin, fc, err) S.Test(ctx, begin, fc, err)
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Oct 18 09:28:06 UTC 2022 - 830 bytes - Viewed (0) -
generics.go
Delete(ctx context.Context) (rowsAffected int, err error) Update(ctx context.Context, name string, value any) (rowsAffected int, err error) Updates(ctx context.Context, t T) (rowsAffected int, err error) Count(ctx context.Context, column string) (result int64, err error) } type ExecInterface[T any] interface { Scan(ctx context.Context, r interface{}) error First(context.Context) (T, error)
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Sep 04 13:13:16 UTC 2025 - 15.5K bytes - Viewed (0) -
README.md
```java import jcifs.CIFSContext; import jcifs.context.BaseContext; import jcifs.smb.NtlmPasswordAuthenticator; // Create context with credentials CIFSContext context = new BaseContext(new jcifs.config.PropertyConfiguration()); NtlmPasswordAuthenticator auth = new NtlmPasswordAuthenticator("domain", "username", "password"); CIFSContext authContext = context.withCredentials(auth); // Use authenticated context
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 09:24:52 UTC 2025 - 6.2K bytes - Viewed (0) -
src/main/java/jcifs/audit/SecurityAuditLogger.java
// Reuse context map or create new entry.context = getContextMap(); if (context != null) { entry.context.putAll(maskContext(context)); } // Add MDC context efficiently addMdcContext(entry.context); // Process asynchronously or synchronously based on configurationRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 26.6K bytes - Viewed (0) -
cmd/admin-handler-utils.go
// specific error. func toAdminAPIErrCode(ctx context.Context, err error) APIErrorCode { if errors.Is(err, errErasureWriteQuorum) { return ErrAdminConfigNoQuorum } return toAPIErrorCode(ctx, err) } // wraps export error for more context func exportError(ctx context.Context, err error, fname, entity string) APIError { if entity == "" {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Jul 03 07:17:20 UTC 2024 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/context/AbstractCIFSContextTest.java
assertFalse(context.hasDefaultCredentials()); } @Test void testHasDefaultCredentials_withNull() { context = new TestAbstractCIFSContext(null); // Test with null credentials assertFalse(context.hasDefaultCredentials()); } @Test void testRenewCredentials() { assertFalse(context.renewCredentials("someLocation", new Exception("someError"))); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
cmd/config-common.go
} func readConfig(ctx context.Context, store objectIO, configFile string) ([]byte, error) { buf, _, err := readConfigWithMetadata(ctx, store, configFile, ObjectOptions{}) return buf, err } type objectDeleter interface { DeleteObject(ctx context.Context, bucket, object string, opts ObjectOptions) (ObjectInfo, error) } func deleteConfig(ctx context.Context, objAPI objectDeleter, configFile string) error {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Sep 18 17:00:54 UTC 2023 - 3.1K 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)