- Sort Score
- Result 10 results
- Languages All
Results 501 - 510 of 3,061 for toObject (0.09 sec)
-
guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java
SettableFuture<Object> async = SettableFuture.create(); SettableFuture<Object> inner = SettableFuture.create(); async.setFuture(inner); async.cancel(false); assertTrue(inner.isCancelled()); assertFalse(inner.wasInterrupted()); assertThrows(CancellationException.class, () -> inner.get()); } public void testCancel_beforeSet() throws Exception {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 7.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ingest/Ingester.java
* * @param target the document data to process * @param accessResult the access result from crawling * @return the processed document data */ public Map<String, Object> process(final Map<String, Object> target, final AccessResult<String> accessResult) { return process(target); } /** * Processes a document map for datastore operations.Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.1K bytes - Viewed (0) -
guava/src/com/google/common/io/CharStreams.java
} private CharStreams() {} /** * Copies all characters between the {@link Readable} and {@link Appendable} objects. Does not * close or flush either object. * * @param from the object to read from * @param to the object to write to * @return the number of characters copied * @throws IOException if an I/O error occurs */ @CanIgnoreReturnValue
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 30 17:25:01 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayUtil.java
/** * Returns {@literal true} if the object is an array. Returns {@literal false} if the object is {@literal null}. * * @param object * the object * @return {@literal true} if the object is an array; {@literal false} if the object is {@literal null} */ public static boolean isArray(final Object object) { return object != null && object.getClass().isArray(); }Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 41.5K bytes - Viewed (0) -
cmd/erasure-metadata.go
correctIndexes) } // ToObjectInfo - Converts metadata to object info. func (fi FileInfo) ToObjectInfo(bucket, object string, versioned bool) ObjectInfo { object = decodeDirObject(object) versionID := fi.VersionID if versioned && versionID == "" { versionID = nullVersionID } objInfo := ObjectInfo{ IsDir: HasSuffix(object, SlashSeparator), Bucket: bucket, Name: object,
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 21.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java
// Test with supported document type Map<String, Object> docMap = new HashMap<>(); docMap.put("mimetype", "application/pdf"); assertTrue(thumbnailGenerator.isTarget(docMap)); } public void test_isTarget_withUnsupportedMimeType() { // Test with unsupported document type Map<String, Object> docMap = new HashMap<>(); docMap.put("mimetype", "application/unknown");Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/ParamMap.java
@Override public boolean containsKey(final Object key) { if (parent.containsKey(key)) { return true; } return parent.containsKey(toCamelCase(key)); } @Override public boolean containsValue(final Object value) { return parent.containsValue(value); } @Override public V get(final Object key) { final V value = parent.get(key);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
SettableFuture<Object> future2 = SettableFuture.create(); // A more organic OOM from a toString implementation Object object = new Object() { @Override public String toString() { return new String(new char[50_000]); } }; List<Object> list = Collections.singletonList(object); for (int i = 0; i < 10; i++) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 46.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/FunctionsTest.java
} public void testConstant() { Function<@Nullable Object, Object> f = Functions.<Object>constant("correct"); assertEquals("correct", f.apply(new Object())); assertEquals("correct", f.apply(null)); Function<@Nullable Object, @Nullable String> g = Functions.constant(null); assertEquals(null, g.apply(2)); assertEquals(null, g.apply(null));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 15.9K bytes - Viewed (0) -
api/maven-api-model/src/main/java/org/apache/maven/api/model/InputLocation.java
if (source == null) { return target; } else if (target == null) { return source; } Map<Object, InputLocation> locations; Map<Object, InputLocation> sourceLocations = source.locations; Map<Object, InputLocation> targetLocations = target.locations; if (sourceLocations == null) { locations = targetLocations;
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 7.1K bytes - Viewed (0)