Search Options

Results per page
Sort
Preferred Languages
Advance

Results 951 - 960 of 1,274 for arrayOf (0.04 sec)

  1. src/test/java/jcifs/util/transport/TransportTest.java

                byte[] buffer = new byte[20];
    
                int bytesRead = Transport.readn(is, buffer, 0, 5);
                assertEquals(5, bytesRead);
                assertArrayEquals("Hello".getBytes(), java.util.Arrays.copyOfRange(buffer, 0, 5));
            }
    
            @Test
            @DisplayName("readn should throw IOException when buffer too short")
            void shouldThrowWhenBufferTooShort() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_internal.h

    };
    #endif  // !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD)
    
    namespace tensorflow {
    
    // Set the shapes and types of the output's handle.
    //
    // The lengths of the arrays pointed to by `shapes`, `ranks`, and `types` must
    // all be equal to `num_shapes_and_types`. If `ranks[i] != -1`, (i.e., if the
    // rank is known), then it must be equal to the length of `shapes[i]`; if
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Sat May 13 00:49:12 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/AutobahnTester.kt

        )
    
        check(latch.await(10, TimeUnit.SECONDS)) { "Timed out waiting for count." }
      }
    
      companion object {
        private const val HOST = "ws://localhost:9099"
    
        @JvmStatic fun main(args: Array<String>) {
          AutobahnTester().run()
        }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsTest.java

        }
    
        @Test
        public void test_defaultSettings() throws Exception {
            assertEquals("settings-test.suggest", settings.getAsString(SuggestSettings.DefaultKeys.INDEX, ""));
            assertEquals("content", settings.array().get(SuggestSettings.DefaultKeys.SUPPORTED_FIELDS)[0]);
            assertEquals("label,virtual_host", settings.getAsString(SuggestSettings.DefaultKeys.TAG_FIELD_NAME, ""));
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

    import com.google.common.testing.NullPointerTester.Visibility;
    import com.google.common.util.concurrent.RateLimiter.SleepingStopwatch;
    import java.lang.reflect.Method;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.List;
    import java.util.Locale;
    import java.util.Random;
    import java.util.concurrent.TimeUnit;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

    import com.google.common.testing.NullPointerTester.Visibility;
    import com.google.common.util.concurrent.RateLimiter.SleepingStopwatch;
    import java.lang.reflect.Method;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.List;
    import java.util.Locale;
    import java.util.Random;
    import java.util.concurrent.TimeUnit;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

     */
    package jcifs.smb;
    
    import java.io.IOException;
    import java.net.InetAddress;
    import java.net.UnknownHostException;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.List;
    import java.util.Map;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.ConcurrentLinkedQueue;
    import java.util.concurrent.Executors;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTreeConnection.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.smb;
    
    import java.io.IOException;
    import java.util.Arrays;
    import java.util.EnumSet;
    import java.util.Locale;
    import java.util.Objects;
    import java.util.Random;
    import java.util.Set;
    import java.util.concurrent.atomic.AtomicLong;
    
    import org.slf4j.Logger;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/BasePublicSuffixList.kt

      private val listRead = AtomicBoolean(false)
    
      /** Used for concurrent threads reading the list for the first time. */
      private val readCompleteLatch = CountDownLatch(1)
    
      // The lists are held as a large array of UTF-8 bytes. This is to avoid allocating lots of strings
      // that will likely never be used. Each rule is separated by '\n'. Please see the
      // PublicSuffixListGenerator class for how these lists are generated.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/sql/PreparedStatementUtil.java

            }
        }
    
        /**
         * Executes a batch update.
         *
         * @param ps
         *            {@link PreparedStatement}. Must not be {@literal null}.
         * @return An array of the number of rows affected by each command in the batch.
         * @throws SQLRuntimeException
         *             If a {@link SQLException} occurs.
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top