Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 1,442 for constant (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

            }
        }
    
        @Test
        public void test_constant_WEB_API_EXCEPTION() {
            // Test that the constant WEB_API_EXCEPTION is used correctly
            // This is verified by checking the behavior matches expected constant usage
    
            // Since the constant is private, we can't access it directly
            // But we can verify the behavior is consistent
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  2. guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

          } catch (NoSuchAlgorithmException e) {
            throw new AssertionError(e);
          }
        }
    
        HashFunction getHashFunction() {
          return hashFn;
        }
      }
    
      // Use a constant seed for all of the benchmarks to ensure apples to apples comparisons.
      private static final int RANDOM_SEED = new Random().nextInt();
    
      private byte[] testBytes;
    
      @BeforeExperiment
      void setUp() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticatorTest.java

            assertTrue(true);
        }
    
        @Test
        public void test_constantsExist() {
            // Verify all expected configuration constants are defined
            SpnegoAuthenticator authenticator = new SpnegoAuthenticator();
    
            // These constants should be accessible (would fail at compile time if not)
            assertTrue(SpnegoAuthenticator.class.getName().contains("SpnegoAuthenticator"));
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

        }
    
        @Test
        @DisplayName("Should verify all constant values")
        void testAllConstants() {
            // Verify notify flags
            assertEquals(0x1, Smb2ChangeNotifyRequest.SMB2_WATCH_TREE);
    
            // Verify completion filter constants
            assertEquals(0x1, Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_FILE_NAME);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.1K bytes
    - Click Count (0)
  5. src/builtin/builtin.go

    //   - Channel: the number of elements queued (unread) in the channel buffer;
    //     if v is nil, len(v) is zero.
    //
    // For some arguments, such as a string literal or a simple array expression, the
    // result can be a constant. See the Go language specification's "Length and
    // capacity" section for details.
    func len(v Type) int
    
    // The cap built-in function returns the capacity of v, according to its type:
    //
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Feb 26 17:14:40 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  6. 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 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Feb 28 19:33:08 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java

     */
    public class DataSerializer {
    
        /** Logger for this class. */
        private static final Logger logger = LogManager.getLogger(DataSerializer.class);
    
        /** Constant for JavaBin serializer type. */
        protected static final String JAVABIN = "javabin";
    
        /** Constant for Kryo serializer type. */
        protected static final String KRYO = "kryo";
    
        /** ThreadLocal container for Kryo instances to ensure thread safety. */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 01:54:09 GMT 2026
    - 10.5K bytes
    - Click Count (3)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

         */
        static final String DEFAULT_ENCODING = StandardCharsets.UTF_8.name();
    
        /** Constant for the platform specific line separator.*/
        private static final String LINE_SEPARATOR = System.lineSeparator();
    
        /** Constant for the radix of hex numbers.*/
        private static final int HEX_RADIX = 16;
    
        /** Constant for the length of a unicode literal.*/
        private static final int UNICODE_LEN = 4;
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 38.4K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

         */
        static final Charset DEFAULT_ENCODING = StandardCharsets.UTF_8;
    
        /** Constant for the platform specific line separator.*/
        private static final String LINE_SEPARATOR = System.lineSeparator();
    
        /** Constant for the radix of hex numbers.*/
        private static final int HEX_RADIX = 16;
    
        /** Constant for the length of a unicode literal.*/
        private static final int UNICODE_LEN = 4;
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 09:03:48 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java

                assertArrayEquals(originalCiphers, decodedContext.getCiphers());
            }
        }
    
        @Nested
        @DisplayName("Constant Value Tests")
        class ConstantValueTests {
    
            @Test
            @DisplayName("Should have correct constant values")
            void testConstantValues() {
                assertEquals(0x2, EncryptionNegotiateContext.NEGO_CTX_ENC_TYPE);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.5K bytes
    - Click Count (0)
Back to Top