Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 427 for enum (0.02 seconds)

  1. guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

     */
    @NullUnmarked
    public class MessageDigestAlgorithmBenchmark {
      @Param({"10", "1000", "100000", "1000000"})
      int size;
    
      @Param Algorithm algorithm;
      @Param HashMethod hashMethod;
    
      private enum HashMethod {
        MESSAGE_DIGEST_API() {
          @Override
          public byte[] hash(Algorithm algorithm, byte[] input) {
            MessageDigest md = algorithm.getMessageDigest();
            md.update(input);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  2. android/guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

     */
    @NullUnmarked
    public class MessageDigestAlgorithmBenchmark {
      @Param({"10", "1000", "100000", "1000000"})
      int size;
    
      @Param Algorithm algorithm;
      @Param HashMethod hashMethod;
    
      private enum HashMethod {
        MESSAGE_DIGEST_API() {
          @Override
          public byte[] hash(Algorithm algorithm, byte[] input) {
            MessageDigest md = algorithm.getMessageDigest();
            md.update(input);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  3. .teamcity/src/main/kotlin/common/JvmVendor.kt

     * 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.
     */
    
    package common
    
    enum class JvmVendor(
        val displayName: String,
    ) {
        ORACLE("Oracle"),
        OPENJDK("Adoptium"),
        ZULU("Zulu"),
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 755 bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/TestEnumMultisetGenerator.java

    import com.google.common.collect.testing.SampleElements;
    import com.google.common.collect.testing.SampleElements.Enums;
    import java.util.List;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * An abstract {@code TestMultisetGenerator} for generating multisets containing enum values.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Feb 11 19:03:19 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/ConsoleIcon.java

    /**
     * Console icons for Maven upgrade tool output.
     * Each icon has a Unicode character and an ASCII fallback.
     * The appropriate representation is chosen based on the terminal's charset capabilities.
     */
    public enum ConsoleIcon {
        /**
         * Success/completion icon.
         */
        SUCCESS('✓', "[OK]"),
    
        /**
         * Error/failure icon.
         */
        ERROR('✗', "[ERROR]"),
    
        /**
         * Warning icon.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Jul 15 09:35:08 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/TestEnumSetGenerator.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.SampleElements.Enums;
    import java.util.List;
    import java.util.Set;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * An abstract TestSetGenerator for generating sets containing enum values.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Feb 11 19:03:19 GMT 2025
    - 2K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/io/TestOption.java

    package com.google.common.io;
    
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Options controlling the behavior of sources/sinks/streams for testing.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public enum TestOption {
      OPEN_THROWS,
      SKIP_THROWS,
      READ_THROWS,
      WRITE_THROWS,
      CLOSE_THROWS,
      AVAILABLE_ALWAYS_ZERO
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 931 bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/io/TestOption.java

    package com.google.common.io;
    
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Options controlling the behavior of sources/sinks/streams for testing.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public enum TestOption {
      OPEN_THROWS,
      SKIP_THROWS,
      READ_THROWS,
      WRITE_THROWS,
      CLOSE_THROWS,
      AVAILABLE_ALWAYS_ZERO
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 931 bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/base/EnumsTest.java

        assertThat(Enums.getIfPresent(TestEnum.class, "POODLE")).hasValue(TestEnum.POODLE);
    
        assertThat(Enums.getIfPresent(TestEnum.class, "CHEETO")).isPresent();
        assertThat(Enums.getIfPresent(TestEnum.class, "HONDA")).isPresent();
        assertThat(Enums.getIfPresent(TestEnum.class, "POODLE")).isPresent();
    
        assertThat(Enums.getIfPresent(TestEnum.class, "CHEETO")).hasValue(TestEnum.CHEETO);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  10. okhttp-logging-interceptor/api/logging-interceptor.api

    	public static final field BASIC Lokhttp3/logging/HttpLoggingInterceptor$Level;
    	public static final field BODY Lokhttp3/logging/HttpLoggingInterceptor$Level;
    	public static final field HEADERS Lokhttp3/logging/HttpLoggingInterceptor$Level;
    	public static final field NONE Lokhttp3/logging/HttpLoggingInterceptor$Level;
    	public static fun getEntries ()Lkotlin/enums/EnumEntries;
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 15:15:46 GMT 2025
    - 4.6K bytes
    - Click Count (0)
Back to Top