- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 517 for Unsafe (0.2 sec)
-
src/test/java/jcifs/smb/CriticalPerformanceTest.java
try { String shareName = "share" + (threadId % 5); // Use 5 different shares // Test concurrent tree operations (should be thread-safe with CopyOnWriteArrayList) long opStart = System.nanoTime(); session.getSmbTree(shareName, null); long opEnd = System.nanoTime();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.3K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java
ImmutableList() {} public static <E> Collector<E, ?, ImmutableList<E>> toImmutableList() { return CollectCollectors.toImmutableList(); } // Casting to any type is safe because the list will never hold any elements. @SuppressWarnings("unchecked") public static <E> ImmutableList<E> of() { return (ImmutableList<E>) RegularImmutableList.EMPTY; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 11.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt
* * Build up a collection by starting with [EmptyTags] and repeatedly calling [plus]. Each such call * returns a new instance. * * This collection is optimized for safe concurrent access over a very small number of elements. * * This collection and is expected to hold fewer than 10 elements. Each operation is _O(N)_, and so * building an instance with _N_ elements is _O(N**2)_. */
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 24 11:37:46 UTC 2025 - 3.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java
@MapFeature.Require(SUPPORTS_REMOVE) /* * SetMultimap.asMap essentially returns a Map<K, Set<V>>; we just can't declare it that way. * Thus, calls like asMap().values().remove(someSet) are safe because they are comparing a set to * a collection of other sets. */ @SuppressWarnings("CollectionUndefinedEquality") public void testValuesRemove() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
// Create a snapshot of connections to close List<SmbTransportImpl> toClose = new ArrayList<>(this.connections); toClose.addAll(this.nonPooledConnections); // Clear the collections (thread-safe operations) this.connections.clear(); this.nonPooledConnections.clear(); this.activeConnections.set(0); // Close all connections outside of synchronizationRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
guava/src/com/google/common/graph/AbstractValueGraph.java
} private static <N, V> Map<EndpointPair<N>, V> edgeValueMap(ValueGraph<N, V> graph) { return Maps.asMap( graph.edges(), edge -> // requireNonNull is safe because the endpoint pair comes from the graph. requireNonNull(graph.edgeValueOrDefault(edge.nodeU(), edge.nodeV(), null))); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/DynamicProperties.java
* loading and storing of properties from a file. It monitors the file for changes * and reloads the properties if the file is updated. This class is thread-safe and * ensures that the properties are always up-to-date. * * <p>Key Features: * <ul> * <li>Automatically reloads properties if the file is modified.</li>
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 13.1K bytes - Viewed (0) -
api/go1.2.txt
pkg strings, func IndexByte(string, uint8) int pkg sync/atomic, func SwapInt32(*int32, int32) int32 pkg sync/atomic, func SwapInt64(*int64, int64) int64 pkg sync/atomic, func SwapPointer(*unsafe.Pointer, unsafe.Pointer) unsafe.Pointer pkg sync/atomic, func SwapUint32(*uint32, uint32) uint32 pkg sync/atomic, func SwapUint64(*uint64, uint64) uint64 pkg sync/atomic, func SwapUintptr(*uintptr, uintptr) uintptr
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Oct 18 04:36:59 UTC 2013 - 1.9M bytes - Viewed (1) -
internal/s3select/json/reader.go
return &Reader{ args: args, decoder: d, valueCh: d.Stream(), readCloser: readCloser, } } // syncReadCloser will wrap a readcloser and make it safe to call Close while // reads are running. type syncReadCloser struct { rc io.ReadCloser mu sync.Mutex } func (pr *syncReadCloser) Read(p []byte) (n int, err error) {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/NullnessCasts.java
@GwtCompatible final class NullnessCasts { /** * Accepts a {@code @Nullable T} and returns a plain {@code T}, without performing any check that * that conversion is safe. * * <p>This method is intended to help with usages of type parameters that have {@linkplain * ParametricNullness parametric nullness}. If a type parameter instead ranges over only non-nullRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 13 20:49:47 UTC 2025 - 3.6K bytes - Viewed (0)