- Sort Score
- Num 10 results
- Language All
Results 2681 - 2690 of 2,945 for methods (0.15 seconds)
-
android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
// Only in this class, VALUES must be strictly ascending private static final byte[] VALUES = {LEAST, 127, (byte) 128, (byte) 129, GREATEST}; @SuppressWarnings("InlineMeInliner") // We need to test our method. public void testToInt() { assertThat(UnsignedBytes.toInt((byte) 0)).isEqualTo(0); assertThat(UnsignedBytes.toInt((byte) 1)).isEqualTo(1); assertThat(UnsignedBytes.toInt((byte) 127)).isEqualTo(127);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 13.6K bytes - Click Count (0) -
src/test/java/jcifs/util/HMACT64Test.java
} } @Test void testClone() throws NoSuchAlgorithmException, CloneNotSupportedException { // Test clone() method try (MockedStatic<Crypto> mockedCrypto = mockStatic(Crypto.class)) { mockedCrypto.when(Crypto::getMD5).thenReturn(mockMd5); HMACT64 originalHmac = new HMACT64(TEST_KEY);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.6K bytes - Click Count (0) -
schema/schema_test.go
if err != nil { t.Fatalf("failed to parse pointer user, got error %v", err) } if customize.Table != "customize" { t.Errorf("Failed to customize table with TableName method") } } func TestNestedModel(t *testing.T) { versionUser, err := schema.Parse(&VersionUser{}, &sync.Map{}, schema.NamingStrategy{}) if err != nil { t.Fatalf("failed to parse nested user, got error %v", err)Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Aug 28 02:57:17 GMT 2025 - 13.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java
assertNull(doc.get("content_ja")); // content is not in langFields } @Test public void test_getSupportedLanguage_caseInsensitive() { // Test that method is case sensitive (as per implementation) assertNull(languageHelper.getSupportedLanguage("JA")); assertNull(languageHelper.getSupportedLanguage("EN"));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt
@Throws(IOException::class) override fun writeTo(sink: BufferedSink) { writeOrCountBytes(sink, false) } /** * Either writes this request to [sink] or measures its content length. We have one method do * double-duty to make sure the counting and content are consistent, particularly when it comes * to awkward operations like measuring the encoded length of header strings, or the
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 10.9K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/util/CopyOptionsUtil.java
* * copyBeanToBean(srcBean, destBean, excludeNull()); * </pre> * <p> * The return value of {@literal CopyOptionsUtil} is {@link CopyOptions}, * so you can specify multiple options using method chaining. * </p> * * <pre> * copyBeanToBean(srcBean, destBean, excludeNull().dateConverter("date", "MM/dd")); * </pre> * * @author koichik */ public abstract class CopyOptionsUtil { /**
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 10.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java
assertNotNull(request); assertEquals(mockConfig, request.getConfig()); assertEquals(command, request.getCommand()); } } @Nested @DisplayName("Basic Method Tests") class BasicMethodTests { @Test @DisplayName("ignoreDisconnect should return itself") void testIgnoreDisconnect() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.7K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/extensions/BootstrapCoreExtensionManager.java
UnaryOperator<String> interpolator) throws ExtensionResolutionException { try { /* TODO: Enhance the PluginDependenciesResolver to provide a * resolveCoreExtension method which uses a CoreExtension * object instead of a Plugin as this makes no sense. */ Plugin plugin = Plugin.newBuilder()
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 13.9K bytes - Click Count (0) -
src/bytes/reader_test.go
if err := buf.UnreadByte(); err == nil { t.Fatal("UnreadByte: expected error, got nil") } } // verify that copying from an empty reader always has the same results, // regardless of the presence of a WriteTo method. func TestReaderCopyNothing(t *testing.T) { type nErr struct { n int64 err error } type justReader struct { io.Reader } type justWriter struct { io.Writer }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Dec 13 18:45:54 GMT 2021 - 8K bytes - Click Count (0) -
src/main/java/jcifs/util/transport/Transport.java
} return; } } } } /* * Build a connection. Only one thread will ever call this method at * any one time. If this method throws an exception or the connect timeout * expires an encapsulating TransportException will be thrown from connect * and the transport will be in error. */ /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 27.8K bytes - Click Count (0)