Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 231 for minmax (0.05 seconds)

  1. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

    import jcifs.internal.util.SMBUtil;
    
    @ExtendWith(MockitoExtension.class)
    class Smb2CreateResponseTest {
    
        // SMB2 header size in bytes
        private static final int SMB2_HEADER_LENGTH = 64;
    
        /**
         * Build a minimal SMB2 header for a response.
         */
        private static byte[] buildSmb2Header() {
            byte[] header = Arrays.copyOf(SMBUtil.SMB2_HEADER, SMBUtil.SMB2_HEADER.length);
            // Mark as server->client response for realism
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

            SMBUtil.writeInt2(dataOffset, buffer, bufferIndex + 2);
            // Set buffer length
            SMBUtil.writeInt4(104, buffer, bufferIndex + 4); // Minimal FileBothDirectoryInfo
    
            response = spy(response);
            when(response.getHeaderStart()).thenReturn(0);
    
            // Write minimal FileBothDirectoryInfo at dataOffset
            // NextEntryOffset (0 = last entry)
            SMBUtil.writeInt4(0, buffer, dataOffset);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 23.5K bytes
    - Click Count (0)
  3. docs/en/data/contributors.yml

      url: https://github.com/kaustubhgupta
    kinuax:
      login: kinuax
      count: 2
      avatarUrl: https://avatars.githubusercontent.com/u/13321374?u=22dc9873d6d9f2c7e4fc44c6480c3505efb1531f&v=4
      url: https://github.com/kinuax
    wakabame:
      login: wakabame
      count: 2
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Dec 01 06:27:43 GMT 2025
    - 20K bytes
    - Click Count (0)
  4. src/test/java/jcifs/http/NetworkExplorerTest.java

        /**
         * Test doFile method directly - simplified test
         */
        @Test
        void testDoFile() throws Exception {
            initializeNetworkExplorer(false, "jCIFS");
    
            // Setup mock file with minimal required behavior
            String content = "File content for testing";
            byte[] contentBytes = content.getBytes();
    
            when(smbFile.length()).thenReturn((long) contentBytes.length);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  5. docs/es/docs/tutorial/security/get-current-user.md

    ¿Quieres tener un `id` y `email` y no tener un `username` en tu modelo? Claro. Puedes usar estas mismas herramientas.
    
    ¿Quieres solo tener un `str`? ¿O solo un `dict`? ¿O un instance de clase modelo de base de datos directamente? Todo funciona de la misma manera.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  6. docs/de/docs/tutorial/body-multiple-params.md

    ## `Path`-, `Query`- und Body-Parameter vermischen { #mix-path-query-and-body-parameters }
    
    Zuerst einmal, Sie können `Path`-, `Query`- und Requestbody-Parameter-Deklarationen frei mischen und **FastAPI** wird wissen, was zu tun ist.
    
    Und Sie können auch Body-Parameter als optional kennzeichnen, indem Sie den Defaultwert auf `None` setzen:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 20 15:10:09 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  7. docs/de/docs/history-design-future.md

    </blockquote>
    
    ## Untersuchung { #investigation }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java

            assertTrue(str.contains("filename=testfile.txt"), "toString must contain the supplied filename");
        }
    
        @Test
        @DisplayName("writeBytesWireFormat with null path returns minimal bytes")
        void testWriteWhenPathIsNull() {
            // When path is null, Strings.getOEMBytes returns empty array, not NPE
            when(mockConfig.getOemEncoding()).thenReturn("windows-1252");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

        }
    
        @Test
        void readBodyWireFormat_shouldDelegateToReadResourceRecordWireFormat() throws Exception {
            // Prepare test data with minimal valid resource record
            byte[] src = new byte[100];
            int srcIndex = 10;
    
            // Set up a minimal resource record response
            // Name pointer (0xC00C)
            src[srcIndex] = (byte) 0xC0;
            src[srcIndex + 1] = 0x0C;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

     * method contract.  The tests focus on public API behaviour and the
     * parsing logic in {@code readParameterWordsWireFormat} and
     * {@code readBytesWireFormat}.
     */
    public class SmbComTransactionResponseTest {
        /** A minimal concrete subclass for testing */
        private static class DummyResponse extends SmbComTransactionResponse {
            DummyResponse() {
                super();
            }
    
            // Expose protected/private fields for testing
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12K bytes
    - Click Count (0)
Back to Top