- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 869 for effect (0.14 sec)
-
src/test/java/org/codelibs/core/collection/EmptyIteratorTest.java
} /** * Test method for {@link org.codelibs.core.collection.EmptyIterator#remove()} * . */ @Test public void testRemove() { exception.expect(ClUnsupportedOperationException.class); exception.expectMessage(is("remove")); final EmptyIterator<String> emptyIterator = new EmptyIterator<String>(); emptyIterator.remove(); } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.5K bytes - Viewed (0) -
tests/preload_test.go
t.Errorf("failed to create org, got err: %v", err) } tests := []struct { name string preloads map[string][]interface{} expect Org }{ { name: "address country", preloads: map[string][]interface{}{"Address.Country": {}}, expect: Org{ ID: org.ID, PostalAddress: EmbeddedAddress{ ID: org.PostalAddress.ID, Name: org.PostalAddress.Name,
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Jun 12 10:00:47 UTC 2024 - 15.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayIteratorTest.java
assertThat(itr.next(), equalTo("b")); assertThat(itr.next(), equalTo("c")); } /** * */ @Test public void testNoSuchElement() { exception.expect(NoSuchElementException.class); exception.expectMessage(is("index=2")); final ArrayIterator<Integer> itr = new ArrayIterator<Integer>(new Integer[] { 1, 2 }); itr.next(); itr.next();
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.5K bytes - Viewed (0) -
tests/generics_test.go
} else if u.Name != user.Name || u.ID != user.ID { t.Errorf("found invalid user, got %v, expect %v", u, user) } if u, err := gorm.G[User](DB).Where("name = ?", user.Name).Take(ctx); err != nil { t.Fatalf("failed to find user, got error: %v", err) } else if u.Name != user.Name || u.ID != user.ID { t.Errorf("found invalid user, got %v, expect %v", u, user) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Sep 04 13:13:16 UTC 2025 - 28K bytes - Viewed (0) -
guava/src/com/google/common/base/Predicate.java
* class documentation above). This method is <i>generally expected</i>, but not absolutely * required, to have the following properties: * * <ul> * <li>Its execution does not cause any observable side effects. * <li>The computation is <i>consistent with equals</i>; that is, {@link Objects#equal * Objects.equal}{@code (a, b)} implies that {@code predicate.apply(a) == * predicate.apply(b))}. * </ul> *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jun 18 15:22:00 UTC 2025 - 3.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/DummyProxy.java
import com.google.common.collect.ImmutableList; import com.google.common.reflect.AbstractInvocationHandler; import com.google.common.reflect.Invokable; import com.google.common.reflect.Parameter; import com.google.common.reflect.TypeToken; import java.io.Serializable; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import java.util.Iterator; import java.util.LinkedHashSet; import java.util.Set;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 22:10:29 UTC 2025 - 4.5K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFutureState.java
abstract class AbstractFutureState<V extends @Nullable Object> extends InternalFutureFailureAccess implements ListenableFuture<V> { final boolean casListeners(@Nullable Listener expect, Listener update) { if (listeners == expect) { listeners = update; return true; } return false; } final @Nullable Listener gasListeners(Listener update) { Listener old = listeners;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Feb 21 02:38:37 UTC 2025 - 1.9K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeParameter.java
* or implied. See the License for the specific language governing permissions and limitations under * the License. */ package com.google.common.reflect; import static com.google.common.base.Preconditions.checkArgument; import java.lang.reflect.Type; import java.lang.reflect.TypeVariable; import org.jspecify.annotations.Nullable; /** * Captures a free type variable that can be used in {@link TypeToken#where}. For example:
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 2.4K bytes - Viewed (0) -
util/gradle_integration_tests.sh
./mvnw clean install --projects '!guava-testlib,!guava-tests,!guava-bom' -Dmaven.test.skip=true -Dmaven.javadoc.skip=true -f android # We run this separately so that its change to the default toolchain doesn't affect anything else. # (And we run it after the main build so that that build has already downloaded Java 11 if necessary.) ./mvnw --projects '!guava-testlib,!guava-tests,!guava-bom,!guava-gwt' initialize -P print-java-11-home
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jan 02 19:24:12 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/InfoTest.java
SmbComQueryInformationResponse resp = new SmbComQueryInformationResponse(1000L) { }; java.lang.reflect.Field fileAttr = SmbComQueryInformationResponse.class.getDeclaredField("fileAttributes"); fileAttr.setAccessible(true); fileAttr.setInt(resp, 0xABCD); java.lang.reflect.Field lastWrite = SmbComQueryInformationResponse.class.getDeclaredField("lastWriteTime"); lastWrite.setAccessible(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0)