- Sort Score
- Num 10 results
- Language All
Results 6711 - 6720 of 7,804 for RETURN (0.07 seconds)
-
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/RestTestBasePlugin.java
.configureEach(t -> t.finalizedBy(project.getTasks().withType(FixtureStop.class))); } @Nullable private String systemProperty(String propName) { return providerFactory.systemProperty(propName).forUseAtConfigurationTime().getOrNull(); }
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Aug 05 18:56:52 GMT 2021 - 4.4K bytes - Click Count (0) -
tests/prepared_stmt_test.go
} func TestPreparedStmtInTransaction(t *testing.T) { user := User{Name: "jinzhu"} if err := DB.Transaction(func(tx *gorm.DB) error { tx.Session(&gorm.Session{PrepareStmt: true}).Create(&user) return errors.New("test") }); err == nil { t.Error(err) } var result User if err := DB.First(&result, user.ID).Error; err == nil { t.Errorf("Failed, got error: %v", err) } }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Apr 25 08:22:26 GMT 2025 - 8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingConcurrentMapTest.java
final ConcurrentMap<String, Integer> delegate = new ConcurrentHashMap<>(); @Override protected ConcurrentMap<String, Integer> delegate() { return delegate; } } public void testPutIfAbsent() { TestMap map = new TestMap(); map.put("foo", 1); assertEquals(Integer.valueOf(1), map.putIfAbsent("foo", 2));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 2.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/TransposedTableTest.java
Table<Integer, String, Character> original = HashBasedTable.create(); Table<String, Integer, Character> table = transpose(original); table.clear(); populate(table, data); return table; } public void testTransposeTransposed() { Table<Integer, String, Character> original = HashBasedTable.create(); assertThat(transpose(transpose(original))).isSameInstanceAs(original); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 2.9K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java
verifyNoMoreInteractions(mockNdrBuffer); } @Test void decode_shouldCallDecNdrLongAndAssignValue() throws NdrException { int decodedValue = 54321; // Configure the mock to return a specific value when dec_ndr_long is called when(mockNdrBuffer.dec_ndr_long()).thenReturn(decodedValue); NdrLong ndrLong = new NdrLong(0); // Initialize with a dummy value // Call the decode method
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.2K bytes - Click Count (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/Typed.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jan 30 23:28:59 GMT 2025 - 2.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CookieJar.kt
) /** * Load cookies from the jar for an HTTP request to [url]. This method returns a possibly * empty list of cookies for the network request. * * Simple implementations will return the accepted cookies that have not yet expired and that * [match][Cookie.matches] [url]. */ fun loadForRequest(url: HttpUrl): List<Cookie> companion object {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeJvmTest.kt
} } private fun <T> withLocale( locale: Locale, block: () -> T, ): T { val previous = Locale.getDefault() try { Locale.setDefault(locale) return block() } finally { Locale.setDefault(previous) } } @Test fun testIllegalCharsetName() { val mediaType = parse("text/plain; charset=\"!@#$%^&*()\"") assertNull(mediaType.charsetName())
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 3K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/outside/AbstractEventBusTest.java
*/ abstract class AbstractEventBusTest<H> extends TestCase { static final Object EVENT = new Object(); abstract H createSubscriber(); private @Nullable H subscriber; H getSubscriber() { return subscriber; } @Override protected void setUp() throws Exception { subscriber = createSubscriber(); EventBus bus = new EventBus(); bus.register(subscriber); bus.post(EVENT); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbFilenameFilter.java
/** * Tests whether the specified filename should be included in a file list. * * @param dir the directory containing the file * @param name the name of the file * @return true if the file should be included, false otherwise * @throws SmbException if an SMB error occurs during evaluation */ boolean accept(SmbFile dir, String name) throws SmbException;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.4K bytes - Click Count (0)