Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 404 for negation (0.1 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java

            // Act/Assert
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> req.writeBytesWireFormat(tiny, 0));
        }
    
        @Test
        @DisplayName("writeBytesWireFormat throws with negative index")
        void writeBytesWireFormat_throwsIfNegativeIndex() {
            // Arrange
            Smb2LogoffRequest req = newRequest();
            byte[] buf = new byte[4];
    
            // Act/Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. cmd/service.go

    			if ch, ok := val.(chan struct{}); ok && ch != nil {
    				// Close previous non-nil channel.
    				xioutil.SafeClose(ch)
    			}
    		}
    		globalServiceFreezeCnt = 0 // Don't risk going negative.
    	}
    	globalServiceFreezeMu.Unlock()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 28 07:02:14 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ntlmssp/NtlmFlags.java

        /**
         * Indicates whether the OEM-formatted domain name in which the
         * client workstation has membership is supplied in the Type-1 message.
         * This is used in the negotation of local authentication.
         */
        int NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED = 0x00001000;
    
        /**
         * Indicates whether the OEM-formatted workstation name is supplied
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  7. 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)
  8. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            // Service accessors
            assertEquals("cifs", auth.getService());
            auth.setService("");
            assertEquals("", auth.getService());
    
            // Lifetime accessors (edge: zero/negative)
            auth.setUserLifeTime(0);
            assertEquals(0, auth.getUserLifeTime());
            auth.setUserLifeTime(-1);
            assertEquals(-1, auth.getUserLifeTime());
    
            auth.setLifeTime(0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top