Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 373 for negation (0.04 sec)

  1. src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java

        }
    
        @Test
        void testConstructor_negativeValue() {
            // Test with a negative value, expecting it to be masked to a positive byte
            NdrSmall ndrSmall = new NdrSmall(-1); // -1 & 0xFF = 255
            assertEquals(255, ndrSmall.value, "Negative value should be masked to its unsigned byte equivalent.");
        }
    
        @Test
        void testConstructor_overflowValue() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

        }
    
        /**
         * Test validation of negative buffer sizes.
         */
        @Test
        public void testNegativeBufferSizes() {
            byte[] buffer = createBasicNegotiateResponseBuffer();
    
            // Test negative maxReadSize
            SMBUtil.writeInt4(1024 * 1024, buffer, 28); // 1MB transact - valid
            SMBUtil.writeInt4(-1, buffer, 32); // Negative read size
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/AbstractIndexedListIterator.java

       * #previous()} can retrieve the preceding {@code position} elements.
       *
       * @throws IndexOutOfBoundsException if {@code position} is negative or is greater than {@code
       *     size}
       * @throws IllegalArgumentException if {@code size} is negative
       */
      protected AbstractIndexedListIterator(int size, int position) {
        checkPositionIndex(position, size);
        this.size = size;
        this.position = position;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/entity/SearchRenderData.java

         */
        public void setAllRecordCount(final long allRecordCount) {
            this.allRecordCount = allRecordCount;
        }
    
        /**
         * Sets the relation type for the record count (e.g., "eq", "gte").
         *
         * @param allRecordCountRelation The record count relation
         */
        public void setAllRecordCountRelation(final String allRecordCountRelation) {
            this.allRecordCountRelation = allRecordCountRelation;
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXResponseTest.java

        }
    
        @Test
        void testReadParameterWordsWireFormat() {
            byte[] buffer = new byte[1024];
            int result = response.readParameterWordsWireFormat(buffer, 0);
    
            // The method should read parameter words
            assertTrue(result >= 0, "readParameterWordsWireFormat should return non-negative value");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. gorm.go

    	err = stmt.Parse(joinTable)
    	if err != nil {
    		return err
    	}
    	joinSchema = stmt.Schema
    
    	relation, ok := modelSchema.Relationships.Relations[field]
    	isRelation := ok && relation.JoinTable != nil
    	if !isRelation {
    		return fmt.Errorf("failed to find relation: %s", field)
    	}
    
    	for _, ref := range relation.References {
    		f := joinSchema.LookUpField(ref.ForeignKey.DBName)
    		if f == nil {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

        }
    
        @Test
        @DisplayName("writeUShort handles negative values as unsigned")
        void testWriteUShortNegative() {
            byte[] dest = new byte[2];
            NtlmMessage.writeUShort(dest, 0, -2);
            assertArrayEquals(new byte[] { -2, -1 }, dest, "Negative short should be encoded unsigned");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. docs/fr/docs/index.md

        * une validation même pour les objets <abbr title="JavaScript Object Notation">JSON</abbr> profondément imbriqués.
    * <abbr title="aussi connu sous le nom de : serialization, parsing, marshalling">Une conversion</abbr> des données d'entrée : venant du réseau et allant vers les données et types de Python, permettant de lire :
        * le <abbr title="JavaScript Object Notation">JSON</abbr>.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 22K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            // Test with max int value (unsigned interpretation)
            buffer.putInt(0, 0xFFFFFFFF);
            assertEquals(0xFFFFFFFF, NtlmMessage.readULong(data, 0), "Should read max ULong correctly.");
    
            // Test with a negative int (should be interpreted as unsigned positive)
            buffer.putInt(0, -1); // -1 is 0xFFFFFFFF
            assertEquals(0xFFFFFFFF, NtlmMessage.readULong(data, 0), "Should interpret -1 as unsigned max ULong.");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/WinErrorTest.java

        }
    
        @Test
        @DisplayName("Codes: all non-negative and unique")
        void codes_are_non_negative_and_unique() {
            // Edge checks: ensure there are no negative or duplicate codes
            Set<Integer> seen = new HashSet<>();
            for (int c : WinError.WINERR_CODES) {
                assertTrue(c >= 0, "Code should be non-negative: " + c);
                assertTrue(seen.add(c), "Duplicate code detected: " + c);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.4K bytes
    - Viewed (0)
Back to top