- Sort Score
- Num 10 results
- Language All
Results 921 - 930 of 4,653 for nullif (0.04 seconds)
-
src/main/java/org/codelibs/core/security/MessageDigestUtil.java
* The algorithm. Must not be {@literal null} or an empty string. * @param text * The string to be hashed. * @return The hashed string. */ public static String digest(final String algorithm, final String text) { assertArgumentNotEmpty("algorithm", algorithm); if (text == null) { return null; }Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 3.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java
this.primaryDomain = a.getUserDomain() != null ? a.getUserDomain().toUpperCase() : "?"; if (server.encryptedPasswords) { this.lmHash = a.getAnsiHash(tc, server.encryptionKey); this.ntHash = a.getUnicodeHash(tc, server.encryptionKey); // prohibit HTTP auth attempts for the null session
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java
authenticator = new NtlmPasswordAuthenticator("DOMAIN", "username", (String) null); assertNull(authenticator.getPassword(), "getPassword should return null for null password"); assertNull(authenticator.getPasswordAsCharArray(), "getPasswordAsCharArray should return null for null password"); // secureWipePassword should not throw exception authenticator.secureWipePassword();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/FluentIterable.java
// To avoid a self retain cycle under j2objc, we store null instead of // a reference to 'this'. To access the delegate iterable, call #getDelegate(), which converts // null back to 'this'. private final @Nullable Iterable<E> iterableDelegate; /** Constructor for use by subclasses. */ protected FluentIterable() { this.iterableDelegate = null; } FluentIterable(Iterable<E> iterable) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 34.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/FluentIterable.java
// To avoid a self retain cycle under j2objc, we store null instead of // a reference to 'this'. To access the delegate iterable, call #getDelegate(), which converts // null back to 'this'. private final @Nullable Iterable<E> iterableDelegate; /** Constructor for use by subclasses. */ protected FluentIterable() { this.iterableDelegate = null; } FluentIterable(Iterable<E> iterable) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 34.7K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt
private var testClient: OkHttpClient? = null private var uncaughtException: Throwable? = null private lateinit var testName: String private var defaultUncaughtExceptionHandler: Thread.UncaughtExceptionHandler? = null private var taskQueuesWereIdle: Boolean = false private val connectionListener = RecordingConnectionListener() var logger: Logger? = null var recordEvents = true var recordTaskRunner = false
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 10.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java
e.getLocation().getColumnNumber(), e); } } private boolean isStrict(Map<String, ?> options) { Object value = (options != null) ? options.get(IS_STRICT) : null; return value == null || Boolean.parseBoolean(value.toString()); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.9K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java
assertNotNull(avFlags, "AvFlags object should not be null"); assertEquals(0x04030201, avFlags.getFlags(), "Flags should match the raw bytes (little-endian)"); // Test with zero byte[] zeroBytes = new byte[] { 0x00, 0x00, 0x00, 0x00 }; AvFlags zeroAvFlags = new AvFlags(zeroBytes); assertNotNull(zeroAvFlags, "AvFlags object should not be null for zero bytes");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java
} @Test @DisplayName("should handle null policy handle") void testNullPolicyHandleHandled() { // Act & Assert - The constructor accepts null policy handle without throwing assertDoesNotThrow(() -> new MsrpcSamrConnect2("\\\\srv", 0, null)); } @Test @DisplayName("should handle empty string as system name")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt
var exception: String? = null if (wildcardMatch != null) { for (labelIndex in 0 until domainLabelsUtf8Bytes.size - 1) { val rule = publicSuffixList.exceptionBytes.binarySearch( domainLabelsUtf8Bytes, labelIndex, ) if (rule != null) { exception = rule break } }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jul 28 07:33:49 GMT 2025 - 8.5K bytes - Click Count (0)