- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 382 for mutable (0.17 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt
val minFreshSeconds: Int = cacheControl.minFreshSeconds() val onlyIfCached: Boolean = cacheControl.onlyIfCached() val noTransform: Boolean = cacheControl.noTransform() val immutable: Boolean = cacheControl.immutable() val parse: CacheControl = CacheControl.parse(Headers.of()) } @Test @Disabled fun challenge() { val challenge = Challenge("", mapOf("" to ""))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 13.3K bytes - Viewed (0) -
guava/src/com/google/common/hash/Murmur3_32HashFunction.java
import com.google.common.primitives.Chars; import com.google.common.primitives.Ints; import com.google.common.primitives.Longs; import com.google.errorprone.annotations.CanIgnoreReturnValue; import com.google.errorprone.annotations.Immutable; import java.io.Serializable; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.nio.charset.Charset; import org.jspecify.annotations.Nullable; /** * See MurmurHash3_x86_32 in <a
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:36:11 UTC 2025 - 11.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/RequestParameterTest.java
assertEquals("original2", retrievedValues[1]); // Modify retrieved array retrievedValues[0] = "modified1"; // Verify the parameter's values can still be modified (not deeply immutable) assertEquals("modified1", param.getValues()[0]); // This shows that the class returns the same array reference assertSame(retrievedValues, param.getValues()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationTest.java
assertEquals(1024, negotiationWithLargeBuffers.getRequestRaw().length); assertEquals(2048, negotiationWithLargeBuffers.getResponseRaw().length); } @Test @DisplayName("Fields should be immutable after construction") void testImmutability() { // Get references to the objects SmbNegotiationRequest originalRequest = negotiation.getRequest();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Project.java
import org.apache.maven.api.model.Profile; /** * Interface representing a Maven project which can be created using the * {@link org.apache.maven.api.services.ProjectBuilder ProjectBuilder} service. * Such objects are immutable and plugin that wish to modify such objects * need to do so using the {@link org.apache.maven.api.services.ProjectManager * ProjectManager} service. * <p>
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Feb 27 11:07:03 UTC 2025 - 10.6K bytes - Viewed (0) -
guava/src/com/google/common/eventbus/SubscriberRegistry.java
*/ final class SubscriberRegistry { /** * All registered subscribers, indexed by event type. * * <p>The {@link CopyOnWriteArraySet} values make it easy and relatively lightweight to get an * immutable snapshot of all current subscribers to an event without any locking. */ private final ConcurrentMap<Class<?>, CopyOnWriteArraySet<Subscriber>> subscribers = Maps.newConcurrentMap();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 10.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java
import java.util.Optional; import org.apache.maven.api.RemoteRepository; import org.apache.maven.api.Session; import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Immutable; import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.annotations.NotThreadSafe; import org.apache.maven.api.annotations.Nullable; import static java.util.Objects.requireNonNull; /**
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Apr 03 13:33:59 UTC 2025 - 11.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java
RESTRICTS_KEYS, RESTRICTS_VALUES, SUPPORTS_PUT, SUPPORTS_REMOVE, FAILS_FAST_ON_CONCURRENT_MODIFICATION, /** * Indicates that the constructor or factory method of a map, usually an immutable map, throws an * {@link IllegalArgumentException} when presented with duplicate keys instead of discarding all * but one. */ REJECTS_DUPLICATES_AT_CREATION, GENERAL_PURPOSE(SUPPORTS_PUT, SUPPORTS_REMOVE);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 3K bytes - Viewed (0) -
lib/time/mkzip.go
// license that can be found in the LICENSE file. //go:build ignore // Mkzip writes a zoneinfo.zip with the content of the current directory // and its subdirectories, with no compression, suitable for package time. // // Usage: // // go run ../../mkzip.go ../../zoneinfo.zip // // We use this program instead of 'zip -0 -r ../../zoneinfo.zip *' to get
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Mar 04 17:32:07 UTC 2024 - 2.1K bytes - Viewed (0) -
migrator/column_type.go
} // Unique reports whether the column may be unique. func (ct ColumnType) Unique() (unique bool, ok bool) { return ct.UniqueValue.Bool, ct.UniqueValue.Valid } // ScanType returns a Go type suitable for scanning into using Rows.Scan. func (ct ColumnType) ScanType() reflect.Type { if ct.ScanTypeValue != nil { return ct.ScanTypeValue } return ct.SQLColumnType.ScanType() }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Mar 24 01:31:58 UTC 2022 - 3.3K bytes - Viewed (0)