- Sort Score
- Num 10 results
- Language All
Results 1171 - 1180 of 1,561 for Handle (0.05 seconds)
-
src/main/java/jcifs/internal/smb1/net/NetServerEnum2Response.java
import jcifs.internal.smb1.trans.SmbComTransactionResponse; import jcifs.internal.util.SMBUtil; import jcifs.smb.FileEntry; import jcifs.util.Hexdump; /** * SMB1 NetServerEnum2 transaction response implementation. * Handles responses from network server enumeration operations, parsing server * information returned by the NetServerEnum2 transaction in SMB1 protocol. * * @author mbechler * */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java
assertEquals(0x04, buffer[0] & 0xFF, "First byte must still be 0x04"); assertEquals(0, buffer[1], "Second byte must be null terminator"); } @Test @DisplayName("writeBytesWireFormat handles empty string gracefully") void testWriteEmptyString() { when(mockConfig.getOemEncoding()).thenReturn("windows-1252"); SmbComQueryInformation emptyCmd = new SmbComQueryInformation(mockConfig, "");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileFilterTest.java
verifyNoMoreInteractions(smbFile); } @ParameterizedTest(name = "getName='{0}' -> accepted={1}") @MethodSource("nameCases") @DisplayName("accept: name-based filter handles normal, empty, and null names") void accept_nameBasedFilter_handlesEdgeNames(String name, boolean expected) throws Exception { // Arrange: filter that accepts non-empty names ending with .txt
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
tests/test_response_dependency.py
"""Test using special types (Response, Request, BackgroundTasks) as dependency annotations. These tests verify that special FastAPI types can be used with Depends() annotations and that the dependency injection system properly handles them. """ from typing import Annotated from fastapi import BackgroundTasks, Depends, FastAPI, Request, Response from fastapi.responses import JSONResponse from fastapi.testclient import TestClient
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 05 18:23:16 GMT 2026 - 5.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/base/login/EntraIdCredential.java
} return permissions; } @Override public boolean refresh() { // MSAL4J handles token refresh internally through silent authentication // Check if token is still valid by comparing absolute timestampsCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 7.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/DosFileFilterTest.java
/** * Tests the constructor of DosFileFilter. * This test ensures that the constructor runs without errors and correctly initializes the object. * The wildcard parameter is stored but its filtering logic is handled server-side, * so we only verify its acceptance here. */ @Test void testConstructor() { // The constructor should not throw any exceptions with valid inputs.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.2K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileInjector.java
import org.apache.maven.model.Reporting; import org.apache.maven.model.building.ModelBuildingRequest; import org.apache.maven.model.building.ModelProblemCollector; import org.apache.maven.model.merge.MavenModelMerger; /** * Handles profile injection into the model. * * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead */ @Named @Singleton @Deprecated(since = "4.0.0") @SuppressWarnings({"checkstyle:methodname"})Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponse.java
static final int SMB_QUERY_FS_SIZE_INFO = 0x103; static final int SMB_FS_FULL_SIZE_INFORMATION = 1007; class SmbInfoAllocation implements AllocInfo { long alloc; // Also handles SmbQueryFSSizeInfo long free; int sectPerAlloc; int bytesPerSect; @Override public long getCapacity() { return alloc * sectPerAlloc * bytesPerSect; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java
// expected assertTrue(e.getMessage().contains("Not found the classification: null")); } catch (NullPointerException e) { // Also acceptable if null is not handled explicitly } } @Test public void test_findOnMainSchema_alwaysReturnsNull() { // Since the implementation always returns null (no DBFlute classification used),Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.7K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/AbstractInvocationHandler.java
import java.lang.reflect.Method; import java.lang.reflect.Proxy; import java.util.Arrays; import org.jspecify.annotations.Nullable; /** * Abstract implementation of {@link InvocationHandler} that handles {@link Object#equals}, {@link * Object#hashCode} and {@link Object#toString}. For example: * * <pre> * class Unsupported extends AbstractInvocationHandler {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 5.1K bytes - Click Count (0)