Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 631 - 640 of 1,019 for iterated (0.06 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

      }
    }
    
    internal fun <T> interleave(
      a: Iterable<T>,
      b: Iterable<T>,
    ): List<T> {
      val ia = a.iterator()
      val ib = b.iterator()
    
      return buildList {
        while (ia.hasNext() || ib.hasNext()) {
          if (ia.hasNext()) {
            add(ia.next())
          }
          if (ib.hasNext()) {
            add(ib.next())
          }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java

            when(mock.getRemoteHostName()).thenReturn("test-host");
            // Verify the stubbing
            assertEquals("test-host", mock.getRemoteHostName());
            // Ensure that the mock was interacted with
            verify(mock).getRemoteHostName();
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  3. tests/benchmarks/test_general_performance.py

    import json
    import sys
    from collections.abc import Iterator
    from typing import Annotated, Any
    
    import pytest
    from fastapi import Depends, FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    if "--codspeed" not in sys.argv:
        pytest.skip(
            "Benchmark tests are skipped by default; run with --codspeed.",
            allow_module_level=True,
        )
    
    LARGE_ITEMS: list[dict[str, Any]] = [
        {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Dec 26 20:40:26 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java

            final List<String> list = newArrayList();
            list.add("aaa");
            list.add("bbb");
            list.add("ccc");
    
            final IndexedIterator<String> it = new IndexedIterator<String>(list.iterator());
    
            assertThat(it.hasNext(), is(true));
    
            final Indexed<String> indexed1 = it.next();
            assertThat(indexed1.getIndex(), is(0));
            assertThat(indexed1.getElement(), is("aaa"));
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/math/StatsTest.java

        assertThat(MANY_VALUES_STATS_ITERABLE.max()).isEqualTo(MANY_VALUES_MAX);
        // For datasets of many double values created from an iterator, we test many combinations of
        // finite and non-finite values:
        for (ManyValues values : ALL_MANY_VALUES) {
          double max = Stats.of(values.asIterable().iterator()).max();
          if (values.hasAnyNaN()) {
            assertWithMessage("max of %s", values).that(max).isNaN();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 33.4K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

      public void testDescendingNavigation() {
        List<Entry<E>> ascending = new ArrayList<>();
        Iterators.addAll(ascending, sortedMultiset.entrySet().iterator());
        List<Entry<E>> descending = new ArrayList<>();
        Iterators.addAll(descending, sortedMultiset.descendingMultiset().entrySet().iterator());
        Collections.reverse(descending);
        assertEquals(ascending, descending);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 20:14:36 GMT 2024
    - 26K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

        // For datasets of many double values created from an iterator, we test many combinations of
        // finite and non-finite values:
        for (ManyValues values : ALL_MANY_VALUES) {
          StatsAccumulator accumulator = new StatsAccumulator();
          StatsAccumulator accumulatorByAddAllStats = new StatsAccumulator();
          accumulator.addAll(values.asIterable().iterator());
          for (double value : values.asIterable()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 37.1K bytes
    - Click Count (0)
  8. internal/mountinfo/mountinfo_windows.go

    	case windows.DRIVE_FIXED, windows.DRIVE_REMOVABLE, windows.DRIVE_REMOTE, windows.DRIVE_RAMDISK:
    		// Recognize "fixed", "removable", "remote" and "ramdisk" drives as proper drives
    		// which can be treated as an actual mount-point, rest can be ignored.
    		// https://docs.microsoft.com/en-us/windows/desktop/api/fileapi/nf-fileapi-getdrivetypew
    		mountPointCache.Store(path, true)
    		return true
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  9. dbflute_fess/dfprop/additionalForeignKeyMap.dfprop

    # And you can use it to view objects too.
    #
    # If local column name is same as foreign column name,
    # you can omit the setting of localColumnName and foreignColumnName.
    # The names are treated as case insensitive.
    #
    # Example:
    # map:{
    #     ; FK_MEMBER_MEMBER_STATUS_CODE = map:{
    #         ; localTableName  = MEMBER             ; foreignTableName  = MEMBER_STATUS
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jul 04 22:46:31 GMT 2015
    - 1.7K bytes
    - Click Count (0)
  10. docs/uk/docs/tutorial/debugging.md

    ---
    
    Наприклад, у Visual Studio Code ви можете:
    
    * Перейдіть на панель «Debug».
    * «Add configuration...».
    * Виберіть «Python»
    * Запустіть дебагер з опцією "`Python: Current File (Integrated Terminal)`".
    
    Після цього він запустить сервер з вашим кодом **FastAPI**, зупиниться на точках зупину тощо.
    
    Ось як це може виглядати:
    
    <img src="/img/tutorial/debugging/image01.png">
    
    ---
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 3.6K bytes
    - Click Count (0)
Back to Top