Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 344 for SHORT (0.01 sec)

  1. src/test/java/jcifs/pac/ASN1UtilTest.java

                ASN1Util.readTagNumber(s, 0x1F);
            });
        }
    
        // --- readLength ---
    
        @Test
        void testReadLength_ShortForm() throws IOException {
            // Definite-length short form (length 10)
            InputStream s = new ByteArrayInputStream(new byte[] { 0x0A });
            int length = ASN1Util.readLength(s, 100, false);
            assertEquals(10, length);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. .bazelrc

    # _USE_MATH_DEFINES is defined.
    build:windows --copt=/D_USE_MATH_DEFINES
    build:windows --host_copt=/D_USE_MATH_DEFINES
    
    # Windows has a relatively short command line limit, which TF has begun to hit.
    # See https://docs.bazel.build/versions/main/windows.html
    build:windows --features=compiler_param_file
    build:windows --features=archive_param_file
    
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Aug 22 21:03:34 UTC 2025
    - 56K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

        sink.putBytes(new byte[] {8});
        HashCode unused = sink.hash();
        sink.assertInvariants(8);
        sink.assertBytes(expected);
      }
    
      public void testShort() {
        Sink sink = new Sink(4);
        sink.putShort((short) 0x0201);
        HashCode unused = sink.hash();
        sink.assertInvariants(2);
        sink.assertBytes(new byte[] {1, 2, 0, 0}); // padded with zeros
      }
    
      public void testInt() {
        Sink sink = new Sink(4);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

        @Test
        @DisplayName("Test constructor initializes with config")
        void testConstructor() {
            assertNotNull(response);
            // Command is not set in constructor, only after decoding
            assertEquals((short) 0, response.getCommand());
        }
    
        @Test
        @DisplayName("Test writeBytesWireFormat returns 0")
        void testWriteBytesWireFormat() {
            byte[] dst = new byte[1024];
            int dstIndex = 0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt

     *    from the peer.
     *
     * Web sockets may fail due to HTTP upgrade problems, connectivity problems, or if either peer
     * chooses to short-circuit the graceful shutdown process:
     *
     *  * **Canceled:** the web socket connection failed. Messages that were successfully enqueued by
     *    either peer may not have been transmitted to the other.
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java

            assertFalse(result);
            assertEquals(1, chain1.changePasswordCallCount);
            assertEquals(1, chain2.changePasswordCallCount);
            // allMatch may short-circuit, so chain3 might not be called
            assertTrue(chain3.changePasswordCallCount <= 1);
        }
    
        // Test delete with no chains
        public void test_delete_noChains() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/body-nested-models.md

    ///
    
    ## Recap { #recap }
    
    With **FastAPI** you have the maximum flexibility provided by Pydantic models, while keeping your code simple, short and elegant.
    
    But with all the benefits:
    
    * Editor support (completion everywhere!)
    * Data conversion (a.k.a. parsing / serialization)
    * Data validation
    * Schema documentation
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

            this.server.serverTime = SMBUtil.readTime(buffer, bufferIndex);
            bufferIndex += 8;
            int tzOffset = SMBUtil.readInt2(buffer, bufferIndex);
            // tzOffset is signed!
            if (tzOffset > Short.MAX_VALUE) {
                tzOffset = -1 * (65536 - tzOffset);
            }
            this.server.serverTimeZone = tzOffset;
            bufferIndex += 2;
            this.server.encryptionKeyLength = buffer[bufferIndex++] & 0xFF;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. tests/scanner_valuer_test.go

    }
    
    type EncryptedData []byte
    
    func (data *EncryptedData) Scan(value interface{}) error {
    	if b, ok := value.([]byte); ok {
    		if len(b) < 3 || b[0] != '*' || b[1] != '*' || b[2] != '*' {
    			return errors.New("Too short")
    		}
    
    		*data = append((*data)[0:], b[3:]...)
    		return nil
    	} else if s, ok := value.(string); ok {
    		*data = []byte(s[3:])
    		return nil
    	}
    
    	return errors.New("Bytes expected")
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/PacDataInputStreamTest.java

            // Little-endian 0x1234 -> 0x34 0x12
            byte[] data = new byte[] { 0x34, 0x12, 0x00, 0x00 };
            PacDataInputStream pdis = createInputStream(data);
            assertEquals((short) 0x1234, pdis.readShort());
        }
    
        @Test
        public void testReadInt() throws IOException {
            // Little-endian 0x12345678 -> 0x78 0x56 0x34 0x12
            byte[] data = new byte[] { 0x78, 0x56, 0x34, 0x12 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9.2K bytes
    - Viewed (0)
Back to top