- Sort Score
- Result 10 results
- Languages All
Results 291 - 300 of 1,413 for contexts (0.04 sec)
-
cmd/local-locker.go
for _, resource := range resources { _, lockTaken := l.lockMap[resource] if lockTaken { return false } } return true } func (l *localLocker) Lock(ctx context.Context, args dsync.LockArgs) (reply bool, err error) { if len(args.Resources) > maxDeleteList { return false, fmt.Errorf("internal error: localLocker.Lock called with more than %d resources", maxDeleteList) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12K bytes - Viewed (0) -
cmd/data-usage.go
cachevalue.Opts{ReturnLastGood: true, NoWait: true}, func(ctx context.Context) (map[string]uint64, error) { m := make(map[string]uint64) for _, pool := range z.serverPools { for _, er := range pool.sets { // Load bucket usage prefixes ctx, done := context.WithTimeout(ctx, 2*time.Second) ok := cache.load(ctx, er, bucket+slashSeparator+dataUsageCacheName) == nil done()
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu May 09 00:51:34 UTC 2024 - 5.6K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/OkHttp.android.kt
* a robolectric test. * * The functionality that will fail without a valid Context is primarily Cookies and URL Domain handling, but * may expand in the future. */ fun initialize(applicationContext: Context) { if (PlatformRegistry.applicationContext == null) { // Make sure we aren't using an Activity or Service Context PlatformRegistry.applicationContext = applicationContext.applicationContext } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 1.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/CreateContextRequest.java
import jcifs.Encodable; /** * SMB2 Create Context request interface. This interface defines the contract for * context data included in SMB2 Create requests. * * @author mbechler * */ public interface CreateContextRequest extends Encodable { /** * Get the name of this create context. * @return context name as byte array */ byte[] getName();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.2K 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 Sep 07 19:28:11 UTC 2025 - Last Modified: Fri May 16 14:27:42 UTC 2025 - 18.1K 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/internal/smb2/lock/Smb2LeaseBreakAcknowledgment.java
} /** * Create a lease break acknowledgment * * @param context CIFS context * @param leaseKey lease key * @param leaseState acknowledged lease state */ public Smb2LeaseBreakAcknowledgment(CIFSContext context, Smb2LeaseKey leaseKey, int leaseState) { this(context.getConfig(), leaseKey, leaseState); } /** * Gets the lease key for this acknowledgment
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
@Test @DisplayName("Should handle constructor with context") void testConstructor() { // When NameServiceClientImpl client = new NameServiceClientImpl(mockContext); // Then assertNotNull(client, "Should create client instance"); } @Test @DisplayName("Should handle constructor with null context") void testConstructorWithNullContext() { // When/Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11K bytes - Viewed (0) -
cmd/jwt_test.go
return token.SignedString([]byte(secretKey)) } // Tests web request authenticator. func TestWebRequestAuthenticate(t *testing.T) { ctx, cancel := context.WithCancel(t.Context()) 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 Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 4.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java
/** * SMB 3.1.1 Compression Capabilities negotiate context. * * This context is used during SMB2 negotiation to negotiate compression * algorithms for SMB3 data compression support. */ public class CompressionNegotiateContext implements NegotiateContextRequest, NegotiateContextResponse { private static final Logger log = LoggerFactory.getLogger(CompressionNegotiateContext.class); // Context type
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 7.5K bytes - Viewed (0)