Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 592 for Constant (0.05 sec)

  1. guava/src/com/google/common/base/Functions.java

       * (Function<Object, E> & Serializable) o -> value}.
       *
       * @param value the constant value for the function to return
       * @return a function that always returns {@code value}
       */
      public static <E extends @Nullable Object> Function<@Nullable Object, E> constant(
          @ParametricNullness E value) {
        return new ConstantFunction<>(value);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Charsets.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.nio.charset.Charset;
    import java.nio.charset.StandardCharsets;
    
    /**
     * Contains constant definitions for the six standard {@link Charset} instances, which are
     * guaranteed to be supported by all Java platform implementations.
     *
     * <p>Assuming you're free to choose, note that <b>{@link #UTF_8} is widely preferred</b>.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/go/GoAction.java

        public GoAction() {
            super();
        }
    
        // ===================================================================================
        //                                                                            Constant
        //
        /** Logger for this class. */
        private static final Logger logger = LogManager.getLogger(GoAction.class);
    
        /** Helper for URL path mapping and transformation. */
        @Resource
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/PacSignature.java

                throw new PACDecodingException("Malformed PAC signature", e);
            }
        }
    
        /**
         * Gets the checksum type of this signature.
         *
         * @return the checksum type constant
         */
        public int getType() {
            return this.type;
        }
    
        /**
         * Gets the checksum data.
         *
         * @return the checksum bytes
         */
        public byte[] getChecksum() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/profile/ProfileAction.java

            super();
        }
    
        private static final Logger logger = LogManager.getLogger(ProfileAction.class);
    
        // ===================================================================================
        // Constant
        //
    
        // ===================================================================================
        // Attribute
        //
        @Resource
        private UserService userService;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/escape/ArrayBasedEscaperMap.java

          replacements[c] = map.get(c).toCharArray();
        }
        return replacements;
      }
    
      // Immutable empty array for when there are no replacements.
      @SuppressWarnings("ConstantCaseForConstants") // An empty array is a constant.
      private static final char[][] EMPTY_REPLACEMENT_ARRAY = new char[0][0];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. cmd/metrics-v3-types.go

    		descriptors: d,
    	}
    }
    
    // ToPromMetrics - converts the internal metric values to Prometheus
    // adding the given name prefix. The extraLabels are added to each metric as
    // constant labels.
    func (m *MetricValues) ToPromMetrics(namePrefix string, extraLabels map[string]string,
    ) []prometheus.Metric {
    	metrics := make([]prometheus.Metric, 0, len(m.values))
    	for metricName, mv := range m.values {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Feb 28 19:33:08 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/WinErrorTest.java

        }
    
        @Test
        @DisplayName("Constants: values match Windows error codes")
        void constants_have_expected_values() {
            // Ensure each public constant has its documented numeric value (happy path)
            assertAll(() -> assertEquals(0, WinError.ERROR_SUCCESS), () -> assertEquals(5, WinError.ERROR_ACCESS_DENIED),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/RequestParamTest.java

        // Happy path: values() returns all constants in declaration order
        @Test
        @DisplayName("values() returns all declared constants in order")
        void valuesContainsAllInOrder() {
            RequestParam[] values = RequestParam.values();
    
            assertNotNull(values, "values() must not return null");
            assertEquals(4, values.length, "There must be exactly 4 constants");
            assertArrayEquals(
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

        void testNullProtocolId() {
            // Protocol ID is a constant in transform header, not settable
            // This test is not applicable - the protocol ID is always TRANSFORM_PROTOCOL_ID
            assertTrue(true);
        }
    
        @Test
        @DisplayName("Should handle invalid protocol ID length")
        void testInvalidProtocolIdLength() {
            // Protocol ID is a constant in transform header, not settable
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top