- Sort Score
- Result 10 results
- Languages All
Results 4701 - 4710 of 5,086 for Strings (0.04 sec)
-
utils/tests/utils.go
package tests import ( "database/sql/driver" "fmt" "go/ast" "reflect" "testing" "time" "gorm.io/gorm/utils" ) func AssertObjEqual(t *testing.T, r, e interface{}, names ...string) { for _, name := range names { rv := reflect.Indirect(reflect.ValueOf(r)) ev := reflect.Indirect(reflect.ValueOf(e)) if rv.IsValid() != ev.IsValid() { t.Errorf("%v: expect: %+v, got %+v", utils.FileWithLineNum(), r, e) return
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Mar 10 09:21:56 UTC 2023 - 3.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache2/RelayTest.kt
} source.close() buffer.readByteString() } private fun assertFile( prefix: ByteString, upstreamSize: Long, metadataSize: Int, upstream: String?, metadata: ByteString?, ) { val source = file.source().buffer() assertThat(source.readByteString(prefix.size.toLong())).isEqualTo(prefix) assertThat(source.readLong()).isEqualTo(upstreamSize)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.1K bytes - Viewed (0) -
guava/pom.xml
</plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <!-- Passing `-subpackages com.google.common` breaks things, so we explicitly exclude everything else instead. --> <!-- excludePackageNames requires specification of packages separately from "all subpackages". https://issues.apache.org/jira/browse/MJAVADOC-584 -->
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jun 06 21:05:32 UTC 2025 - 9.4K bytes - Viewed (0) -
guava/src/com/google/common/hash/Fingerprint2011.java
checkPositionIndexes(off, off + len, input.length); return HashCode.fromLong(fingerprint(input, off, len)); } @Override public int bits() { return 64; } @Override public String toString() { return "Hashing.fingerprint2011()"; } // End of public functions. @VisibleForTesting static long fingerprint(byte[] bytes, int offset, int length) { long result;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
assertEquals(outputBuffer.length, result); assertArrayEquals(testData, outputBuffer); } @Test void testToString() { // Test toString method String result = response.toString(); assertNotNull(result); assertTrue(result.startsWith("TransTransactNamedPipeResponse[")); assertTrue(result.endsWith("]")); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/profile/ProfileAction.java
final VaErrorHook toIndexPage = () -> { form.clearSecurityInfo(); return asIndexHtml(); }; validatePasswordForm(form, toIndexPage); final String username = getUserBean().map(FessUserBean::getUserId).get(); try { userService.changePassword(username, form.newPassword); saveInfo(messages -> messages.addSuccessChangedPassword(GLOBAL));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToStringTester.java
collection.toString()); } @CollectionSize.Require(SEVERAL) @CollectionFeature.Require(value = KNOWN_ORDER, absent = NON_STANDARD_TOSTRING) public void testToString_sizeSeveral() { String expected = copyToList(getOrderedElements()).toString(); assertEquals("collection.toString() incorrect", expected, collection.toString()); } @CollectionSize.Require(absent = ZERO)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java
assertTrue(future.isDone()); assertTrue(future.isCancelled()); assertThrows(CancellationException.class, () -> future.get()); } public void testFailedFuture(@Nullable String message) throws InterruptedException { assertTrue(future.isDone()); assertFalse(future.isCancelled()); assertTrue(latch.await(5, SECONDS)); assertTrue(future.isDone());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 3.3K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ImmediateFuture.java
return get(); } @Override public boolean isCancelled() { return false; } @Override public boolean isDone() { return true; } @Override public String toString() { // Behaviour analogous to AbstractFuture#toString(). return super.toString() + "[status=SUCCESS, result=[" + value + "]]"; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/WinError.java
ERROR_PIPE_NOT_CONNECTED, ERROR_MORE_DATA, ERROR_SERVICE_NOT_INSTALLED, ERROR_NO_BROWSER_SERVERS_FOUND, }; /** Array of Windows error messages corresponding to WINERR_CODES */ String[] WINERR_MESSAGES = { "The operation completed successfully.", "Access is denied.", "No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept.",
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (0)