Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 401 for negate (0.05 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java

            assertEquals(newPosition, smbRandomAccessFile.getFilePointer());
        }
    
        @Test
        void testSeekNegativePosition() throws SmbException {
            // seek doesn't throw exception for negative position, it just sets it
            smbRandomAccessFile.seek(-1);
            assertEquals(-1, smbRandomAccessFile.getFilePointer());
        }
    
        @Test
        void testReadByte() throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java

            assertSame(purgeThumbnailJob, result);
            // Test value was not changed
            assertEquals(originalExpiry, purgeThumbnailJob.getExpiry());
        }
    
        // Test expiry setter with negative value (should not change)
        public void test_expiry_negativeValue() {
            long originalExpiry = purgeThumbnailJob.getExpiry();
            PurgeThumbnailJob result = purgeThumbnailJob.expiry(-1000L);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/SessionServicePacket.java

        static final int SESSION_REQUEST = 0x81;
        /**
         * NetBIOS positive session response packet type.
         */
        public static final int POSITIVE_SESSION_RESPONSE = 0x82;
        /**
         * NetBIOS negative session response packet type.
         */
        public static final int NEGATIVE_SESSION_RESPONSE = 0x83;
        static final int SESSION_RETARGET_RESPONSE = 0x84;
        static final int SESSION_KEEP_ALIVE = 0x85;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/DosErrorTest.java

        void messagesOutOfBoundsThrows() {
            // Arrange
            String[] msgs = DosError.DOS_ERROR_MESSAGES;
    
            // Act & Assert: negative index
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                @SuppressWarnings("unused")
                String s = msgs[-1];
            });
    
            // Act & Assert: index equal to length
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/debugging.md

    ---
    
    Se você usar o Pycharm, você pode:
    
    * Abrir o menu "Executar".
    * Selecionar a opção "Depurar...".
    * Então um menu de contexto aparece.
    * Selecionar o arquivo para depurar (neste caso, `main.py`).
    
    Em seguida, ele iniciará o servidor com seu código **FastAPI**, parará em seus pontos de interrupção, etc.
    
    Veja como pode parecer:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/HashBasedTable.java

       * @param expectedCellsPerRow the expected number of column key / value mappings in each row
       * @throws IllegalArgumentException if {@code expectedRows} or {@code expectedCellsPerRow} is
       *     negative
       */
      public static <R, C, V> HashBasedTable<R, C, V> create(
          int expectedRows, int expectedCellsPerRow) {
        checkNonnegative(expectedCellsPerRow, "expectedCellsPerRow");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/HashBasedTable.java

       * @param expectedCellsPerRow the expected number of column key / value mappings in each row
       * @throws IllegalArgumentException if {@code expectedRows} or {@code expectedCellsPerRow} is
       *     negative
       */
      public static <R, C, V> HashBasedTable<R, C, V> create(
          int expectedRows, int expectedCellsPerRow) {
        checkNonnegative(expectedCellsPerRow, "expectedCellsPerRow");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. cmd/dynamic-timeouts.go

    }
    
    // newDynamicTimeout returns a new dynamic timeout initialized with timeout value
    func newDynamicTimeout(timeout, minimum time.Duration) *dynamicTimeout {
    	if timeout <= 0 || minimum <= 0 {
    		panic("newDynamicTimeout: negative or zero timeout")
    	}
    	if minimum > timeout {
    		minimum = timeout
    	}
    	return &dynamicTimeout{timeout: int64(timeout), minimum: int64(minimum)}
    }
    
    // Timeout returns the current timeout value
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/SmbBasicFileInfoTest.java

                    Arguments.of(Integer.MAX_VALUE, Long.MAX_VALUE, Long.MIN_VALUE, 999_999_999_999L, -1L), // extremes
                    Arguments.of(-1, -2L, -3L, -4L, -5L) // negative values
            );
        }
    
        // --- Mockito interaction: verify each getter is invoked and returns stubbed values ---
        @Test
        void mockitoMock_verifiesGetterInteractions() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. utils/utils_test.go

    			input:    []int{1, 2, 3},
    			trimLen:  1,
    			expected: []int{1, 2},
    		},
    		{
    			name:     "Empty slice",
    			input:    []int{},
    			trimLen:  2,
    			expected: []int{},
    		},
    		{
    			name:     "Negative trim length (should be treated as zero)",
    			input:    []int{1, 2, 3},
    			trimLen:  -1,
    			expected: []int{1, 2, 3},
    		},
    	}
    
    	for _, testcase := range tests {
    		t.Run(testcase.name, func(t *testing.T) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top