- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 255 for Netzer (0.04 sec)
-
src/main/java/jcifs/smb/compression/DefaultCompressionService.java
int uniqueBytes = countUniqueBytes(data); double entropy = (double) uniqueBytes / 256.0; // Estimate compression ratio based on entropy // Lower entropy = better compression return 0.3 + (entropy * 0.6); // Range from 30% to 90% } @Override public int getMinCompressionSize() { return MIN_COMPRESSION_SIZE; } @Override
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java
} } @Test void testConstructorAndGettersWithValidTicket() throws IOException, GeneralSecurityException, PACDecodingException { // Test successful instantiation and getter methods with a valid ticket byte[] validToken = createTestTicketBytes(new BigInteger(KerberosConstants.KERBEROS_VERSION), SERVER_REALM, SERVER_PRINCIPAL_NAME, ENCRYPTION_TYPE, ENCRYPTED_DATA, null);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/GeneralRange.java
* Range}, this allows the use of an arbitrary comparator. This is designed for use in the * implementation of subcollections of sorted collection types. * * <p>Whenever possible, use {@code Range} instead, which is better supported. * * @author Louis Wasserman */ @GwtCompatible final class GeneralRange<T extends @Nullable Object> implements Serializable { /** Converts a Range to a GeneralRange. */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
assertTrue(bytesRead > 0); assertEquals(numReferrals, response.getDfsResponse().getNumReferrals()); } } @Nested @DisplayName("DfsResponse Getter Tests") class DfsResponseGetterTests { @Test @DisplayName("Should return same DfsResponse instance") void testGetDfsResponseReturnsSameInstance() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java
if (config.isEncryptionEnabled()) { // Build cipher list based on AES-256 support List<Integer> ciphers = new ArrayList<>(); // Prefer GCM over CCM for better performance if (config.isAES256Enabled()) { ciphers.add(EncryptionNegotiateContext.CIPHER_AES256_GCM); ciphers.add(EncryptionNegotiateContext.CIPHER_AES256_CCM);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
private SmbFile createMockSmbFile(String url, NtlmPasswordAuthentication auth) throws MalformedURLException { // This is complex due to the class structure. A better approach would be // to refactor SmbFile to be more testable (e.g., dependency injection). // For now, we test methods that don't require deep mocks. return new SmbFile(url, auth); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedMultiset.java
} /** * Not supported. Use {@link #naturalOrder}, which offers better type-safety, instead. This method * exists only to hide {@link ImmutableMultiset#builder} from consumers of {@code * ImmutableSortedMultiset}. * * @throws UnsupportedOperationException always * @deprecated Use {@link ImmutableSortedMultiset#naturalOrder}, which offers better type-safety. */ @DoNotCall("Use naturalOrder.") @DeprecatedRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 29.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java
this.rawPayload = payload; } public byte[] getRawPayload() { return rawPayload; } // Helper method to set credit since parent's setter is final public void setCreditForTest(int credit) { setCredit(credit); } @Override public Smb2SigningDigest getDigest() { return digest; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
"Should throw DcerpcException for missing endpoint"); } } @Nested @DisplayName("Getter Method Tests") class GetterTests { @Test @DisplayName("Should return correct transport context") void testGetTransportContext() throws Exception {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Context.java
MIEName targ = new MIEName(this.gssContext.getTargName().export()); ASN1ObjectIdentifier mech = ASN1ObjectIdentifier.getInstance(this.gssContext.getMech().getDER()); for (KerberosTicket ticket : subject.getPrivateCredentials(KerberosTicket.class)) { MIEName client = new MIEName(mech, ticket.getClient().getName());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13.5K bytes - Viewed (1)