- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 1,096 for ensure (0.12 seconds)
-
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;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.9K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.reproducible-archives.gradle.kts
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ // Ensure the archives produced are reproducible tasks.withType<AbstractArchiveTask>().configureEach { isPreserveFileTimestamps = false isReproducibleFileOrder = true dirPermissions { unix("0755") }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 06 15:37:11 GMT 2024 - 867 bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSet.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Nov 07 16:09:47 GMT 2025 - 35.3K bytes - Click Count (0) -
benchmarks/README.md
### Do * Ensure that the system executing your microbenchmarks has as little load as possible. Shutdown every process that can cause unnecessary runtime jitter. Watch the `Error` column in the benchmark results to see the run-to-run variance. * Ensure to run enough warmup iterations to get the benchmark into a stable state. If you are unsure, don't change the defaults.
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon May 03 15:30:50 GMT 2021 - 5.9K bytes - Click Count (0) -
api/maven-api-model/src/main/java/org/apache/maven/api/model/package-info.java
* <p> * This package contains the data model classes that represent the structure of Maven POM files. * These classes are immutable to ensure thread safety and prevent unintended modifications. * The root class is {@link org.apache.maven.api.model.Model}, which represents the entire POM. * <p> * Key components include: * <ul> * <li>{@link org.apache.maven.api.model.Model} - The root element of a POM file</li>Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Apr 03 13:33:59 GMT 2025 - 1.8K bytes - Click Count (0) -
.github/PULL_REQUEST_TEMPLATE
This PR will be imported into Gerrit with the title and first comment (this text) used to generate the subject and body of the Gerrit change. **Please ensure you adhere to every item in this list.** More info can be found at https://github.com/golang/go/wiki/CommitMessage + The PR title is formatted as follows: `net/http: frob the quux before blarfing` + The package name goes before the colon
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Feb 21 02:07:46 GMT 2018 - 1.2K bytes - Click Count (0) -
android/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 */ @GwtIncompatibleCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbFilenameFilterTest.java
import org.junit.jupiter.api.Test; import org.mockito.Mockito; /** * Tests for {@link SmbFilenameFilter}. Since the interface only defines * a single method, the tests simply ensure that the lambda expression * correctly implements the method and that any exception is propagated. */ class SmbFilenameFilterTest { @Test void acceptReturnsTrueWhenNameMatches() throws Exception {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.6K bytes - Click Count (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")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.9K bytes - Click Count (0) -
src/test/java/jcifs/context/CIFSContextWrapperTest.java
// Mocking SmbFile constructor is tricky, so we'll just verify the call to the delegate // and ensure no exception is thrown for a valid URL. // The actual SmbFile creation is outside the scope of this wrapper's direct responsibility. // For coverage, we'll ensure the method doesn't throw MalformedURLException for a valid URL // and that it attempts to create an SmbFile.
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)