Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 292 for getPipe (0.85 sec)

  1. src/test/java/jcifs/ntlmssp/av/AvPairTest.java

            int type = AvPair.MsvAvTimestamp;
            byte[] raw = new byte[] { 0x01, 0x02, 0x03, 0x04 };
            AvPair avPair = new AvPair(type, raw);
    
            assertEquals(type, avPair.getType(), "Type should match the constructor argument.");
            assertArrayEquals(raw, avPair.getRaw(), "Raw data should match the constructor argument.");
    
            // Test with another type and empty raw data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java

            rawData[17] = 0x02;
    
            AvSingleHost avSingleHost = new AvSingleHost(rawData);
    
            assertNotNull(avSingleHost);
            assertEquals(AvPair.MsvAvSingleHost, avSingleHost.getType());
            assertArrayEquals(rawData, avSingleHost.getRaw());
        }
    
        /**
         * Test constructor AvSingleHost(Configuration cfg).
         * Should use the machine ID from the configuration.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java

            assertEquals(8, entries[0].getType()); // TYPE_SHARE
    
            // Verify printer share
            assertEquals("PrinterShare", entries[1].getName());
            assertEquals(32, entries[1].getType()); // TYPE_PRINTER (0x20)
    
            // Verify named pipe
            assertEquals("PipeShare", entries[2].getName());
            assertEquals(16, entries[2].getType()); // TYPE_NAMED_PIPE
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  4. cmd/data-usage_test.go

    		{name: "dir1/dira/dbfile", size: 200000},
    		{name: "dir1/dira/dirasub/dcfile", size: 1000000},
    		{name: "dir1/dira/dirasub/sublevel3/dccccfile", size: 10},
    	}
    	createUsageTestFiles(t, base, bucket, files)
    
    	getSize := func(item scannerItem) (sizeS sizeSummary, err error) {
    		if item.Typ&os.ModeDir == 0 {
    			var s os.FileInfo
    			s, err = os.Stat(item.Path)
    			if err != nil {
    				return
    			}
    			sizeS.totalSize = s.Size()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/ntlmssp/av/AvTimestampTest.java

            SMBUtil.writeInt8(1234567890L, rawBytes, 0); // Example timestamp
            AvTimestamp avTimestamp = new AvTimestamp(rawBytes);
    
            assertNotNull(avTimestamp);
            assertEquals(AvPair.MsvAvTimestamp, avTimestamp.getType());
            assertArrayEquals(rawBytes, avTimestamp.getRaw());
        }
    
        /**
         * Test constructor with long timestamp.
         */
        @Test
        public void testConstructorWithLongTimestamp() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFile.java

        /**
         * Returned by {@link #getType()} if the resource this {@code SmbFile}
         * represents is a server.
         */
        public static final int TYPE_SERVER = 0x04;
        /**
         * Returned by {@link #getType()} if the resource this {@code SmbFile}
         * represents is a share.
         */
        public static final int TYPE_SHARE = 0x08;
        /**
         * Returned by {@link #getType()} if the resource this {@code SmbFile}
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/curl/io/ContentOutputStream.java

        }
    
        @Override
        public File getFile() {
            done = true;
            return super.getFile();
        }
    
        @Override
        public void close() throws IOException {
            try {
                super.close();
            } finally {
                if (!isInMemory() && !done) {
                    final File file = super.getFile();
                    if (file != null) {
                        try {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/action/FessHtmlPathTest.java

            for (Field field : fields) {
                int modifiers = field.getModifiers();
                if (Modifier.isPublic(modifiers) && Modifier.isStatic(modifiers) && Modifier.isFinal(modifiers)) {
                    if (field.getType().equals(HtmlNext.class)) {
                        Object value = field.get(null);
                        assertNotNull("Field " + field.getName() + " should not be null", value);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  9. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/ArtifactNotFoundException.java

            this(
                    message,
                    artifact.getGroupId(),
                    artifact.getArtifactId(),
                    artifact.getVersion(),
                    artifact.getType(),
                    artifact.getClassifier(),
                    null,
                    artifact.getDownloadUrl(),
                    artifact.getDependencyTrail());
        }
    
        protected ArtifactNotFoundException(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            assertEquals(SmbConstants.TYPE_FILESYSTEM, locator("smb://server/share/path").getType());
    
            // Named pipe for IPC$ root
            assertEquals(SmbConstants.TYPE_NAMED_PIPE, locator("smb://server/IPC$/").getType());
    
            // Share when share set but no path
            assertEquals(SmbConstants.TYPE_SHARE, locator("smb://server/share/").getType());
    
            // Workgroup when no authority
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
Back to top