Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 1,520 for _context (0.13 sec)

  1. cmd/object-handlers.go

    // to exist locally.
    func isRemoteCopyRequired(ctx context.Context, srcBucket, dstBucket string, objAPI ObjectLayer) bool {
    	if srcBucket == dstBucket {
    		return false
    	}
    	return isRemoteCallRequired(ctx, dstBucket, objAPI)
    }
    
    // Check if the bucket is on a remote site, this code only gets executed when federation is enabled.
    func isRemoteCallRequired(ctx context.Context, bucket string, objAPI ObjectLayer) bool {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 120.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/query/QueryProcessorTest.java

                protected FilterChain createDefaultFilterChain() {
                    return (context, query, boost) -> {
                        called.set(true);
                        return QueryBuilders.boolQuery();
                    };
                }
            };
            queryProcessor.init();
    
            QueryContext context = new QueryContext(null, false);
            MatchAllDocsQuery query = new MatchAllDocsQuery();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. cmd/metrics-v3-api.go

    //
    // This is a `MetricsLoaderFn`.
    //
    // This includes node level S3 HTTP metrics.
    //
    // This function currently ignores `opts`.
    func loadAPIRequestsHTTPMetrics(ctx context.Context, m MetricValues, _ *metricsCache) error {
    	// Collect node level S3 HTTP metrics.
    	httpStats := globalHTTPStats.toServerHTTPStats(false)
    
    	// Currently we only collect S3 API related stats, so we set the "type"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. cmd/admin-handlers_test.go

    	erasureDirs []string
    	objLayer    ObjectLayer
    	router      *mux.Router
    	done        context.CancelFunc
    }
    
    // prepareAdminErasureTestBed - helper function that setups a single-node
    // Erasure backend for admin-handler tests.
    func prepareAdminErasureTestBed(ctx context.Context) (*adminErasureTestBed, error) {
    	ctx, cancel := context.WithCancel(ctx)
    
    	// reset global variables to start afresh.
    	resetTestGlobals()
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/witness/WitnessHeartbeatRequest.java

            this.sequenceNumber = sequenceNumber;
        }
    
        /**
         * Gets the context handle.
         *
         * @return the context handle
         */
        public byte[] getContextHandle() {
            return contextHandle;
        }
    
        /**
         * Sets the context handle.
         *
         * @param contextHandle the context handle
         */
        public void setContextHandle(byte[] contextHandle) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SpnegoContextTest.java

        void testGetFlagsDelegates() {
            SpnegoContext ctx = newContext();
            when(this.mechContext.getFlags()).thenReturn(0xCAFE);
            assertEquals(0xCAFE, ctx.getFlags());
            verify(this.mechContext, times(1)).getFlags();
        }
    
        @Test
        @DisplayName("dispose delegates to underlying mechanism context")
        void testDisposeDelegates() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/entity/QueryContextTest.java

            assertEquals("*", queryContext.getQueryString());
            assertEquals("title", queryContext.getDefaultField());
        }
    
        // Test constructor with isQuery true (with request context)
        public void test_constructor_isQueryTrue() {
            getMockRequest().setAttribute(Constants.FIELD_LOGS, new HashMap<String, List<String>>());
            queryContext = new QueryContext("test", true);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java

        }
    
        public void test_isValid_nullValue() {
            final CustomSize annotation = createBasicAnnotation();
            validator.initialize(annotation);
    
            // Test null context - should return true for null value regardless of context
            assertTrue(validator.isValid(null, null));
        }
    
        public void test_initialize_withValidParameters() {
            final CustomSize annotation = createBasicAnnotation();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. android-test/src/test/kotlin/okhttp/android/test/AndroidSocketAdapterTest.kt

        assertTrue(adapter.matchesSocketFactory(context.socketFactory))
        assertNotNull(adapter.trustManager(context.socketFactory))
      }
    
      @Test
      fun testDoesntMatchSupportedCustomSocketFactory() {
        assumeFalse(adapter is StandardAndroidSocketAdapter)
    
        assertFalse(adapter.matchesSocketFactory(context.socketFactory))
        assertNull(adapter.trustManager(context.socketFactory))
      }
    
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainManager.java

                throws ToolchainManagerException {
            return getToolchains(session, type, null);
        }
    
        /**
         * Retrieves the currently active toolchain from the build context.
         *
         * @param session The Maven session context
         * @param type The type of toolchain to retrieve
         * @return Optional containing the toolchain if found
         * @throws ToolchainManagerException if toolchain retrieval fails
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Feb 11 12:33:57 UTC 2025
    - 3.5K bytes
    - Viewed (0)
Back to top