Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 131 for minimally (0.04 sec)

  1. CONTRIBUTING.md

    + Respect the original code style: by using the same [codestyle][code-style],
      patches should only highlight the actual difference, not being disturbed by any formatting issues:
      + Only use spaces for indentation.
      + Create minimal diffs - disable on save actions like reformat source code or organize imports.
        If you feel the source code should be reformatted, create a separate PR for this change.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Jun 07 09:55:33 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

    class SmbTreeConnectionTraceTest {
    
        // Helper to build a minimal smb URL
        private static URL smbUrl(String spec) {
            try {
                return new URL(null, spec, new Handler());
            } catch (MalformedURLException e) {
                throw new AssertionError("Failed to create SMB URL: " + spec, e);
            }
        }
    
        // Utility to build a minimal locator for connect tests
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  4. 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;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/ShareEnumIteratorTest.java

            // Valid share URL with trailing slash; constructing does not perform I/O
            return new SmbFile("smb://test-server/share/");
        }
    
        // Helper to create a minimal FileEntry mock
        private FileEntry entry(String name, int type) {
            FileEntry e = mock(FileEntry.class);
            when(e.getName()).thenReturn(name);
            when(e.getType()).thenReturn(type);
            return e;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/CredentialsInternalTest.java

                // These methods do not throw and allow interaction checks.
                tc.getConfig();
                tc.getCredentials();
    
                // Minimal behavior: return a mock SSPContext with lenient stubbing
                SSPContext ctx = mock(SSPContext.class);
                lenient().when(ctx.isEstablished()).thenReturn(false);
                return ctx;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. docs/compression/README.md

    which is a fitness factor for a lossless data compression.
    
    Pre-compressed input typically compresses in excess of 2GiB/s per core,
    so performance impact should be minimal even if precompressed data is re-compressed.
    Decompressing incompressible data has no significant performance impact.
    
    Below is a list of common files and content-types which are typically not suitable for compression.
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

    class Kerb5AuthenticatorTest {
    
        @Mock
        CIFSContext tc;
    
        @Mock
        Configuration config;
    
        private static byte[] spnegoInitWithMechs(ASN1ObjectIdentifier... mechs) {
            // Build a minimal SPNEGO NegTokenInit containing the provided mechanisms
            NegTokenInit tok = new NegTokenInit(mechs, 0, null, null);
            return tok.toByteArray();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  10. src/cmd/addr2line/main.go

    // Copyright 2012 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Addr2line is a minimal simulation of the GNU addr2line tool,
    // just enough to support pprof.
    //
    // Usage:
    //
    //	go tool addr2line binary
    //
    // Addr2line reads hexadecimal addresses, one per line and with optional 0x prefix,
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Jun 21 19:58:04 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top