Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 1,770 for contexto (0.06 seconds)

  1. src/test/java/jcifs/SmbTransportPoolTest.java

                when(transportPool.getChallenge(context, address)).thenReturn(challenge);
                doNothing().when(transportPool).logon(context, address);
    
                // When
                byte[] retrievedChallenge = transportPool.getChallenge(context, address);
                transportPool.logon(context, address);
    
                // Then
                assertNotNull(retrievedChallenge);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  2. api/maven-api-core/src/test/java/org/apache/maven/api/services/RequestTraceTest.java

            RequestTrace parentTrace = new RequestTrace("parent-context", null, "parent-data");
            RequestTrace childTrace = new RequestTrace("child-context", parentTrace, "child-data");
    
            assertEquals("parent-context", parentTrace.context());
            assertNull(parentTrace.parent());
            assertEquals("parent-data", parentTrace.data());
    
            assertEquals("child-context", childTrace.context());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/Help.java

            context.unindent();
            context.println();
            context.info("Usage: mvnup [options] <goal>");
            context.println();
            context.info("Options:");
            context.indent();
            context.info("-m, --model-version <version> Target POM model version (4.0.0 or 4.1.0)");
            context.info("-d, --directory <path> Directory to use as starting point for POM discovery");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Aug 29 12:46:51 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  4. cmd/peer-rest-client.go

    func (client *peerRESTClient) GetLocks(ctx context.Context) (lockMap map[string][]lockRequesterInfo, err error) {
    	resp, err := getLocksRPC.Call(ctx, client.gridConn(), grid.NewMSS())
    	if err != nil || resp == nil {
    		return nil, err
    	}
    	return *resp, nil
    }
    
    // LocalStorageInfo - fetch server information for a remote node.
    func (client *peerRESTClient) LocalStorageInfo(ctx context.Context, metrics bool) (info StorageInfo, err error) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 26.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

         *
         * @param context the query context
         * @param termQuery the term query to convert
         * @param boost the boost value to apply
         * @return the converted QueryBuilder
         */
        protected QueryBuilder convertTermQuery(final QueryContext context, final TermQuery termQuery, final float boost) {
            final String field = getSearchField(context.getDefaultField(), termQuery.getTerm().field());
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java

            assertActivation(false, newExistsProfile("someFile.txt"), context);
            assertActivation(false, newExistsProfile("${project.basedir}/someFile.txt"), context);
    
            assertActivation(false, newMissingProfile(null), context);
            assertActivation(true, newMissingProfile("someFile.txt"), context);
            assertActivation(true, newMissingProfile("${project.basedir}/someFile.txt"), context);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java

                when(mockStrategies.get(1).isApplicable(context)).thenReturn(true);
                when(mockStrategies.get(1).apply(Mockito.eq(context), Mockito.any()))
                        .thenReturn(UpgradeResult.empty());
    
                when(mockStrategies.get(2).isApplicable(context)).thenReturn(false);
    
                UpgradeResult result = orchestrator.executeStrategies(context, pomMap);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  8. 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)
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Oct 18 09:28:06 GMT 2022
    - 830 bytes
    - Click Count (0)
  9. docs/ko/docs/tutorial/dependencies/dependencies-with-yield.md

    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    내부적으로 `open("./somefile.txt")` 는 "컨텍스트 관리자(Context Manager)"라고 불리는 객체를 생성합니다.
    
    `with` 블록이 끝나면, 예외가 발생했더라도 파일을 닫도록 보장합니다.
    
    `yield`가 있는 의존성을 생성하면 **FastAPI**는 내부적으로 이를 위한 컨텍스트 매니저를 생성하고 다른 관련 도구들과 결합합니다.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Feb 09 14:54:09 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java

            assertTrue(context.supportsAlgorithm(CompressionNegotiateContext.COMPRESSION_LZ77));
            assertTrue(context.supportsAlgorithm(CompressionNegotiateContext.COMPRESSION_LZ77_HUFFMAN));
            assertTrue(context.supportsAlgorithm(CompressionNegotiateContext.COMPRESSION_LZNT1));
            assertFalse(context.supportsAlgorithm(CompressionNegotiateContext.COMPRESSION_PATTERN_V1));
        }
    
        @Test
        @DisplayName("Test context encoding")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 5.6K bytes
    - Click Count (0)
Back to Top