Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for emptyArray (0.19 sec)

  1. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

            final String[] emptyArray = new String[0];
            assertThat(ArrayUtil.addAll((Object[]) null, (Object[]) null), is(nullValue()));
            assertThat(ArrayUtil.addAll(null, emptyArray).length, is(0));
            assertThat(ArrayUtil.addAll(emptyArray, null), is(sameInstance(emptyArray)));
            assertThat(ArrayUtil.addAll(emptyArray, null), is(sameInstance(emptyArray)));
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/OrderingTest.java

        final Ordering<T> ordering;
        final List<T> strictlyOrderedList;
        final T[] emptyArray;
    
        Scenario(Ordering<T> ordering, List<T> strictlyOrderedList, T[] emptyArray) {
          this.ordering = ordering;
          this.strictlyOrderedList = strictlyOrderedList;
          this.emptyArray = emptyArray;
        }
    
        void testCompareTo() {
          Helpers.testComparator(ordering, strictlyOrderedList);
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Mar 07 18:34:03 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/AbstractValueProcessor.java

            Class<?> componentType = value.getClass().getComponentType();
            int length = Array.getLength(value);
            if (length == 0) {
                return visitor.emptyArray(componentType);
            }
            if (componentType.isPrimitive()) {
                return visitor.primitiveArray(value);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 19:08:37 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/GroovyInteroperabilityTest.kt

            }
            assertThat(builderResult, sameInstance(expectedBuilderResult))
    
            verify(delegate).invokeMethod(eq("nest"), any())
            verify(nestedDelegate).invokeMethod("nestedInvocation", emptyArray<Any>())
        }
    
        interface NonGroovyObject {
            val existingProperty: String
            fun withKeywordArguments(args: Map<String, Any?>): Any?
        }
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheProblems.kt

        private
        fun hasTooManyProblems(summary: Summary) =
            summary.nonSuppressedProblemCount > startParameter.maxProblems
    
        private
        fun log(msg: String, vararg args: Any = emptyArray()) {
            logger.warn(msg, *args)
        }
    
        private
        val logger = Logging.getLogger(ConfigurationCacheProblems::class.java)
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:04:02 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. src/syscall/js/js_test.go

    	someInt: 42,
    	someFloat: 42.123,
    	someArray: [41, 42, 43],
    	someDate: new Date(),
    	add: function(a, b) {
    		return a + b;
    	},
    	zero: 0,
    	stringZero: "0",
    	NaN: NaN,
    	emptyObj: {},
    	emptyArray: [],
    	Infinity: Infinity,
    	NegInfinity: -Infinity,
    	objNumber0: new Number(0),
    	objBooleanFalse: new Boolean(false),
    })`)
    
    //go:wasmimport _gotest add
    func testAdd(uint32, uint32) uint32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 14:35:26 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  7. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/compilerFacility/AbstractCompilerFacilityTest.kt

                    )
                }
            }
        }
    
        open fun extraCustomRuntimeClasspathProviders(): Array<Constructor<RuntimeClasspathProvider>> = emptyArray()
    
        override fun configureTest(builder: TestConfigurationBuilder) {
            super.configureTest(builder)
            with(builder) {
                useDirectives(Directives)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/io/TraversalUtil.java

     * @see ClassTraversalUtil
     * @see ResourceTraversalUtil
     */
    public abstract class TraversalUtil {
    
        /** 空の{@link Traverser}の配列です。 */
        protected static final Traverser[] EMPTY_ARRAY = new Traverser[0];
    
        private static final Logger logger = Logger.getLogger(TraversalUtil.class);
    
        /** URLのプロトコルをキー、{@link TraverserFactory}を値とするマッピングです。 */
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  9. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/configurators/AnalysisApiBaseTestServiceRegistrar.kt

                        return arrayOf(it)
                    }
                }
                return PsiClass.EMPTY_ARRAY
            }
        }
    
        override fun registerProjectModelServices(project: MockProject, disposable: Disposable, testServices: TestServices) {
            val moduleStructure = testServices.ktTestModuleStructure
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableCollection.java

        return Spliterators.spliterator(this, SPLITERATOR_CHARACTERISTICS);
      }
    
      private static final Object[] EMPTY_ARRAY = {};
    
      @Override
      @J2ktIncompatible // Incompatible return type change. Use inherited (unoptimized) implementation
      public final Object[] toArray() {
        return toArray(EMPTY_ARRAY);
      }
    
      @CanIgnoreReturnValue
      @Override
      /*
       * This suppression is here for two reasons:
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 18.7K bytes
    - Viewed (0)
Back to top