- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 1,333 for Given (0.14 seconds)
-
src/test/java/jcifs/dcerpc/rpcTest.java
@Nested @DisplayName("UUID Tests") class UuidTests { @Test @DisplayName("Should encode UUID correctly") void testUuidTEncode() throws NdrException { // Given: A UUID with test values rpc.uuid_t uuid = new rpc.uuid_t(); uuid.time_low = 0x12345678; uuid.time_mid = (short) 0x9ABC; uuid.time_hi_and_version = (short) 0xDEF0;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
src/test/java/jcifs/spnego/SpnegoExceptionTest.java
assertTrue(ex instanceof IOException, "Should be an IOException"); } @Test @DisplayName("Should create SpnegoException with message") void testWithMessage() { // Given String message = "SPNEGO failed"; // When SpnegoException ex = new SpnegoException(message); // Then assertNotNull(ex); assertEquals(message, ex.getMessage());
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) -
android/guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java
/** * Creates a new {@code AtomicDoubleArray} of the given length, with all elements initially zero. * * @param length the length of the array */ public AtomicDoubleArray(int length) { this.longs = new AtomicLongArray(length); } /** * Creates a new {@code AtomicDoubleArray} with the same length as, and all elements copied from, * the given array. * * @param array the array to copy elements fromCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 8.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java
} @Test @DisplayName("Should set file ID correctly in Smb2CloseRequest") void testSetFileIdInCloseRequest() { // Given Smb2CloseRequest request = new Smb2CloseRequest(mockConfig, emptyFileId); // When request.setFileId(testFileId);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
response = new Smb2ChangeNotifyResponse(mockConfig); } @Test @DisplayName("Should create response with configuration") void testConstructorWithConfiguration() { // Given & When Smb2ChangeNotifyResponse resp = new Smb2ChangeNotifyResponse(mockConfig); // Then assertNotNull(resp); assertTrue(resp instanceof ServerMessageBlock2Response);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 18.8K bytes - Click Count (0) -
src/main/java/jcifs/NameServiceClient.java
* * @return the unknown name */ NetbiosName getUnknownName(); /** * Retrieve all addresses of a host by it's address. NetBIOS hosts can * have many names for a given IP address. The name and IP address make the * NetBIOS address. This provides a way to retrieve the other names for a * host with the same IP address. * * @param addr * the address to queryCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.4K bytes - Click Count (0) -
build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateAgpVersionsTest.groovy
import spock.lang.Specification class UpdateAgpVersionsTest extends Specification { def "selects matching gradle major versions when rc available (minimumSupported=#minimumSupported)"() { given: def gradleVersion = GradleVersion.version("9.2") def allVersions = [ "8.8.0", "8.9.0", "9.0.0-alpha01", "9.0.0-beta01", "9.0.0-rc01" ].shuffled() when:Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jan 15 06:57:24 GMT 2026 - 4.7K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AtomicDouble.java
public final double get() { return longBitsToDouble(value.get()); } /** * Sets to the given value. * * @param newValue the new value */ public final void set(double newValue) { long next = doubleToRawLongBits(newValue); value.set(next); } /** * Eventually sets to the given value. * * @param newValue the new value */ public final void lazySet(double newValue) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 7.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/SourceSinkFactory.java
/** * Returns the data to expect the source or sink to contain given the data that was used to create * the source or written to the sink. Typically, this will just return the input directly, but in * some cases it may alter the input. For example, if the factory returns a sliced view of a * source created with some given bytes, this method would return a subsequence of the given * (byte[]) data. */ T getExpected(T data);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 30 16:59:10 GMT 2025 - 3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/convert/TimeConversionUtil.java
} /** * Converts the given object to a {@link Date}. * * @param src * The source object to convert. * @return The converted {@link Date}. */ public static Date toDate(final Object src) { return toDate(src, null, LocaleUtil.getDefault()); } /** * Converts the given object to a {@link Date}. * * @param srcCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 20.3K bytes - Click Count (0)