- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 445 for PRE (0.01 seconds)
-
guava-testlib/src/com/google/common/testing/CollectorTester.java
/** * Tester for {@code Collector} implementations. * * <p>Example usage: * * <pre> * CollectorTester.of(Collectors.summingInt(Integer::parseInt)) * .expectCollects(3, "1", "2") * .expectCollects(10, "1", "4", "3", "2") * .expectCollects(5, "-3", "0", "8"); * </pre> * * @author Louis Wasserman * @since 21.0 (but since 33.5.0 in the Android flavor) */ @GwtCompatibleCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu May 15 21:47:56 GMT 2025 - 6.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/EnumHashBiMap.java
bimap.putAll(map); return bimap; } private EnumHashBiMap(Class<K> keyType) { super(new EnumMap<K, V>(keyType), new HashMap<V, K>()); // TODO: cpovirk - Pre-size the HashMap based on the number of enum values? this.keyTypeOrObjectUnderJ2cl = keyType; } // Overriding these 3 methods to show that values may be null (but not keys) @Override K checkKey(K key) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 15:50:50 GMT 2025 - 5.2K bytes - Click Count (0) -
.github/ci-mimir-daemon.properties
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # # Mimir Daemon config properties # Pre-seed itself mimir.daemon.preSeedItself=true mimir.file.exclusiveAccess=true
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Oct 28 13:01:07 GMT 2025 - 946 bytes - Click Count (0) -
src/archive/tar/common.go
dst := src[:0] var pre sparseEntry for _, cur := range src { if cur.Length == 0 { continue // Skip empty fragments } pre.Length = cur.Offset - pre.Offset if pre.Length > 0 { dst = append(dst, pre) // Only add non-empty fragments } pre.Offset = cur.endOffset() } pre.Length = size - pre.Offset // Possibly the only empty fragment return append(dst, pre)
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Oct 07 19:46:36 GMT 2025 - 24.5K bytes - Click Count (0) -
src/main/java/org/codelibs/curl/Curl.java
* It includes static methods for each HTTP method that return a CurlRequest object. * * <p>Example usage:</p> * <pre> * CurlRequest request = Curl.get("http://example.com"); * </pre> * * <p>Supported HTTP methods:</p> * <ul> * <li>GET</li> * <li>POST</li> * <li>PUT</li> * <li>DELETE</li> * <li>HEAD</li> * <li>OPTIONS</li>
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Thu Nov 20 13:34:13 GMT 2025 - 5.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
* factory classes like: * * <pre> * interface Book {...} * public class Books { * public static Book hardcover(String title) {...} * public static Book paperback(String title) {...} * } * </pre> * * <p>And all the created {@code Book} instances can be tested with: * * <pre> * new ClassSanityTester() * .forAllPublicStaticMethods(Books.class)Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 32.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java
* to stop requests. You could poll for lifecycle changes in a work loop: * * <pre> * public void run() { * while ({@link #isRunning()}) { * // perform a unit of work * } * } * </pre> * * <p>...or you could respond to stop requests by implementing {@link #triggerShutdown()}, which * should cause {@link #run()} to return.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 7.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ComparatorOrdering.java
import com.google.common.annotations.J2ktIncompatible; import java.io.Serializable; import java.util.Comparator; import org.jspecify.annotations.Nullable; /** An ordering for a pre-existing comparator. */ @GwtCompatible final class ComparatorOrdering<T extends @Nullable Object> extends Ordering<T> implements Serializable { final Comparator<T> comparator;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 1.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/normalizer/HankakuKanaToZenkakuKana.java
* </ul> * * <p>Example usage:</p> * <pre> * {@code * HankakuKanaToZenkakuKana normalizer = new HankakuKanaToZenkakuKana(); * String normalized = normalizer.normalize("ガギグゲゴ", "field"); * System.out.println(normalized); // Outputs: ガギグゲゴ * } * </pre> * * <p>Note: This class assumes that the input string contains valid Hankaku Kana charactersCreated: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 17 14:23:01 GMT 2025 - 6.8K bytes - Click Count (1) -
src/test/java/org/codelibs/fess/app/job/ScriptExecutorJobTest.java
// Execute the real process() method final TestableScriptExecutorJob job = new TestableScriptExecutorJob(); job.process(runtime); // Verify the JobLog was stored with the pre-generated ID assertNotNull(storedJobLog.get()); assertEquals("pregenerated-abc123", storedJobLog.get().getId()); assertEquals(Constants.OK, storedJobLog.get().getJobStatus()); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 11:55:54 GMT 2026 - 13.7K bytes - Click Count (0)