- Sort Score
- Num 10 results
- Language All
Results 1051 - 1060 of 4,653 for nullif (0.15 seconds)
-
src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java
// The server name is stored in a protected field without a public getter, so we cannot directly test it. // We can test the public fields that are set. assertEquals(200, dfsRootEnum.level, "The level should be initialized to 200."); assertNotNull(dfsRootEnum.info, "The info struct should not be null.");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.5K bytes - Click Count (0) -
src/test/java/jcifs/DfsResolverTest.java
when(mockConfig.isDfsDisabled()).thenReturn(false); when(mockContext.getCredentials()).thenReturn(mockCredentials); when(mockCredentials.getUserDomain()).thenReturn(null); assertFalse(dfsResolver.isTrustedDomain(mockContext, "anyDomain")); } @Test void testIsTrustedDomain_EmptyUserDomain() throws CIFSException {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/index/SuggestDeleteResponseTest.java
@Test public void test_getTook() throws Exception { SuggestDeleteResponse response = new SuggestDeleteResponse(null, 250); assertEquals(250, response.getTook()); } @Test public void test_hasError() throws Exception { SuggestDeleteResponse response1 = new SuggestDeleteResponse(null, 100); assertFalse(response1.hasError()); List<Throwable> errors = new ArrayList<>();Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Thu Nov 13 00:40:54 GMT 2025 - 3.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/MinMaxPriorityQueue.java
queue[size] = null; return null; } E toTrickle = elementData(size); queue[size] = null; MoveDesc<E> changes = fillHole(index, toTrickle); if (lastElementAt < index) { // Last element is moved to before index, swapped with trickled element. if (changes == null) { // The trickled element is still after index.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 34K bytes - Click Count (0) -
guava/src/com/google/common/base/Preconditions.java
} } /* * Preconditions.checkNotNull is *intended* for performing eager null checks on parameters that a * nullness checker can already "prove" are non-null. That means that the first parameter to * checkNotNull *should* be annotated to require it to be non-null. * * However, for a variety of reasons, Google developers have written a ton of code over the past
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 08 18:10:02 GMT 2026 - 53.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java
public byte[] getContextHandle() { return contextHandle != null ? contextHandle.clone() : null; } /** * Sets the context handle. * * @param contextHandle the context handle */ public void setContextHandle(byte[] contextHandle) { this.contextHandle = contextHandle != null ? contextHandle.clone() : null; } @Override
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 8.6K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
* throw new SecurityException("Path traversal attempt detected"); * } * </pre> * * @param pathToCheck the path to validate (must not be {@literal null}) * @param baseDirectory the base directory that the path must be within (must not be {@literal null}) * @return true if the path is safe (within the base directory), false otherwise */
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 13.2K bytes - Click Count (0) -
src/test/java/jcifs/SmbTreeTest.java
/** * Test for unwrap with null parameter. * Verifies behavior when null is passed to unwrap. */ @Test void testUnwrap_withNullParameter() { when(smbTree.unwrap(null)).thenThrow(new NullPointerException("Type cannot be null")); assertThrows(NullPointerException.class, () -> smbTree.unwrap(null), "Should throw NullPointerException when type is null"); } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractConditionAggregation.java
protected void assertObjectNotNull(String variableName, Object value) { if (variableName == null) { String msg = "The value should not be null: variableName=null value=" + value; throw new IllegalArgumentException(msg); } if (value == null) { String msg = "The value should not be null: variableName=" + variableName; throw new IllegalArgumentException(msg); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 12.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/SsoMessageExceptionTest.java
} @Test public void test_constructor_withAllNullParameters() { // Execute final SsoMessageException exception = new SsoMessageException(null, null, null); // Verify assertNotNull(exception); assertNull(exception.getMessage()); assertNull(exception.getCause()); assertNull(exception.getMessageCode()); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10.9K bytes - Click Count (0)