- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 195 for Initialization (0.17 seconds)
-
src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java
// Test SearchEngineClient field injection ThumbnailGenerator generator = new ThumbnailGenerator(); assertNull(generator.searchEngineClient); // After proper initialization, it should be injected SearchEngineClient mockClient = new SearchEngineClient() { // Mock implementation }; generator.searchEngineClient = mockClient;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.2K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java
} } AggregateFutureState(int remainingFutures) { this.remainingField = remainingFutures; } final Set<Throwable> getOrInitSeenExceptions() { /* * The initialization of seenExceptionsField has to be more complicated than we'd like. The * simple approach would be for each caller CAS it from null to a Set populated with its
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java
protected void tearDown(TestInfo testInfo) throws Exception { ComponentUtil.setFessConfig(null); super.tearDown(testInfo); } @Test public void test_init() { // Test initialization with null fields queryFieldConfig.init(); // Verify response fields are initialized assertNotNull(queryFieldConfig.getResponseFields());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 33.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java
* @param filter additional resource name filter to apply * @param searchAttributes the file attributes to search for * @throws CIFSException if an error occurs during initialization */ public DirFileEntryEnumIteratorBase(final SmbTreeHandleImpl th, final SmbResource parent, final String wildcard, final ResourceNameFilter filter, final int searchAttributes) throws CIFSException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.7K bytes - Click Count (0) -
fastapi/security/oauth2.py
The OAuth2 specification dictates that for a password flow the data should be collected using form data (instead of JSON) and that it should have the specific fields `username` and `password`. All the initialization parameters are extracted from the request. Read more about it in the [FastAPI docs for Simple OAuth2 with Password and Bearer](https://fastapi.tiangolo.com/tutorial/security/simple-oauth2/). ## ExampleCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Mar 24 16:32:10 GMT 2026 - 23.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java
// Simulate witness service discovery InetAddress mockWitnessAddress = InetAddress.getByName("127.0.0.1"); // Test witness client initialization patterns assertDoesNotThrow(() -> { // Validate that witness client configuration is properly set up assertTrue(mockConfig.isUseWitness() || !mockConfig.isUseWitness()); // Either state is validCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 9.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java
assertEquals(32, salt2.length); assertFalse(java.util.Arrays.equals(salt1, salt2)); // Should be different } @Test @DisplayName("Test session initialization") public void testSessionInitialization() throws CIFSException { String sessionId = "test-session-1"; byte[] salt = preauthService.generatePreauthSalt();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java
NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication("DOMAIN", "user", "password"); byte[] challenge = { 1, 2, 3, 4, 5, 6, 7, 8 }; // Behavior is determined by static initialization, not runtime config byte[] unicodeHash = auth.getUnicodeHash(challenge); byte[] ansiHash = auth.getAnsiHash(challenge); // Unicode hash returns empty array due to static LM_COMPATIBILITY=3
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.7K bytes - Click Count (0) -
cmd/erasure-sets_test.go
} if crcHashElement := hashKey("UNKNOWN", "This will fail", 0, testUUID); crcHashElement != -1 { t.Errorf("Test: Expected \"-1\" but got \"%v\"", crcHashElement) } } // TestNewErasure - tests initialization of all input disks // and constructs a valid `Erasure` object func TestNewErasureSets(t *testing.T) { ctx, cancel := context.WithCancel(t.Context()) defer cancel() nDisks := 16 // Maximum disks.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 6.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
transaction = new TestSmbComTransaction(mockConfig, SmbComTransaction.SMB_COM_TRANSACTION, SmbComTransaction.TRANS2_FIND_FIRST2); } @Test @DisplayName("Test constructor initialization") void testConstructor() { // Verify command and subcommand are set correctly assertEquals(SmbComTransaction.SMB_COM_TRANSACTION, transaction.getCommand());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.7K bytes - Click Count (0)