Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1251 - 1260 of 4,653 for nullif (0.07 seconds)

  1. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                            Item l = left.hasNext() ? left.next() : null;
                            Item r = right.hasNext() ? right.next() : null;
    
                            // if this is shorter, then invert the compare and mul with -1
                            int result = l == null ? (r == null ? 0 : -1 * r.compareTo(l)) : l.compareTo(r);
    
                            if (result != 0) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 26.4K bytes
    - Click Count (0)
  2. guava/src/com/google/common/base/Equivalence.java

       * {@link Equivalence#equivalent} returns {@code true} if both values are null, or if neither
       * value is null and {@link Object#equals} returns {@code true}. {@link Equivalence#hash} returns
       * {@code 0} if passed a null value.
       *
       * @since 13.0
       * @since 8.0 (in Equivalences with null-friendly behavior)
       * @since 4.0 (in Equivalences)
       */
      public static Equivalence<Object> equals() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 10 01:47:55 GMT 2025
    - 15K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java

            // Test with null classification name
            try {
                provider.provide(null);
                fail("Should throw exception for null classification name");
            } catch (ProvidedClassificationNotFoundException e) {
                // expected
                assertTrue(e.getMessage().contains("Not found the classification: null"));
            } catch (NullPointerException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SpnegoContext.java

                        && targ.getMechanismListMIC() != null) {
                    // this indicates that mechlistMIC is required by the server
                    verifyMechListMIC(targ.getMechanismListMIC());
                    return new NegTokenTarg(NegTokenTarg.UNSPECIFIED_RESULT, null, null, calculateMechListMIC());
                }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/cors/CorsHandlerFactoryTest.java

        }
    
        @Test
        public void test_add_nullOrigin() {
            // Setup
            TestCorsHandler handler = new TestCorsHandler("null-origin-handler");
    
            // Execute
            corsHandlerFactory.add(null, handler);
            CorsHandler result = corsHandlerFactory.get(null);
    
            // Verify
            assertNotNull(result);
            assertEquals(handler, result);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt

          codePoint == '%'.code &&
          (!alreadyEncoded || strict && !input.isPercentEncoded(i, limit))
        ) {
          // Percent encode this character.
          if (encodedCharBuffer == null) {
            encodedCharBuffer = Buffer()
          }
    
          if (charset == null || charset == Charsets.UTF_8) {
            encodedCharBuffer.writeUtf8CodePoint(codePoint)
          } else {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.java

                _dst.enc_ndr_referent(stores, 1);
    
                if (path != null) {
                    _dst = _dst.deferred;
                    _dst.enc_ndr_string(path);
    
                }
                if (comment != null) {
                    _dst = _dst.deferred;
                    _dst.enc_ndr_string(comment);
    
                }
                if (stores != null) {
                    _dst = _dst.deferred;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  8. src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java

            // Simulate successful RPC call
            doAnswer(invocation -> {
                MsrpcSamrOpenDomain rpc = invocation.getArgument(0);
                rpc.retval = 0; // Success
                return null;
            }).when(mockDcerpcHandle).sendrecv(any(MsrpcSamrOpenDomain.class));
    
            // Act
            SamrDomainHandle handle = new SamrDomainHandle(mockDcerpcHandle, mockPolicyHandle, access, mockSid);
    
            // Assert
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsSqlClause.java

            return null;
        }
    
        @Override
        protected String createFromHint() {
            return null;
        }
    
        @Override
        protected String createSqlSuffix() {
            return null;
        }
    
        @Override
        public void fetchFirst(int fetchSize) {
            _fetchScopeEffective = true;
            if (fetchSize < 0) {
                String msg = "Argument[fetchSize] should be plus: " + fetchSize;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 2K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java

            // Test constructor with null message
            ThumbnailGenerationException exception = new ThumbnailGenerationException(null);
    
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        @Test
        public void test_constructorWithNullMessageAndCause() {
            // Test constructor with null message and null cause
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.3K bytes
    - Click Count (0)
Back to Top