- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 855 for Initialized (0.14 seconds)
-
src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationResponseTest.java
private Trans2SetFileInformationResponse response; @BeforeEach void setUp() { // Initialize a new response object before each test response = new Trans2SetFileInformationResponse(); } /** * Test for the constructor of {@link Trans2SetFileInformationResponse}. * It should initialize the subCommand correctly. */ @Test void testConstructor() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.8K bytes - Click Count (0) -
src/test/java/jcifs/MsrpcDfsRootEnumTest.java
assertEquals(TEST_SERVER, dfsRootEnum.dfs_name); // Verify preferred max length is set to maximum assertEquals(0xFFFF, dfsRootEnum.prefmaxlen); // Verify totalentries is initialized assertNotNull(dfsRootEnum.totalentries); } @Test @DisplayName("getEntries should return empty array when no DFS roots exist") void testGetEntries_emptyArray() throws Exception {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/Request.java
*/ public interface Request<T extends CommonServerMessageBlockResponse> extends CommonServerMessageBlockRequest { /** * Initializes and returns a response object for this request. * * @param tc the CIFS context * @return the initialized response */ T initResponse(CIFSContext tc); /** * * @return the response message */ @Override
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/DfsReferralTest.java
* and that the toString method returns the expected format. */ class DfsReferralTest { /** * Tests the default constructor of the DfsReferral class. * It verifies that a new DfsReferral object is initialized with its 'next' * property pointing to itself. */ @Test void testDefaultConstructor() { // Given DfsReferral referral = new DfsReferral(); // When / ThenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.8K bytes - Click Count (0) -
internal/once/init.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package once import ( "context" "sync" "sync/atomic" ) // Inspired from Golang sync.Once but it is only marked // initialized when the provided function returns nil. // Init represents the structure. type Init struct { done uint32 m sync.Mutex } // Do is similar to sync.Once.Do - makes one successful
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 09 04:20:31 GMT 2023 - 2.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/web/api/ApiResultTest.java
} @Test public void test_ApiStartJobResponse_hasVersionField() { final ApiStartJobResponse response = new ApiStartJobResponse(); response.status(Status.OK); // version is initialized from SystemHelper.getProductVersion() // In test environment it may be null, but the field should exist assertEquals(0, response.status); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 11:55:54 GMT 2026 - 4.5K bytes - Click Count (0) -
internal/lock/lock.go
r.mutex.Lock() defer r.mutex.Unlock() if r.refs == 0 { return os.ErrInvalid } r.refs-- if r.refs == 0 { err = r.File.Close() } return err } // Provides a new initialized read locked struct from *os.File func newRLockedFile(lkFile *LockedFile) (*RLockedFile, error) { if lkFile == nil { return nil, os.ErrInvalid } return &RLockedFile{ LockedFile: lkFile, refs: 1,
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Jan 02 17:15:06 GMT 2022 - 2.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractSetTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class AbstractSetTester<E> extends AbstractCollectionTester<E> { /* * Previously we had a field named set that was initialized to the value of * collection in setUp(), but that caused problems when a tester changed the * value of set or collection but not both. */ protected final Set<E> getSet() { return (Set<E>) collection; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 1.4K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameQueryResponseTest.java
// Initialize NameQueryResponse before each test nameQueryResponse = new NameQueryResponse(mockConfig); } @Test void constructor_shouldInitializeRecordName() throws NoSuchFieldException, IllegalAccessException { // Verify that the 'recordName' field in the superclass (NameServicePacket) is initializedCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.4K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AggregateFutureState.java
import org.jspecify.annotations.Nullable; /** Emulation of AggregateFutureState. */ abstract class AggregateFutureState<OutputT extends @Nullable Object> extends AbstractFuture.TrustedFuture<OutputT> { // Lazily initialized the first time we see an exception; not released until all the input futures // & this future completes. Released when the future releases the reference to the running state private @Nullable Set<Throwable> seenExceptions = null;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.7K bytes - Click Count (0)