Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for arbitrarily (1.36 sec)

  1. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

                    return 33;
                }
            };
            byte[] buf = new byte[128];
            buf[33] = 4; // wordCount
            buf[34] = 0x55; // andxCommand != 0xFF
            // andxOffset arbitrarily > 0
            ServerMessageBlock.writeInt2(80, buf, 36);
            // byteCount position: 33 + 1 + 8 = 42
            ServerMessageBlock.writeInt2(0, buf, 42);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

        void createContext_noKerberosNoFallback_throws() throws CIFSException {
            Kerb5Authenticator auth = new Kerb5Authenticator((Subject) null);
    
            // Build a token with an arbitrary non-kerberos mechanism OID
            ASN1ObjectIdentifier unsupported = new ASN1ObjectIdentifier("1.2.3.4.5");
            byte[] init = spnegoInitWithMechs(unsupported);
    
            // Host is a FQDN to pass the short-name check
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbSession.java

            final SmbTransport trans = SmbTransport.getSmbTransport(dc, port);
            trans.connect();
            return trans.server.encryptionKey;
        }
    
        /**
         * Authenticate arbitrary credentials represented by the
         * <code>NtlmPasswordAuthentication</code> object against the domain controller
         * specified by the <code>UniAddress</code> parameter. If the credentials are
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbTransportInternalTest.java

            when(transport.disconnect(anyBoolean(), anyBoolean())).thenAnswer(inv -> {
                boolean h = inv.getArgument(0);
                boolean u = inv.getArgument(1);
                // Arbitrary behavior mapping for test purposes
                return (h && !u) || (!h && u);
            });
    
            boolean result = transport.disconnect(hard, inuse);
    
            assertEquals(expected, result);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            byte[] fileId = new byte[16];
            Arrays.fill(fileId, (byte) 0xCC);
    
            byte[] header = buildSmb2Header();
            int ctxOffsetFromHeader = 256; // arbitrary aligned location beyond header
            byte[] baseBody = buildCreateBodyWithContext(fileId, ctxOffsetFromHeader);
    
            // Build actual context bytes matching the pointers inside baseBody
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            largeDescriptor[3] = 0;
            // Set offsets to 0 (no owner, group, sacl, dacl)
            for (int i = 4; i < 20; i++) {
                largeDescriptor[i] = 0;
            }
            // Rest of the buffer can be arbitrary
            for (int i = 20; i < largeDescriptor.length; i++) {
                largeDescriptor[i] = (byte) (i % 256);
            }
            info502.security_descriptor = largeDescriptor;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
Back to top