Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 601 for negative (0.04 sec)

  1. android/guava/src/com/google/common/graph/Graphs.java

      }
    
      @CanIgnoreReturnValue
      static int checkNonNegative(int value) {
        checkArgument(value >= 0, "Not true that %s is non-negative.", value);
        return value;
      }
    
      @CanIgnoreReturnValue
      static long checkNonNegative(long value) {
        checkArgument(value >= 0, "Not true that %s is non-negative.", value);
        return value;
      }
    
      @CanIgnoreReturnValue
      static int checkPositive(int value) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/Graphs.java

      }
    
      @CanIgnoreReturnValue
      static int checkNonNegative(int value) {
        checkArgument(value >= 0, "Not true that %s is non-negative.", value);
        return value;
      }
    
      @CanIgnoreReturnValue
      static long checkNonNegative(long value) {
        checkArgument(value >= 0, "Not true that %s is non-negative.", value);
        return value;
      }
    
      @CanIgnoreReturnValue
      static int checkPositive(int value) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        assertThrows(
            NumberFormatException.class,
            () -> UnsignedLongs.parseUnsignedLong("0", Character.MAX_RADIX + 1));
    
        // The radix is used as an array index, so try a negative value.
        assertThrows(NumberFormatException.class, () -> UnsignedLongs.parseUnsignedLong("0", -1));
      }
    
      public void testToString() {
        String[] tests = {
          "0",
          "ffffffffffffffff",
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

            assertEquals(0, response.readParametersWireFormat(emptyBuffer, 0, 0));
            assertEquals(0, response.readDataWireFormat(emptyBuffer, 0, 0));
        }
    
        @Test
        @DisplayName("Methods should handle negative indices")
        void testMethodsWithNegativeIndices() {
            // Arrange
            byte[] buffer = new byte[100];
            int negativeIndex = -1;
    
            // Act & Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/arch/arch.go

    	instructions["JLS"] = x86.AJLS  /* lower or same (unsigned) (CF = 1 || ZF = 1) */
    	instructions["JLT"] = x86.AJLT  /* less than (signed) (SF != OF) */
    	instructions["JMI"] = x86.AJMI  /* negative (minus) (SF = 1) */
    	instructions["JNA"] = x86.AJLS  /* alternate */
    	instructions["JNAE"] = x86.AJCS /* alternate */
    	instructions["JNB"] = x86.AJCC  /* alternate */
    	instructions["JNBE"] = x86.AJHI /* alternate */
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Nov 07 02:20:14 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

            int[] invalidSizes = { -1, 0, 1, 2, 3, 5, 6, 8, 16, 32, 64, 128, 256, 512, 1024 };
    
            for (int invalidSize : invalidSizes) {
                byte[] buffer = new byte[256];
    
                // Handle negative values (will wrap around in writeInt2)
                if (invalidSize >= 0) {
                    SMBUtil.writeInt2(invalidSize, buffer, 0);
    
                    // When & Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

            assertEquals(0x00, dst[13]);
    
            // Check security information
            assertEquals(0x12345678, SMBUtil.readInt4(dst, 14));
        }
    
        @Test
        @DisplayName("Test with negative FID value (should handle as unsigned)")
        void testNegativeFidValue() {
            int fid = -1; // Will be treated as 0xFFFF in unsigned 16-bit
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/rank/fusion/SearchResultTest.java

            assertEquals(largeCount, result.getAllRecordCount());
        }
    
        public void test_negativeQueryTime() {
            // Test with negative query time (edge case)
            SearchResult result = SearchResult.create().queryTime(-1L).build();
    
            assertEquals(-1L, result.getQueryTime());
        }
    
        public void test_documentListImmutability() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt

          encodings[ 0x12] = encoding // Device Control 2
          encodings[ 0x13] = encoding // Device Control 3 (oft. XOFF)
          encodings[ 0x14] = encoding // Device Control 4
          encodings[ 0x15] = encoding // Negative Acknowledgment
          encodings[ 0x16] = encoding // Synchronous idle
          encodings[ 0x17] = encoding // End of Transmission Block
          encodings[ 0x18] = encoding // Cancel
          encodings[ 0x19] = encoding // End of Medium
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java

            TestRule rule2 = new TestRule("rule2", false);
    
            ruleManager.addRule(rule1);
    
            try {
                ruleManager.addRule(-1, rule2);
                fail("Should throw IndexOutOfBoundsException for negative index");
            } catch (IndexOutOfBoundsException e) {
                // Expected
            }
    
            try {
                ruleManager.addRule(5, rule2);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 23.8K bytes
    - Viewed (0)
Back to top