Search Options

Results per page
Sort
Preferred Languages
Advance

Results 791 - 800 of 1,446 for set1 (0.02 sec)

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

         * @throws Exception
         */
        @Test
        public void testSetArrayValue() throws Exception {
            final Object o = Array.newInstance(int.class, 3);
            Array.set(o, 0, Integer.valueOf(1));
            Array.set(o, 1, Integer.valueOf(2));
            Array.set(o, 2, Integer.valueOf(3));
            final int[] num = (int[]) o;
            assertArrayEquals(new int[] { 1, 2, 3 }, num);
        }
    
        /**
         * @throws Exception
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

        }
    
        @Test
        @DisplayName("Test encode with valid data")
        void testEncodeWithValidData() throws SMBProtocolDecodingException {
            // First decode to set internal state
            byte[] sourceBuffer = new byte[8];
            long expectedIndexNumber = 0x0123456789ABCDEFL;
            SMBUtil.writeInt8(expectedIndexNumber, sourceBuffer, 0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

            void testDecodeWithOffset() throws SMBProtocolDecodingException {
                byte[] buffer = new byte[100];
                int offset = 50;
    
                // Set data at offset
                buffer[offset + 16] = 0x04; // sectPerAlloc
                buffer[offset + 20] = 0x00;
                buffer[offset + 21] = 0x02; // bytesPerSect
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. src/main/assemblies/files/fess.in.sh

    #FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Djavax.net.ssl.trustStore=/tech/elastic/config/truststore.jks"
    #FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Djavax.net.ssl.trustStorePassword=changeit"
    
    # min and max heap sizes should be set to the same value to avoid
    # stop-the-world GC pauses during resize, and so that we can lock the
    # heap in memory on startup to prevent any of it from being swapped
    # out.
    FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Xms${FESS_MIN_MEM}"
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 03:48:59 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/FakeRoutePlanner.kt

        if (nextPlanIndex >= plans.size && autoGeneratePlans) addPlan()
    
        require(nextPlanIndex < plans.size) {
          "not enough plans! call addPlan() or set autoGeneratePlans=true in the test to set this up"
        }
        val result = plans[nextPlanIndex++]
        events += "take plan ${result.id}"
    
        if (result.yieldBeforePlanReturns) {
          taskFaker.yield()
        }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableMapEntry.java

       * be upcast back to ImmutableMapEntry[] (or Object[], etc.), or allowed to escape the class.
       *
       * <p>The returned array has all its elements set to their initial null values. However, we don't
       * declare it as {@code @Nullable ImmutableMapEntry[]} because our checker doesn't require newly
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 21:42:29 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.collect.ImmutableSet;
    import java.lang.reflect.Method;
    import java.lang.reflect.Modifier;
    import java.net.URLClassLoader;
    import java.util.Set;
    import java.util.concurrent.atomic.AtomicReferenceFieldUpdater;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/ResponseCommonTest.kt

      }
    
      @Test fun negativeStatusCodeThrowsIllegalStateException() {
        assertFailsWith<IllegalStateException> {
          newResponse(responseBody("set status code -1"), -1)
        }
      }
    
      @Test fun zeroStatusCodeIsValid() {
        val response = newResponse(responseBody("set status code 0"), 0)
        assertThat(response.code).isEqualTo(0)
      }
    
      @Test fun defaultResponseBodyIsEmpty() {
        val response =
          Response
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/DosFileFilterTest.java

    class DosFileFilterTest {
    
        @Mock
        private SmbFile mockFile;
    
        private DosFileFilter dosFileFilter;
    
        @BeforeEach
        void setUp() {
            // Basic setup, specific filter attributes will be set in each test
        }
    
        /**
         * Tests the constructor of DosFileFilter.
         * This test ensures that the constructor runs without errors and correctly initializes the object.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

        /** Map from method name to array of {@link MethodDesc} */
        protected final Map<String, MethodDesc[]> methodDescsCache = newHashMap();
    
        /** Set of invalid property names */
        protected final Set<String> invalidPropertyNames = newHashSet();
    
        /**
         * Creates a {@link BeanDescImpl}.
         *
         * @param beanClass
         *            the class of the bean. Must not be {@literal null}
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 25.8K bytes
    - Viewed (1)
Back to top