Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 404 for negation (0.04 sec)

  1. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            assertThrows(NullPointerException.class, () -> sis.read((byte[]) null));
        }
    
        @ParameterizedTest
        @ValueSource(longs = { 0L, -1L, -10L })
        @DisplayName("Skip returns 0 for zero or negative values")
        void skipReturnsZeroForNegativeOrZero(long skipBytes) throws IOException {
            // Create message with 5 bytes of data
            byte[] data = new byte[] { 10, 20, 30, 40, 50 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/ntlmssp/NtlmFlags.java

        int NTLMSSP_NEGOTIATE_NTLM = 0x00000200;
    
        /**
        * 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.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/score/LtrQueryRescorerTest.java

            assertNotNull(result);
            assertEquals(0, ((QueryRescorerBuilder) result).windowSize().intValue());
        }
    
        public void test_evaluate_withNegativeWindowSize() {
            // Test with negative window size
            final String testModelName = "test_model";
    
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                @Override
                public String getLtrModelName() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/ValueGraphBuilder.java

        this.allowsSelfLoops = allowsSelfLoops;
        return this;
      }
    
      /**
       * Specifies the expected number of nodes in the graph.
       *
       * @throws IllegalArgumentException if {@code expectedNodeCount} is negative
       */
      @CanIgnoreReturnValue
      public ValueGraphBuilder<N, V> expectedNodeCount(int expectedNodeCount) {
        this.expectedNodeCount = Optional.of(checkNonNegative(expectedNodeCount));
        return this;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/Fingerprint2011.java

     *
     * <p>Note to maintainers: This implementation relies on signed arithmetic being bit-wise equivalent
     * to unsigned arithmetic in all cases except:
     *
     * <ul>
     *   <li>comparisons (signed values can be negative)
     *   <li>division (avoided here)
     *   <li>shifting (right shift must be unsigned)
     * </ul>
     *
     * @author ******@****.*** (Kyle Maddison)
     * @author ******@****.*** (Geoff Pike)
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. 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)
  7. src/test/java/jcifs/util/HexdumpTest.java

            // Test boundary values
            byte[] data = { (byte) 0x00, // min value
                    (byte) 0xFF, // max value (-1 as signed byte)
                    (byte) 0x7F, // max positive
                    (byte) 0x80 // min negative
            };
    
            String result = Hexdump.toHexString(data);
            assertEquals("00FF7F80", result);
        }
    
        @Test
        @DisplayName("Should handle large byte arrays efficiently")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            setupCountField.setAccessible(true);
            assertEquals(255, setupCountField.get(response));
        }
    
        @Test
        @DisplayName("Test negative values handling (as unsigned)")
        void testNegativeValuesAsUnsigned() throws Exception {
            byte[] buffer = new byte[100];
            int bufferIndex = 0;
    
            // Reserved bytes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

                readParams.setAccessible(true);
                assertEquals(0, readParams.invoke(cancel, emptyArray, 0));
            }
    
            @Test
            @DisplayName("Should handle negative MID values")
            void testWithNegativeMid() throws Exception {
                // Given
                Configuration config = mock(Configuration.class);
                when(config.getPid()).thenReturn(12345);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. src/bufio/bufio.go

    	ErrInvalidUnreadRune = errors.New("bufio: invalid use of UnreadRune")
    	ErrBufferFull        = errors.New("bufio: buffer full")
    	ErrNegativeCount     = errors.New("bufio: negative count")
    )
    
    // Buffered input.
    
    // Reader implements buffering for an io.Reader object.
    // A new Reader is created by calling [NewReader] or [NewReaderSize];
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 22K bytes
    - Viewed (0)
Back to top