Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,158 for Numbers (0.17 sec)

  1. src/test/java/jcifs/spnego/SpnegoConstantsTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for SpnegoConstants interface.
     * Verifies constant values, modifiers, types, and structural properties.
     */
    class SpnegoConstantsTest {
    
        // Simple OID format: numbers separated by dots (at least one dot)
        private static final Pattern OID_PATTERN = Pattern.compile("\\d+(?:\\.\\d+)+");
    
        @Test
        @DisplayName("Constant values match expected OIDs")
        void constantValues() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/PostStreaming.kt

      fun run() {
        val requestBody =
          object : RequestBody() {
            override fun contentType() = MEDIA_TYPE_MARKDOWN
    
            override fun writeTo(sink: BufferedSink) {
              sink.writeUtf8("Numbers\n")
              sink.writeUtf8("-------\n")
              for (i in 2..997) {
                sink.writeUtf8(String.format(" * $i = ${factor(i)}\n"))
              }
            }
    
            private fun factor(n: Int): String {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/dict/DictionaryFile.java

            private final List<E> parent;
    
            /** The total number of pages available. */
            protected int allPageCount;
    
            /** The total number of records across all pages. */
            protected int allRecordCount;
    
            /** The number of records per page. */
            protected int pageSize;
    
            /** The current page number (1-based). */
            protected int currentPageNumber;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Defaults.java

      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, {@code
       * false} for {@code boolean} and {@code '\0'} for {@code char}. For non-primitive types and
       * {@code void}, {@code null} is returned.
       */
      @SuppressWarnings("unchecked")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/JvmUtil.java

        }
    
        /**
         * Gets the major version number of the current Java runtime.
         * For Java 8 and below, returns the minor version (e.g., 8 for Java 1.8).
         * For Java 9 and above, returns the major version (e.g., 11 for Java 11).
         *
         * @return the Java version number, defaults to 8 if version cannot be determined
         */
        public static int getJavaVersion() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/witness/WitnessRegistration.java

            return "REG-" + System.currentTimeMillis() + "-" + Integer.toHexString(System.identityHashCode(this));
        }
    
        /**
         * Gets the next sequence number for this registration.
         *
         * @return the next sequence number
         */
        public long getNextSequenceNumber() {
            return sequenceNumber.incrementAndGet();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java

            RenderData data = new RenderData();
            Set<Integer> intSet = new HashSet<>(Arrays.asList(1, 2, 3));
    
            RenderDataUtil.register(data, "numbers", intSet);
    
            Object result = data.getDataMap().get("numbers");
            assertEquals(intSet, result); // Non-entity collections are registered as-is
        }
    
        public void test_register_mixedList() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/GroupService.java

            // Default constructor
        }
    
        /**
         * Retrieves a paginated list of groups based on the provided pager criteria.
         * Updates the pager with pagination information including page numbers and ranges.
         *
         * @param groupPager the pager containing pagination and search criteria
         * @return a list of groups matching the criteria
         */
        public List<Group> getGroupList(final GroupPager groupPager) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java

        }
    
        @ParameterizedTest
        @CsvSource({ "0, 0", // all zeros
                "-1, 2147483647", // negative fid, max positive security
                "12345, 999" // arbitrary numbers
        })
        void toString_includesCorrectHexValues(int fid, int securityInformation) {
            NtTransQuerySecurityDesc cmd = new NtTransQuerySecurityDesc(fid, securityInformation);
            String result = cmd.toString();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java

          }
        }
      }
    
      /**
       * Used to delay string formatting until actually required, as it otherwise shows up in the test
       * execution profile when running an extremely large numbers of tests.
       */
      private String reportContext(List<E> expected) {
        return Platform.format(
            "expected collection %s; actual collection %s", expected, this.collection);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top