Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 90 for justru (2.4 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

                file.send(new TransWaitNamedPipe("\\pipe" + file.unc), new TransWaitNamedPipeResponse());
            }
            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
    - 11K bytes
    - Viewed (0)
  2. src/test/java/jcifs/http/NtlmSspTest.java

            verify(mockResponse, never()).setStatus(any(int.class));
        }
    
        /**
         * Test case for the instance method doAuthentication.
         * It should just delegate to the static authenticate method.
         * @throws IOException
         */
        @Test
        public void testDoAuthentication() throws IOException {
            // Setup: No "Authorization" header to follow a simple path
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.4K bytes
    - Viewed (1)
  3. 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)
  4. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                }
    
                // Verify each context was encoded
                assertTrue(offset > 0);
                // The actual encoded size might be different from size() due to padding
                // Just verify that we encoded something for each context
                for (CreateContextRequest context : contexts) {
                    assertNotNull(context.getName());
                }
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top