- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 2,546 for context (0.28 seconds)
-
internal/kms/context.go
package kms import ( "bytes" "sort" "unicode/utf8" ) // Context is a set of key-value pairs that // are associated with a generate data encryption // key (DEK). // // A KMS implementation may bind the context to the // generated DEK such that the same context must be // provided when decrypting an encrypted DEK. type Context map[string]string // MarshalText returns a canonical text representation of
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Jan 02 17:15:06 GMT 2022 - 6K bytes - Click Count (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()); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 44.1K bytes - Click Count (0) -
src/main/java/jcifs/CIFSContext.java
CIFSContext withDefaultCredentials(); /** * Create a child context with anonymous credentials * * @return a child context using anonymous credentials */ CIFSContext withAnonymousCredentials(); /** * Create a child context with guest credentials * * @return a child context using guest credentials */ CIFSContext withGuestCrendentials(); /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.9K bytes - Click Count (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);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 12.1K bytes - Click Count (0) -
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 Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 6.2K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/HelpTest.java
} @Test void testHelpLogsMessages() throws Exception { UpgradeContext context = createMockContext(); help.execute(context); // Verify that logger.info was called multiple times // We can't easily verify the exact content without capturing the logger output, // but we can verify that the method executes without errorsCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Aug 29 12:46:51 GMT 2025 - 3.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/QueryCommandTemplateMethodTest.java
/** * Test convertWithFieldCheck() adds query text to context. */ @Test public void test_convertWithFieldCheck_addsToContext() { FessConfig fessConfig = ComponentUtil.getFessConfig(); QueryContext context = new QueryContext("test", true); String queryText = "search term"; queryCommand.convertWithFieldCheck(fessConfig, context, "title", queryText, 1.0f,Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.5K bytes - Click Count (0) -
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: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 13.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/FuzzyQueryCommandTest.java
QueryBuilder result = fuzzyQueryCommand.convertFuzzyQuery(context, fuzzyQuery, 1.0f); assertNotNull(result); } // Test with various field names @Test public void test_convertFuzzyQuery_withVariousFields() { QueryContext context = new QueryContext("test", false); String[] fields = { "title", "content", "url", "site", "host", "mimetype" };Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.7K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java
String result = upgradeGoal.testDoUpgradeLogic(context, "4.0.0"); assertEquals("4.0.0", result); } @Test @DisplayName("should prioritize explicit model over --all option") void shouldPrioritizeExplicitModelOverAllOption() { UpgradeContext context =
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 13.7K bytes - Click Count (0)