Search Options

Results per page
Sort
Preferred Languages
Advance

Results 711 - 720 of 1,393 for Create (0.06 sec)

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

                // Given: Original value that fits in byte range
                int originalValue = 150;
                NdrShort ndrShort1 = new NdrShort(originalValue);
    
                // Create separate mocks for encoding and decoding to simulate real buffer
                NdrBuffer encodeBuffer = mock(NdrBuffer.class);
                NdrBuffer decodeBuffer = mock(NdrBuffer.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  2. cmd/endpoint-ellipses_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"fmt"
    	"reflect"
    	"testing"
    
    	"github.com/minio/pkg/v3/ellipses"
    )
    
    // Tests create endpoints with ellipses and without.
    func TestCreateServerEndpoints(t *testing.T) {
    	testCases := []struct {
    		serverAddr string
    		args       []string
    		success    bool
    	}{
    		// Invalid input.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. README.md

    ```
    
    ## 🤝 Contributing
    
    We welcome contributions! Please see our contributing guidelines for details.
    
    ### Development Workflow
    1. **Fork** the repository on GitHub
    2. **Create** your feature branch: `git checkout -b feature/amazing-feature`
    3. **Follow** the coding standards: `mvn formatter:format`
    4. **Add** comprehensive tests for new functionality
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

            }
    
            @Test
            @DisplayName("Should verify correct interface hierarchy")
            void testInterfaceHierarchy() {
                // Create instances
                SmbInfoAllocation smbInfo = new SmbInfoAllocation();
                FileFsSizeInformation sizeInfo = new FileFsSizeInformation();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SID.java

            try {
                EVERYONE = new SID("S-1-1-0");
                CREATOR_OWNER = new SID("S-1-3-0");
                SYSTEM = new SID("S-1-5-18");
            } catch (final SmbException se) {
                log.error("Failed to create builtin SIDs", se);
            }
        }
    
        /**
         * Convert a sid_t to byte array
         *
         * @param sid the RPC sid_t structure to convert
         * @return byte encoded form
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

            }
        }
    
        @Test
        @DisplayName("Should evict oldest leases when max limit reached")
        void testMaxLeaseEviction() throws InterruptedException {
            // Create a context with low max lease limit
            Configuration limitedConfig = mock(Configuration.class);
            CIFSContext limitedContext = mock(CIFSContext.class);
            when(limitedContext.getConfig()).thenReturn(limitedConfig);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

        }
    
        @Test
        @DisplayName("Test implementation with concrete mock")
        void testConcreteImplementation() throws SMBProtocolDecodingException {
            // Create a concrete implementation for testing
            CommonServerMessageBlock concreteBlock = new CommonServerMessageBlock() {
                private long mid;
                private int command;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/NetbiosAddress.java

     * name resolution and session services are handled internally by the smb package.
     *
     *
     *  * Applications can use the methods <code>getLocalHost</code>,
     * <code>getByName</code>, and
     * <code>getAllByAddress</code> to create a new NbtAddress instance. This
     * class is symmetric with {@link java.net.InetAddress}.
     *
     *
     *  * <b>About NetBIOS:</b> The NetBIOS name
     * service is a dynamic distributed service that allows hosts to resolve
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java

        }
    
        @Test
        void testChannelFailover() throws Exception {
            // Test failover mechanism
            ChannelFailover failover = new ChannelFailover(channelManager);
    
            // Create a channel
            InetAddress addr = InetAddress.getByName("192.168.1.100");
            NetworkInterfaceInfo nic = new NetworkInterfaceInfo(addr, 445);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

                outputBufferLengthField.setAccessible(true);
                outputBufferLengthField.set(request, 0x8000);
    
                // Create a buffer and write
                byte[] buffer = new byte[256];
                int bytesWritten = request.writeBytesWireFormat(buffer, 64);
    
                // Verify structure size (should be 41)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
Back to top