Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 420 for negate (0.04 sec)

  1. guava/src/com/google/common/math/Stats.java

       * is not guaranteed to return zero when the dataset consists of the same value multiple times,
       * due to numerical errors. However, it is guaranteed never to return a negative result.
       *
       * <h3>Non-finite values</h3>
       *
       * <p>If the dataset contains any non-finite values ({@link Double#POSITIVE_INFINITY}, {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/UnsignedLongs.java

    import java.math.BigInteger;
    import java.util.Arrays;
    import java.util.Comparator;
    
    /**
     * Static utility methods pertaining to {@code long} primitives that interpret values as
     * <i>unsigned</i> (that is, any negative value {@code x} is treated as the positive value {@code
     * 2^64 + x}). The methods for which signedness is not an issue are in {@link Longs}, as well as
     * signed versions of methods for which signedness is an issue.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java

            String result = scoreUpdater.execute();
            // NullPointerException message should be captured
            assertTrue(result.contains("null") || result.contains("NullPointer"));
        }
    
        // Test with negative priority
        public void test_addScoreBooster_negativePriority() {
            PriorityTrackingBooster booster1 = new PriorityTrackingBooster(-1, 100L);
            PriorityTrackingBooster booster2 = new PriorityTrackingBooster(0, 200L);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            assertEquals("EndOfFileInformation[endOfFile=12345]", str2);
        }
    
        @Test
        @DisplayName("Test toString with various values")
        void testToStringWithVariousValues() {
            // Test negative value
            FileEndOfFileInformation info1 = new FileEndOfFileInformation(-100L);
            assertEquals("EndOfFileInformation[endOfFile=-100]", info1.toString());
    
            // Test zero
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

          int hash2 = (int) (hash64 >>> 32);
    
          boolean bitsChanged = false;
          for (int i = 1; i <= numHashFunctions; i++) {
            int combinedHash = hash1 + (i * hash2);
            // Flip all the bits if it's negative (guaranteed positive number)
            if (combinedHash < 0) {
              combinedHash = ~combinedHash;
            }
            bitsChanged |= bits.set(combinedHash % bitSize);
          }
          return bitsChanged;
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/DiscreteDomain.java

       *     minValue()}
       */
      public abstract @Nullable C previous(C value);
    
      /**
       * Returns a signed value indicating how many nested invocations of {@link #next} (if positive) or
       * {@link #previous} (if negative) are needed to reach {@code end} starting from {@code start}.
       * For example, if {@code end = next(next(next(start)))}, then {@code distance(start, end) == 3}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  7. src/bytes/reader_test.go

    		{seek: io.SeekStart, off: 0, n: 20, want: "0123456789"},
    		{seek: io.SeekStart, off: 1, n: 1, want: "1"},
    		{seek: io.SeekCurrent, off: 1, wantpos: 3, n: 2, want: "34"},
    		{seek: io.SeekStart, off: -1, seekerr: "bytes.Reader.Seek: negative position"},
    		{seek: io.SeekStart, off: 1 << 33, wantpos: 1 << 33, readerr: io.EOF},
    		{seek: io.SeekCurrent, off: 1, wantpos: 1<<33 + 1, readerr: io.EOF},
    		{seek: io.SeekStart, n: 5, want: "01234"},
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/DcerpcConstants.java

        /**
         * Bind packet type - establishes context
         */
        int RPC_PT_BIND = 0x0B;
        /**
         * Bind acknowledgment packet type
         */
        int RPC_PT_BIND_ACK = 0x0C;
        /**
         * Bind negative acknowledgment packet type
         */
        int RPC_PT_BIND_NAK = 0x0D;
        /**
         * Alter context packet type
         */
        int RPC_PT_ALTER_CONTEXT = 0x0E;
        /**
         * Alter context response packet type
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

        try {
          long remainingNanos = unit.toNanos(timeout);
          long end = System.nanoTime() + remainingNanos;
    
          while (true) {
            try {
              // TimeUnit.timedJoin() treats negative timeouts just like zero.
              NANOSECONDS.timedJoin(thread, remainingNanos);
              return;
            } catch (InterruptedException e) {
              interrupted = true;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/extra-models.md

    ///
    
    {* ../../docs_src/extra_models/tutorial003.py hl[1,14:15,18:20,33] *}
    
    ### `Union` no Python 3.10
    
    Neste exemplo, passamos `Union[PlaneItem, CarItem]` como o valor do argumento `response_model`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top