- Sort Score
- Num 10 results
- Language All
Results 421 - 430 of 633 for Unsafe (0.04 seconds)
-
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
} finally { monitor.leave(); } } /** * Returns an array containing all of the elements in this queue, in proper sequence. * * <p>The returned array will be "safe" in that no references to it are maintained by this queue. * (In other words, this method must allocate a new array). The caller is thus free to modify the * returned array. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 22.4K bytes - Click Count (0) -
tensorflow/c/c_api_experimental.cc
// These XLA flags are needed to trigger XLA properly from C (more generally // non-Python) clients. If this API is called again with `enable` set to // false, it is safe to keep these flag values as is. tensorflow::MarkForCompilationPassFlags* flags = tensorflow::GetMarkForCompilationPassFlags(); flags->tf_xla_cpu_global_jit = true; flags->tf_xla_min_cluster_size = 1;Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 04 05:55:32 GMT 2025 - 29.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/MinMaxPriorityQueue.java
* Unlike many other double-ended priority queues, it stores elements in a single array, as compact * as the traditional heap data structure used in {@link PriorityQueue}. * * <p>This class is not thread-safe, and does not accept null elements. * * <p><i>Performance notes:</i> * * <ul> * <li>If you only access one end of the queue, and do use a maximum size, this class will performCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 34K bytes - Click Count (0) -
guava/src/com/google/common/base/Ascii.java
* Ascii.truncate("foobar", 5, "..."); // returns "fo..." * } * * <p><b>Note:</b> This method <i>may</i> work with certain non-ASCII text but is not safe for use * with arbitrary Unicode text. It is mostly intended for use with text that is known to be safe * for use with it (such as all-ASCII text) and for simple debugging text. When using this method, * consider the following: * * <ul>
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 21.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/storage/S3StorageClient.java
if (values.length == 0) { return StringUtil.EMPTY; } return values[values.length - 1]; } /** * Encodes an object name to a URL-safe base64 string. * * @param objectName the object name to encode * @return base64 encoded string */ private String encodeId(final String objectName) { if (objectName == null) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 13 02:21:17 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java
assertTrue(item1.equals(item2)); } @Test public void test_equals_withNullInput() { // Test equals with null input - should not throw, uses null-safe comparison StopwordsItem item1 = new StopwordsItem(1, null); StopwordsItem item2 = new StopwordsItem(2, null); StopwordsItem item3 = new StopwordsItem(1, "word");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java
// TODO(b/139735208): Figure out what to do when the factory returns null. requireNonNull(thread); if (nameFormat != null) { // requireNonNull is safe because we create `count` if (and only if) we have a nameFormat. thread.setName(format(nameFormat, requireNonNull(count).getAndIncrement())); } if (daemon != null) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 29 17:36:00 GMT 2025 - 9.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/storage/GcsStorageClient.java
if (values.length == 0) { return StringUtil.EMPTY; } return values[values.length - 1]; } /** * Encodes an object name to a URL-safe base64 string. * * @param objectName the object name to encode * @return base64 encoded string */ private String encodeId(final String objectName) { if (objectName == null) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 13 02:21:17 GMT 2025 - 10.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java
// Execution time should be greater than 0 assertTrue(callback.getExecuteTime() >= 10L); } @Test public void test_concurrent_stores() { // Test thread-safe implementation final AtomicLong counter = new AtomicLong(0); IndexUpdateCallback callback = new IndexUpdateCallback() { @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 12.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt
import okio.Buffer import okio.BufferedSource import okio.ByteString /** * An [RFC 6455][rfc_6455]-compatible WebSocket frame reader. * * This class is not thread safe. * * [rfc_6455]: http://tools.ietf.org/html/rfc6455 */ class WebSocketReader( private val isClient: Boolean, val source: BufferedSource, private val frameCallback: FrameCallback,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 10K bytes - Click Count (0)