Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1161 - 1170 of 1,677 for Null (0.04 seconds)

  1. compat/maven-model/src/test/java/org/apache/maven/model/RepositoryPolicyTest.java

    class RepositoryPolicyTest {
    
        @Test
        void testHashCodeNullSafe() {
            new RepositoryPolicy().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new RepositoryPolicy().equals(null));
    
            new RepositoryPolicy().equals(new RepositoryPolicy());
        }
    
        @Test
        void testEqualsIdentity() {
            RepositoryPolicy thing = new RepositoryPolicy();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  2. compat/maven-model/src/test/java/org/apache/maven/model/ResourceTest.java

     *
     */
    class ResourceTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Resource().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Resource().equals(null));
    
            new Resource().equals(new Resource());
        }
    
        @Test
        void testEqualsIdentity() {
            Resource thing = new Resource();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  3. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojoExecutionException.java

         *
         * @param cause the cause which is saved for later retrieval by the {@link #getCause()} method.
         *              A {@code null} value is permitted, and indicates that the cause is nonexistent or unknown.
         * @since 3.8.3
         */
        public AbstractMojoExecutionException(Throwable cause) {
            super(cause);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/internal/impl/TestArtifactHandler.java

        }
    
        TestArtifactHandler(String type, String extension) {
            this.type = type;
            this.extension = extension;
        }
    
        @Override
        public String getClassifier() {
            return null;
        }
    
        @Override
        public String getDirectory() {
            return getPackaging() + "s";
        }
    
        @Override
        public String getExtension() {
            return extension;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/repository/TestArtifactHandler.java

        }
    
        TestArtifactHandler(String type, String extension) {
            this.type = type;
            this.extension = extension;
        }
    
        @Override
        public String getClassifier() {
            return null;
        }
    
        @Override
        public String getDirectory() {
            return getPackaging() + "s";
        }
    
        @Override
        public String getExtension() {
            return extension;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  6. tests/test_tutorial/test_query_params/test_tutorial002.py

                                        {
                                            "type": "string",
                                        },
                                        {
                                            "type": "null",
                                        },
                                    ],
                                },
                                "name": "q",
                                "in": "query",
                            },
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  7. migrator/column_type.go

    	if ct.DecimalSizeValue.Valid {
    		return ct.DecimalSizeValue.Int64, ct.ScaleValue.Int64, true
    	}
    	return ct.SQLColumnType.DecimalSize()
    }
    
    // Nullable reports whether the column may be null.
    func (ct ColumnType) Nullable() (nullable bool, ok bool) {
    	if ct.NullableValue.Valid {
    		return ct.NullableValue.Bool, true
    	}
    	return ct.SQLColumnType.Nullable()
    }
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Mar 24 01:31:58 GMT 2022
    - 3.3K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProblemCollector.java

         * @return a new problem collector instance
         */
        @Nonnull
        static <P extends BuilderProblem> ProblemCollector<P> create(@Nullable ProtoSession protoSession) {
            if (protoSession != null
                    && protoSession.getUserProperties().containsKey(Constants.MAVEN_BUILDER_MAX_PROBLEMS)) {
                int limit = Integer.parseInt(protoSession.getUserProperties().get(Constants.MAVEN_BUILDER_MAX_PROBLEMS));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jul 18 17:30:19 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  9. tensorflow/c/c_api_macros_internal.h

                                    ". Found `struct_size` = 0.");            \
        }                                                                     \
      } while (0)
    
    // Macro to verify that the field NAME of STRUCT_OBJ is not null.
    #define TF_VALIDATE_NOT_NULL(STRUCT_NAME, STRUCT_OBJ, NAME)            \
      do {                                                                 \
        if (STRUCT_OBJ.NAME == 0) {                                        \
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Mar 13 17:40:56 GMT 2023
    - 2.5K bytes
    - Click Count (0)
  10. compat/maven-model/src/test/java/org/apache/maven/model/BuildTest.java

     *
     */
    class BuildTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Build().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Build().equals(null));
    
            new Build().equals(new Build());
        }
    
        @Test
        void testEqualsIdentity() {
            Build thing = new Build();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.8K bytes
    - Click Count (0)
Back to Top