- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 602 for doFile (0.47 seconds)
-
src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java
protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); tempDir = Files.createTempDirectory("thumbnail-test"); tempOutputFile = Files.createTempFile(tempDir, "thumbnail", ".png").toFile(); // Create a test implementation of ThumbnailGenerator thumbnailGenerator = new TestThumbnailGenerator(); } @Override protected void tearDown(TestInfo testInfo) throws Exception {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 11.7K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/base/super/com/google/common/base/Platform.java
// seem to be a worthwhile tradeoff in a browser. return matcher; } static String formatCompact4Digits(double value) { return toPrecision(value, 4); } @JsMethod(name = "Number.prototype.toPrecision.call", namespace = JsPackage.GLOBAL) private static native String toPrecision(double value, int precision); @JsMethod static native boolean stringIsNullOrEmpty(@Nullable String string) /*-{Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 03 21:52:39 GMT 2025 - 2.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/ReentrantEventsTest.java
* * @author Jesse Wilson */ @NullUnmarked public class ReentrantEventsTest extends TestCase { static final String FIRST = "one"; static final Double SECOND = 2.0d; final EventBus bus = new EventBus(); public void testNoReentrantEvents() { ReentrantEventsHater hater = new ReentrantEventsHater(); bus.register(hater); bus.post(FIRST);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 21:52:12 GMT 2025 - 2.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/serializer/DataSerializerTest.java
assertEquals("Long value should match", original, deserialized); } /** * Test serialization of Double values */ @Test public void test_serializeDeserialize_double() { Double original = 3.14159265359; byte[] serialized = serializer.fromObjectToBinary(original); assertNotNull(serialized, "Serialized data should not be null");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 21.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Hashing.java
static int smearedHash(@Nullable Object o) { return smear((o == null) ? 0 : o.hashCode()); } private static final int MAX_TABLE_SIZE = Ints.MAX_POWER_OF_TWO; static int closedTableSize(int expectedEntries, double loadFactor) { // Get the recommended table size. // Round down to the nearest power of 2. expectedEntries = max(expectedEntries, 2); int tableSize = Integer.highestOneBit(expectedEntries);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/PrimitivesTest.java
Set<Class<?>> primitives = Primitives.allPrimitiveTypes(); assertThat(primitives) .containsExactly( boolean.class, byte.class, char.class, double.class, float.class, int.class, long.class, short.class, void.class);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 11 20:07:52 GMT 2025 - 3K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Defaults.java
* * @author Ben Yu * @since 1.0 */ @J2ktIncompatible @GwtIncompatible public final class Defaults { private Defaults() {} private static final Double DOUBLE_DEFAULT = 0d; private static final Float FLOAT_DEFAULT = 0f; /** * Returns the default value of {@code type} as defined by JLS --- {@code 0} for numbers, {@codeCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 02 19:58:40 GMT 2026 - 2.2K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/LongAdder.java
@Override public float floatValue() { return (float) sum(); } /** Returns the {@link #sum} as a {@code double} after a widening primitive conversion. */ @Override public double doubleValue() { return (double) sum(); } private void writeObject(ObjectOutputStream s) throws IOException { s.defaultWriteObject(); s.writeLong(sum()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java
return ((Long) value).floatValue(); } if (value instanceof Float) { return (Float) value; } if (value instanceof Double) { return ((Double) value).floatValue(); } if (value != null) { try { return Float.parseFloat(value.toString()); } catch (final NumberFormatException e) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 06:03:38 GMT 2026 - 5.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/cbean/ca/bs/BsDuplicateHostCA.java
public void setCreatedTime_PercentileRanks(double[] values) { setCreatedTime_PercentileRanks(values, null); } public void setCreatedTime_PercentileRanks(double[] values, ConditionOptionCall<PercentileRanksAggregationBuilder> opLambda) { setCreatedTime_PercentileRanks("createdTime", values, opLambda); } public void setCreatedTime_PercentileRanks(String name, double[] values,
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 50.7K bytes - Click Count (1)