- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 755 for Ensure (0.04 sec)
-
guava/src/com/google/common/collect/ImmutableSet.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.2K bytes - Viewed (0) -
src/test/java/jcifs/BaseTest.java
import org.mockito.junit.jupiter.MockitoExtension; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Base test class providing common test infrastructure and utilities. * All test classes should extend this to ensure consistent test setup. */ @ExtendWith(MockitoExtension.class) public abstract class BaseTest { protected final Logger logger = LoggerFactory.getLogger(getClass()); @BeforeEach void baseSetUp() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/SortedMultisetBridge.java
import java.util.SortedSet; import org.jspecify.annotations.Nullable; /** * Superinterface of {@link SortedMultiset} to introduce a bridge method for {@code elementSet()}, * to ensure binary compatibility with older Guava versions that specified {@code elementSet()} to * return {@code SortedSet}. * * @author Louis Wasserman */ @GwtIncompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java
assertEquals(mockPolicyHandle, capturedRpc.handle); assertEquals(access, capturedRpc.access_mask); assertEquals(mockSid, capturedRpc.sid); assertEquals(handle, capturedRpc.domain_handle); // Ensure the handle itself is passed for output } @Test void constructor_shouldThrowSmbExceptionOnRpcError() throws IOException { // Arrange int access = 0x01;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NbtExceptionTest.java
assertTrue(exception instanceof CIFSException, "NbtException should be an instance of CIFSException"); } /** * Test the getErrorString method with various error classes and codes to ensure all branches are covered. */ @ParameterizedTest @MethodSource("provideErrorClassAndCodeForGetErrorString") @DisplayName("getErrorString should return correct messages for all defined error classes and codes")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.9K bytes - Viewed (0) -
cmd/os_windows.go
// the directory itself, if the dirPath doesn't exist this function doesn't return // an error. func readDirFn(dirPath string, filter func(name string, typ os.FileMode) error) error { // Ensure we don't pick up files as directories. globAll := filepath.Clean(dirPath) + `\*` globAllP, err := syscall.UTF16PtrFromString(globAll) if err != nil { return errInvalidArgument } data := &syscall.Win32finddata{}
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 5K bytes - Viewed (0) -
cmd/admin-handlers-idp-ldap.go
// More than maxConfigSize bytes were available writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminConfigTooLarge), r.URL) return } // Ensure body content type is opaque to ensure that request body has not // been interpreted as form data. contentType := r.Header.Get("Content-Type") if contentType != "application/octet-stream" {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 08 02:46:04 UTC 2025 - 19.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/validation/CronExpression.java
import java.lang.annotation.Retention; import java.lang.annotation.Target; import jakarta.validation.Constraint; import jakarta.validation.Payload; /** * Validation constraint to ensure that a string is a valid cron expression. */ @Target({ METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER }) @Retention(RUNTIME) @Documented @Constraint(validatedBy = CronExpressionValidator.class)
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/MsrpcEnumerateAliasesInDomainTest.java
// We can't directly assert these values on the superclass fields without reflection or a testable superclass. // For 100% coverage, we'd need to ensure the superclass constructor is indeed called with these values. // However, given the current structure, testing the fields set by MsrpcEnumerateAliasesInDomain itself is the primary focus. }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallback.java
* * @return the execution time in milliseconds */ long getExecuteTime(); /** * Commits all pending index update operations to ensure data persistence. * This method should be called after all documents have been stored. */ void commit();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.8K bytes - Viewed (0)