Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2531 - 2540 of 3,758 for null (0.02 sec)

  1. tests/associations_test.go

    		t.Fatalf("should return errors for invalid association, but got nil")
    	}
    }
    
    func TestAssociationNotNullClear(t *testing.T) {
    	type Profile struct {
    		gorm.Model
    		Number   string
    		MemberID uint `gorm:"not null"`
    	}
    
    	type Member struct {
    		gorm.Model
    		Profiles []Profile
    	}
    
    	DB.Migrator().DropTable(&Member{}, &Profile{})
    
    	if err := DB.AutoMigrate(&Member{}, &Profile{}); err != nil {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Feb 08 08:29:09 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/OptionalUtil.java

            // Default constructor
        }
    
        /**
         * Creates an OptionalEntity from a nullable entity.
         *
         * @param <T> the type of the entity
         * @param entity the entity (can be null)
         * @return the OptionalEntity
         */
        public static <T> OptionalEntity<T> ofNullable(final T entity) {
            return OptionalEntity.ofNullable(entity, () -> {});
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            for (int dialect : dialects) {
                assertTrue(dialect >= 0x0300);
            }
        }
    
        @Test
        @DisplayName("Should handle null maximum version")
        void testNullMaximumVersion() {
            // Given
            when(mockConfig.getMaximumVersion()).thenReturn(null);
    
            // When/Then - Should throw NPE based on actual implementation
            assertThrows(NullPointerException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

     * [newFixedLengthSource(0)][newFixedLengthSource] and may skip reading and closing that source.
     */
    class Http1ExchangeCodec(
      /** The client that configures this stream. May be null for HTTPS proxy tunnels. */
      private val client: OkHttpClient?,
      override val carrier: ExchangeCodec.Carrier,
      override val socket: BufferedSocket,
    ) : ExchangeCodec {
      private var state = STATE_IDLE
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (7)
  5. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiItem.java

        }
    
        /**
         * Returns true if the item has been updated.
         *
         * @return True if the item has been updated.
         */
        public boolean isUpdated() {
            return newToken != null;
        }
    
        /**
         * Returns true if the item has been deleted.
         *
         * @return True if the item has been deleted.
         */
        public boolean isDeleted() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/DialectVersionTest.java

            assertThrows(IllegalArgumentException.class, () -> {
                DialectVersion.valueOf("INVALID");
            });
    
            // Test valueOf with null
            assertThrows(NullPointerException.class, () -> {
                DialectVersion.valueOf(null);
            });
        }
    
        @Test
        @DisplayName("Should maintain SMB2 flag consistency")
        void testSMB2FlagConsistency() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java

            String msg = indent + artifact;
            msg += " (";
            if (replacement.getVersion() != null) {
                msg += "applying version: " + replacement.getVersion() + ";";
            }
            if (replacement.getScope() != null) {
                msg += "applying artifactScope: " + replacement.getScope();
            }
            msg += ")";
            logger.debug(msg);
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt

        enableProtocol(Protocol.HTTP_2)
        val credential = basic("jesse", "secret")
        client =
          client
            .newBuilder()
            .authenticator(RecordingOkAuthenticator(credential, null))
            .build()
        val body1 =
          MockSocketHandler()
            .sendResponse("please authenticate!\n")
            .requestIOException()
            .exhaustResponse()
        server.enqueue(
          MockResponse
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerContext.java

        }
    
        /**
         * Removes sitemaps from the thread-local storage and returns them.
         * @return An array of sitemap URLs, or null if none were present.
         */
        public String[] removeSitemaps() {
            final String[] sitemaps = sitemapsLocal.get();
            if (sitemaps != null) {
                sitemapsLocal.remove();
            }
            return sitemaps;
        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/converter/KatakanaToAlphabetConverter.java

                String[] alphabets;
                if (i + 1 < text.length() && convertMap.get(text.substring(i, i + 2)) != null) {
                    alphabets = convertMap.get(text.substring(i, i + 2));
                    i += 2;
                } else {
                    if (convertMap.get(text.substring(i, i + 1)) != null) {
                        alphabets = convertMap.get(text.substring(i, i + 1));
                    } else {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 10.8K bytes
    - Viewed (0)
Back to top