- Sort Score
- Num 10 results
- Language All
Results 811 - 820 of 1,433 for cell (0.03 seconds)
-
src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java
assertEquals(NtStatus.NT_STATUS_UNSUCCESSFUL, ex.getNtStatus(), "Status should default to unsuccessful for message+cause ctor"); } // Interaction: passing a mocked cause should not trigger interactions (nothing to call) @Test @DisplayName("Mocked cause: no interactions occur when stored as cause") void mockedCause_isStored_withoutInteraction() { // Arrange Throwable mocked = mock(Throwable.class);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.3K bytes - Click Count (0) -
tests/scopes_test.go
db := DB.Scopes(func(tx *gorm.DB) *gorm.DB { return tx.Table("custom_table") }).Session(&gorm.Session{}) db.AutoMigrate(&User{}) 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 {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Jan 12 08:42:21 GMT 2024 - 3.3K bytes - Click Count (0) -
android/guava/src/com/google/common/io/MoreFiles.java
* *other* paths we process will be descendants of that. That leaves only the original path * argument for us to consider. And the only place we call pathNotFound is from * throwDeleteFailed, and the other place that we call throwDeleteFailed inside * deleteDirectoryContents is when an exception is thrown during the recursive steps. AnyCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 16:07:06 GMT 2025 - 34.6K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java
* specified element (or equivalently, if this queue changed as a result of the call). * * @param o element to be removed from this queue, if present * @return {@code true} if this queue changed as a result of the call */ @CanIgnoreReturnValue // pushed down from class to method @Override public boolean remove(@Nullable Object o) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 19K bytes - Click Count (0) -
guava/src/com/google/common/collect/Iterables.java
* iterable supports it. Note that it is <i>not</i> possible to delete the last skipped element by * immediately calling {@code remove()} on that iterator, as the {@code Iterator} contract states * that a call to {@code remove()} before a call to {@code next()} will throw an {@link * IllegalStateException}. * * <p><b>{@code Stream} equivalent:</b> {@link Stream#skip} * * @since 3.0 */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 43.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java
// Assert assertNull(ex.getCause(), "Null cause should be preserved"); assertNotNull(ex.toString(), "toString should be safe to call"); } @ParameterizedTest @NullAndEmptySource @ValueSource(strings = { "oops", "multi word", "中文" }) @DisplayName("Message+Cause constructor: preserves both values; no interactions with cause")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.1K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java
import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.model.Model; import org.apache.maven.api.model.Profile; /** * Result of a project build call. * * @since 4.0.0 */ @Experimental public interface ModelBuilderResult extends Result<ModelBuilderRequest> { /** * Gets the source from which the model was read. *
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 17:20:31 GMT 2025 - 4.2K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ListeningExecutorService.java
import java.util.concurrent.TimeUnit; import org.jspecify.annotations.Nullable; /** * An {@link ExecutorService} that returns {@link ListenableFuture} instances. To create an instance * from an existing {@link ExecutorService}, call {@link * MoreExecutors#listeningDecorator(ExecutorService)}. * * @author Chris Povirk * @since 10.0 */ @DoNotMock( "Use TestingExecutors.sameThreadScheduledExecutor, or wrap a real Executor from "Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/SubscriberTest.java
Method method = getTestSubscriberMethod("recordingMethod"); Subscriber subscriber = Subscriber.create(bus, this, method); subscriber.invokeSubscriberMethod(FIXTURE_ARGUMENT); assertTrue("Subscriber must call provided method", methodCalled); assertTrue( "Subscriber argument must be exactly the provided object.", methodArgument == FIXTURE_ARGUMENT); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 21:52:12 GMT 2025 - 4.8K bytes - Click Count (0) -
internal/grid/stream.go
package grid import ( "context" "errors" ) // A Stream is a two-way stream. // All responses *must* be read by the caller. // If the call is canceled through the context, // the appropriate error will be returned. type Stream struct { // responses from the remote server. // Channel will be closed after error or when remote closes.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jun 07 15:51:52 GMT 2024 - 3.1K bytes - Click Count (0)