Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 87 for justru (0.49 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            String stringRep = transformHeader.toString();
    
            // Then
            assertNotNull(stringRep);
            assertTrue(stringRep.contains("Smb2TransformHeader"));
            // toString() implementation may vary, just check it's not null and not empty
            assertFalse(stringRep.isEmpty());
        }
    
        @Test
        @DisplayName("Should generate correct associated data for AEAD")
        void testGetAssociatedData() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

        void testToString() {
            SmbResourceLocatorImpl l = locator("smb://server/share");
            String s = l.toString();
            assertTrue(s.startsWith("smb://server/share"));
            // The toString() format may vary, just check it includes the URL
            assertNotNull(s);
        }
    
        @Test
        @DisplayName("updateType overrides computed type until changed")
        void testUpdateType() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java

            int bytesWritten2 = netShareEnum.writeParametersWireFormat(dst2, 100);
    
            // Same number of bytes should be written
            assertEquals(bytesWritten1, bytesWritten2);
    
            // Data should be the same, just at different offsets
            for (int i = 0; i < bytesWritten1; i++) {
                assertEquals(dst1[i], dst2[100 + i]);
            }
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFileOutputStream.java

         */
    
        @Override
        public void write(final byte[] b, final int off, final int len) throws IOException {
            writeDirect(b, off, len, 0);
        }
    
        /**
         * Just bypasses TransWaitNamedPipe - used by DCERPC bind.
         *
         * @param b the byte array containing the data to write
         * @param off the start offset in the data
         * @param len the number of bytes to write
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            // Execute send - should retry after transport error
            try {
                c.send(loc, req, resp, EnumSet.noneOf(RequestParam.class));
            } catch (Exception e) {
                // It's ok if it fails, we just want to verify reset was called
            }
    
            // Request/response reset should happen on retry
            verify(req, atLeastOnce()).reset();
            verify(resp, atLeastOnce()).reset();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                    case RESOLVER_LMHOSTS:
                        final NbtAddress ans = Lmhosts.getByName(name);
                        if (ans != null) {
                            ans.hostName.srcHashCode = 0; // just has to be different
                                                          // from other methods
                            return ans;
                        }
                        break;
                    case RESOLVER_WINS:
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SID.java

                case SID_TYPE_ALIAS:
                case SID_TYPE_WKN_GRP:
                    final int sid_index = rpc.names.names[si].sid_index;
                    final rpc.unicode_string ustr = rpc.domains.domains[sid_index].name;
                    sids[si].domainName = new UnicodeString(ustr, false).toString();
                    break;
                }
    
                sids[si].acctName = new UnicodeString(rpc.names.names[si].name, false).toString();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

            if (startBracket != -1 && endBracket != -1 && endBracket > startBracket) {
                return transportStr.substring(startBracket + 1, endBracket);
            }
            // Fallback: just use address
            return transport.getRemoteAddress().getHostAddress();
        }
    
        /**
         * Get connection key from address and port
         */
        private String getConnectionKey(Address address, int port) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/UniAddress.java

            } catch (final UnknownHostException uhe) {}
    
            if (ro == null || ro.length() == 0) {
    
                /* No resolveOrder has been specified, use the
                 * default which is LMHOSTS,WINS,BCAST,DNS or just
                 * LMHOSTS,BCAST,DNS if jcifs.smb1.netbios.wins has not
                 * been specified.
                 */
    
                if (nbns == null) {
                    resolveOrder = new int[3];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            when(fh.acquire()).thenReturn(fh);
            lenient().when(fh.isValid()).thenReturn(true);
            lenient().when(fh.getTree()).thenReturn(tree);
            when(fh.getFid()).thenReturn(99);
    
            // Mock send to just echo the provided response instance
            when(tree.send(any(TransTransactNamedPipe.class), any(TransTransactNamedPipeResponse.class), eq(RequestParam.NO_RETRY)))
                    .thenAnswer(inv -> inv.getArgument(1));
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
Back to top