Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,226 for Numbers (0.08 sec)

  1. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertEquals(42, queue.maximumSize);
        checkNatural(queue);
      }
    
      private static final ImmutableList<Integer> NUMBERS = ImmutableList.of(4, 8, 15, 16, 23, 42);
    
      public void testCreation_withContents() {
        MinMaxPriorityQueue<Integer> queue = MinMaxPriorityQueue.create(NUMBERS);
        assertEquals(6, queue.size());
        assertEquals(11, queue.capacity());
        checkUnbounded(queue);
        checkNatural(queue);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/MathBenchmarking.java

        BigInteger result = randomPositiveBigInteger(numBits);
        return RANDOM_SOURCE.nextBoolean() ? result : result.negate();
      }
    
      /**
       * Chooses a number in (-2^numBits, 2^numBits) at random, with density concentrated in numbers of
       * lower magnitude.
       */
      static BigInteger randomBigInteger(int numBits) {
        while (true) {
          if (RANDOM_SOURCE.nextBoolean()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

            return hash;
        }
    
        /**
         * Appends line numbers to each line of content with a given prefix.
         * Useful for debugging and displaying content with line references.
         *
         * @param prefix the prefix to add before each line number
         * @param content the content to add line numbers to
         * @return the content with line numbers prepended, or empty string if content is blank
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  4. src/archive/tar/strconv.go

    // This function may return negative numbers.
    // If parsing fails or an integer overflow occurs, err will be set.
    func (p *parser) parseNumeric(b []byte) int64 {
    	// Check for base-256 (binary) format first.
    	// If the first bit is set, then all following bits constitute a two's
    	// complement encoded number in big-endian byte order.
    	if len(b) > 0 && b[0]&0x80 != 0 {
    		// Handling negative numbers relies on the following identity:
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/PostStreaming.java

          @Override public MediaType contentType() {
            return MEDIA_TYPE_MARKDOWN;
          }
    
          @Override public void writeTo(BufferedSink sink) throws IOException {
            sink.writeUtf8("Numbers\n");
            sink.writeUtf8("-------\n");
            for (int i = 2; i <= 997; i++) {
              sink.writeUtf8(String.format(" * %s = %s\n", i, factor(i)));
            }
          }
    
          private String factor(int n) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jul 06 03:18:15 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. ci/official/envs/nightly_upload

    TFCI_ARTIFACT_LATEST_GCS_URI="gs://tensorflow/nightly/latest/"
    TFCI_ARTIFACT_STAGING_GCS_ENABLE=1
    TFCI_ARTIFACT_STAGING_GCS_URI="gs://tensorflow-ci-staging/staging/nightly/$(git rev-parse HEAD)/"
    
    # 2. The internal version numbers get changed
    TFCI_NIGHTLY_UPDATE_VERSION_ENABLE=1
    
    # 3. Push results to public build cache (unique cache for MacOS)
    if [[ $(uname -s) == "Darwin" ]]; then
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Jun 17 20:45:36 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top