Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,713 for Context (0.03 sec)

  1. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

            logger.setSensitiveDataMaskingEnabled(true);
    
            Map<String, Object> context = new HashMap<>();
            context.put("password", "secretpassword123");
            context.put("sessionId", "abc123def456");
            context.put("username", "******@****.***");
    
            logger.logEvent(EventType.AUTHENTICATION_SUCCESS, Severity.INFO, "Login attempt", context);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  2. cmd/healthcheck-handler.go

    				apiErr := toAPIError(r.Context(), err)
    				writeResponse(w, apiErr.HTTPStatusCode, nil, mimeNone)
    			case http.MethodGet:
    				writeErrorResponse(r.Context(), w, toAPIError(r.Context(), err), r.URL)
    			}
    			return
    		}
    	}
    
    	if globalEtcdClient != nil {
    		// Borrowed from
    		// https://github.com/etcd-io/etcd/blob/main/etcdctl/ctlv3/command/ep_command.go#L118
    		ctx, cancel := context.WithTimeout(r.Context(), defaultContextTimeout)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 26 07:44:34 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. docs/smb3-features/02-persistent-handles-design.md

        private final Path stateDirectory;
        private final ScheduledExecutorService scheduler;
        private final CIFSContext context;
        
        public PersistentHandleManager(CIFSContext context) {
            this.context = context;
            this.handles = new ConcurrentHashMap<>();
            this.guidToHandle = new ConcurrentHashMap<>();
            this.scheduler = Executors.newScheduledThreadPool(1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  4. 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)
  5. src/main/java/jcifs/internal/witness/WitnessClient.java

         *
         * @param witnessServer the witness server address
         * @param context the CIFS context
         * @throws IOException if initialization fails
         */
        public WitnessClient(InetAddress witnessServer, CIFSContext context) throws IOException {
            this(witnessServer, context, new WitnessRpcClient(witnessServer, context));
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            // Then
            NegotiateContextRequest[] contexts = request.getNegotiateContexts();
            assertNotNull(contexts);
            assertEquals(2, contexts.length);
    
            // Verify preauth context
            assertTrue(contexts[0] instanceof PreauthIntegrityNegotiateContext);
            assertEquals(PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE, contexts[0].getContextType());
    
            // Verify encryption context
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbOperationException.java

        }
    
        /**
         * Add context information
         *
         * @param key the context key
         * @param value the context value
         * @return this exception for chaining
         */
        public SmbOperationException withContext(String key, Object value) {
            this.context.put(key, value);
            return this;
        }
    
        /**
         * Add multiple context values
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  8. cmd/benchmark-utils_test.go

    func benchmarkPutObjectPart(b *testing.B, instanceType string, objSize int) {
    	// create a temp Erasure/FS backend.
    	ctx, cancel := context.WithCancel(b.Context())
    	defer cancel()
    	objLayer, disks, err := prepareTestBackend(ctx, instanceType)
    	if err != nil {
    		b.Fatalf("Failed obtaining Temp Backend: <ERROR> %s", err)
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. cmd/bucket-metadata-sys.go

    	sys.Set(meta.Name, meta)
    	globalNotificationSys.LoadBucketMetadata(bgContext(ctx), meta.Name) // Do not use caller context here
    	return nil
    }
    
    // Delete delete the bucket metadata for the specified bucket.
    // must be used by all callers instead of using Update() with nil configData.
    func (sys *BucketMetadataSys) Delete(ctx context.Context, bucket string, configFile string) (updatedAt time.Time, err error) {
    	if configFile == bucketLifecycleConfig {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/query/TermRangeQueryCommand.java

                final String origQuery = queryBuf.toString();
                context.addFieldLog(Constants.DEFAULT_FIELD, origQuery);
                context.addHighlightedQuery(origQuery);
                return buildDefaultQueryBuilder(fessConfig, context, (f, b) -> QueryBuilders.matchPhraseQuery(f, origQuery).boost(b));
            }
    
            context.addFieldLog(field, termRangeQuery.toString(field));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.9K bytes
    - Viewed (0)
Back to top