- Sort Score
- Result 10 results
- Languages All
Results 511 - 520 of 1,735 for Result (0.04 sec)
-
src/test/java/org/codelibs/core/beans/converter/DateConverterTest.java
public void testGetAsObjectAndGetAsString() throws Exception { final DateConverter converter = new DateConverter("yyyy/MM/dd"); final Date result = (Date) converter.getAsObject("2008/01/16"); System.out.println(result); assertThat(converter.getAsString(result), is("2008/01/16")); } /** * @throws Exception */ @Test public void testIsTarget() throws Exception {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/converter/TimeConverterTest.java
public void testGetAsObjectAndGetAsString() throws Exception { final TimeConverter converter = new TimeConverter("HH:mm:ss"); final java.sql.Time result = (java.sql.Time) converter.getAsObject("12:34:56"); System.out.println(result); assertThat(converter.getAsString(result), is("12:34:56")); } /** * @throws Exception */ public void testIsTarget() throws Exception {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.6K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Ints.java
length += array.length; } int[] result = new int[checkNoOverflow(length)]; int pos = 0; for (int[] array : arrays) { System.arraycopy(array, 0, result, pos, array.length); pos += array.length; } return result; } private static int checkNoOverflow(long result) { checkArgument( result == (int) result,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 31.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
byte[] clientData = hex("A0A1A2A3A4"); // Act byte[] result = NtlmUtil.computeResponse(key, serverChallenge, clientData, 0, clientData.length); // Assert: result = mac(16) + clientData assertEquals(16 + clientData.length, result.length); assertArrayEquals(clientData, Arrays.copyOfRange(result, 16, 16 + clientData.length)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt
// Shared segments cannot be compacted so we'll get a long chain of short segments. val result = Buffer() while (!buffer.exhausted()) { val box = Buffer() box.write(buffer, 1) result.write(box.copy(), 1) } return result } tailrec fun File.isDescendentOf(directory: File): Boolean { val parentFile = parentFile ?: return false
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.3K bytes - Viewed (0) -
tests/scopes_test.go
if db.Find(&User{}).Statement.Table != "custom_table" { t.Errorf("failed to call Scopes") } result := DB.Scopes(NameIn1And2, func(tx *gorm.DB) *gorm.DB { return tx.Session(&gorm.Session{}) }).Find(&users1) if result.RowsAffected != 2 { t.Errorf("Should found two users's name in 1, 2, but got %v", result.RowsAffected) } var maxId int64 userTable := func(db *gorm.DB) *gorm.DB {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Jan 12 08:42:21 UTC 2024 - 3.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt
if (planToReplace != null) { nextRouteToTry = planToReplace.route planToReplace.closeQuietly() } connectionUser.connectionAcquired(result) connectionUser.connectionConnectionAcquired(result) return ReusePlan(result) } /** Returns a plan for the first attempt at [route]. This throws if no plan is possible. */ @Throws(IOException::class) internal fun planConnectToRoute(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 12K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FailedPlan.kt
*/ internal class FailedPlan( e: Throwable, ) : RoutePlanner.Plan { val result = RoutePlanner.ConnectResult(plan = this, throwable = e) override val isReady = false override fun connectTcp() = result override fun connectTlsEtc() = result override fun handleSuccess() = error("unexpected call") override fun cancel() = error("unexpected cancel")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
var infoField = Smb2QueryInfoResponse.class.getDeclaredField("info"); infoField.setAccessible(true); infoField.set(response, fileInfo); FileInternalInfo result = response.getInfo(FileInternalInfo.class); assertEquals(fileInfo, result); } @Test @DisplayName("Test getInfo with class type - incompatible class throws exception") void testGetInfoWithClassIncompatible() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/SearchRenderData.java
import org.codelibs.fess.util.FacetResponse; /** * Data container for search results rendering. * * This class holds all the data needed to render search results in the UI, * including the actual search results, pagination information, facet data, * execution timing, and highlighting parameters. */ public class SearchRenderData { /** List of search result documents. */ protected List<Map<String, Object>> documentItems;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 12.5K bytes - Viewed (0)