Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 351 - 360 of 1,684 for varray2 (0.17 seconds)

  1. src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java

        class WriteParameterWords {
    
            @Test
            @DisplayName("Returns 0 with null array")
            void nullArray() {
                assertEquals(0, response.writeParameterWordsWireFormat(null, 0));
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0, 5, 9 })
            @DisplayName("Returns 0 with valid array and various indices")
            void nonNullArray(int index) {
                byte[] arr = new byte[10];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java

                samr.SamrSamArray array = new samr.SamrSamArray();
                array.count = 0;
                array.entries = null;
    
                // When: Encoding array
                array.encode(mockNdrBuffer);
    
                // Then: Should encode null referent
                verify(mockNdrBuffer).align(4);
                verify(mockNdrBuffer).enc_ndr_long(0);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 33.6K bytes
    - Click Count (0)
  3. build-tools-internal/src/test/java/org/elasticsearch/gradle/AbstractDistributionDownloadPluginTests.java

        protected static final BwcVersions BWC_MINOR = new BwcVersions(
            new TreeSet<>(Arrays.asList(BWC_BUGFIX_VERSION, BWC_MINOR_VERSION, BWC_MAJOR_VERSION)),
            BWC_MAJOR_VERSION
        );
        protected static final BwcVersions BWC_STAGED = new BwcVersions(
            new TreeSet<>(Arrays.asList(BWC_STAGED_VERSION, BWC_MINOR_VERSION, BWC_MAJOR_VERSION)),
            BWC_MAJOR_VERSION
        );
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 22 07:24:59 GMT 2021
    - 4.7K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/entity/FacetInfoTest.java

            String result = facetInfo.toString();
            assertEquals("FacetInfo [field=null, query=null, size=null, minDocCount=null, sort=null, missing=null]", result);
        }
    
        // Test toString method with empty arrays
        @Test
        public void test_toString_emptyArrays() {
            facetInfo.field = new String[0];
            facetInfo.query = new String[0];
    
            String result = facetInfo.toString();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/SimpleCommandLineArgumentProvider.java

     * Side Public License, v 1.
     */
    
    package org.elasticsearch.gradle.internal.test;
    
    import org.gradle.process.CommandLineArgumentProvider;
    
    import java.util.Arrays;
    import java.util.List;
    
    /**
     * A {@link CommandLineArgumentProvider} implementation that simply returns the given list. This implementation does not track any
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.1K bytes
    - Click Count (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureExtendedTrustManager.kt

      override fun getAcceptedIssuers(): Array<X509Certificate> = delegate.acceptedIssuers
    
      override fun checkServerTrusted(
        chain: Array<out X509Certificate>,
        authType: String,
        socket: Socket,
      ) {
        if (socket.peerName() !in insecureHosts) {
          delegate.checkServerTrusted(chain, authType, socket)
        }
      }
    
      override fun checkServerTrusted(
        chain: Array<out X509Certificate>,
        authType: String,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  7. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

      }
    
      /**
       * Returns an array containing all of the elements in this queue, in proper sequence; the runtime
       * type of the returned array is that of the specified array. If the queue fits in the specified
       * array, it is returned therein. Otherwise, a new array is allocated with the runtime type of the
       * specified array and the size of this queue.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 22.4K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/WebFsIndexHelperTest.java

            } catch (Exception e) {
                assertTrue(true);
            }
        }
    
        @Test
        public void test_crawl_withBothConfigs() {
            List<String> webConfigIds = Arrays.asList("webConfig1");
            List<String> fileConfigIds = Arrays.asList("fileConfig1");
    
            // Mock CrawlingConfigHelper
            CrawlingConfigHelper crawlingConfigHelper = new CrawlingConfigHelper() {
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

        else -> (this as java.util.Collection<*>).toArray().asList().unmodifiable() as List<T>
      }
    
    /** Returns an immutable list containing [elements]. */
    @SafeVarargs
    internal fun <T> immutableListOf(vararg elements: T): List<T> = elements.toImmutableList()
    
    /** Returns an immutable list from copy of this. */
    internal fun <T> Array<out T>?.toImmutableList(): List<T> =
      when {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 10.3K bytes
    - Click Count (1)
  10. src/main/java/org/codelibs/core/misc/AssertionUtil.java

         * Asserts that the argument is neither <code>null</code> nor an empty array.
         *
         * @param argName
         *            The name of the argument that must not be {@code null} or an empty array.
         * @param argValue
         *            The value of the argument.
         * @throws EmptyArgumentException
         *             If the argument is <code>null</code> or an empty array.
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 12.5K bytes
    - Click Count (0)
Back to Top