Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 1,247 for nullif (0.04 seconds)

  1. internal/s3select/sql/funceval.go

    	for _, arg := range args {
    		if arg.IsNull() {
    			continue
    		}
    		return arg, nil
    	}
    	return FromNull(), nil
    }
    
    func nullif(v1, v2 *Value) (res *Value, err error) {
    	// Handle Null cases
    	if v1.IsNull() || v2.IsNull() {
    		return v1, nil
    	}
    
    	err = inferTypesForCmp(v1, v2)
    	if err != nil {
    		return nil, err
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  2. cmd/testdata/undeleteable-object.tgz

    !ªPartASizes‘Ñ !¤SizeÑ !¥MTimeÓ É ŸBÏÀ§MetaSys ¼x-minio-internal-inline-dataÄ true§MetaUsr‚¤etagÙ 83a7a4f493d028750df8¬content-type°application/json¡v Î:f ú ¤nullÄÑ—sSGN4ÇÑç>J fN v ªïìŸCÆx Â|è±é´ {"lastUpdate":"2024-04-25T20:31:49.258248Z","objectsCount":0,"versionsCount":0,"deleteMarkersCount":0,"objectsTotalSize":0,"objectsReplicationIn":null,"bucketsCount":1,"bucket multisitea/data/disterasure/xl6/.minio.sys/buckets/bucket/.metadata.bin/xl.meta XL2 Æ } Ä$•Ä Ó É Ñ©XÈÄ Í#| Å Qƒ¤Type ¥V2ObjÞ ¢IDÄ ¤DDirÄ...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 8.7M bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

                return nullify(metadata.getGroupId());
            }
    
            @Override
            public String getArtifactId() {
                return nullify(metadata.getArtifactId());
            }
    
            @Override
            public String getBaseVersion() {
                return nullify(metadata.getVersion());
            }
    
            private String nullify(String str) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

     *
     */
    public class RepositoryUtils {
    
        private static String nullify(String string) {
            return (string == null || string.isEmpty()) ? null : string;
        }
    
        public static org.apache.maven.artifact.Artifact toArtifact(Dependency dependency) {
            if (dependency == null) {
                return null;
            }
    
            org.apache.maven.artifact.Artifact result = toArtifact(dependency.getArtifact());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 04 18:33:16 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  5. schema/index_test.go

    				// Note: Duplicate Columns
    				{Field: &schema.Field{Name: "Name8"}, Collate: "utf8"},
    			},
    		},
    		{
    			Class:  "UNIQUE",
    			Name:   "idx_user_indices_idx_compname_1",
    			Option: "NULLS NOT DISTINCT",
    			Fields: []schema.IndexOption{
    				{Field: &schema.Field{Name: "CompName1", NotNull: true}},
    				{Field: &schema.Field{Name: "CompName2"}},
    			},
    		},
    		{
    			Name: "idx_user_indices_comp_id0",
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Dec 06 02:27:44 GMT 2024
    - 7.9K bytes
    - Click Count (0)
  6. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java

            assertEquals(-1, problem.getColumnNumber());
    
            problem = new DefaultProblem(null, null, null, -1, 42, null);
            assertEquals(42, problem.getColumnNumber());
    
            problem = new DefaultProblem(null, null, null, -1, Integer.MAX_VALUE, null);
            assertEquals(Integer.MAX_VALUE, problem.getColumnNumber());
    
            // this case is not specified, might also return -1
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/PropertyProfileActivatorTest.java

            assertActivation(false, p, newContext(null, null));
    
            p = p.withActivation(Activation.newInstance());
    
            assertActivation(false, p, newContext(null, null));
        }
    
        @Test
        void testWithNameOnlyUserProperty() throws Exception {
            Profile profile = newProfile("prop", null);
    
            assertActivation(true, profile, newContext(newProperties("prop", "value"), null));
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivatorTest.java

            assertActivation(true, profile, newContext(null, newProperties("1.5")));
            assertActivation(true, profile, newContext(null, newProperties("1.5.0")));
            assertActivation(true, profile, newContext(null, newProperties("1.5.0_09")));
            assertActivation(true, profile, newContext(null, newProperties("1.5.0_09-b03")));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JSpecifyNullabilityChangesTest.kt

                    "Constructor com.example.Source(java.util.List): Parameter 0 from null accepting to non-null accepting breaking change."
                )
                assertHasNoWarning()
                assertHasNoInformation()
            }
        }
    
        @Test
        fun `from null array returning to non-null returning is not breaking`() {
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu May 15 17:05:08 GMT 2025
    - 18K bytes
    - Click Count (0)
  10. compat/maven-model/src/main/java/org/apache/maven/model/merge/ModelMerger.java

         *            information along, may be <code>null</code>.
         */
        public void merge(Model target, Model source, boolean sourceDominant, Map<?, ?> hints) {
            Objects.requireNonNull(target, "target cannot be null");
    
            if (source == null) {
                return;
            }
    
            Map<Object, Object> context = new HashMap<>();
            if (hints != null) {
                context.putAll(hints);
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 11:21:39 GMT 2025
    - 99.2K bytes
    - Click Count (0)
Back to Top