Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,051 for yield (0.02 sec)

  1. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

                    interruptee.interrupt();
                    Thread.yield();
                  }
                }
              });
          this.shutdown = shutdown;
          start();
        }
    
        @SuppressWarnings("ThreadPriorityCheck") // TODO: b/175898629 - Consider onSpinWait.
        void shutdown() {
          shutdown.set(true);
          while (this.isAlive()) {
            Thread.yield();
          }
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

                            tree.acquire();
                            successCount.incrementAndGet();
    
                            // Small delay to increase chance of race conditions
                            Thread.yield();
                        }
                    } catch (Exception e) {
                        exceptions.add(e);
                    } finally {
                        endLatch.countDown();
                    }
                });
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

                    interruptee.interrupt();
                    Thread.yield();
                  }
                }
              });
          this.shutdown = shutdown;
          start();
        }
    
        @SuppressWarnings("ThreadPriorityCheck") // TODO: b/175898629 - Consider onSpinWait.
        void shutdown() {
          shutdown.set(true);
          while (this.isAlive()) {
            Thread.yield();
          }
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. docs/ko/docs/advanced/custom-response.md

    {* ../../docs_src/custom_response/tutorial008.py hl[2,10:12,14] *}
    
    1. 이것이 제너레이터 함수입니다. `yield` 문을 포함하고 있으므로 "제너레이터 함수"입니다.
    2. `with` 블록을 사용함으로써, 제너레이터 함수가 완료된 후 파일과 같은 객체가 닫히도록 합니다. 즉, 응답 전송이 끝난 후 닫힙니다.
    3. 이 `yield from`은 함수가 `file_like`라는 객체를 반복(iterate)하도록 합니다. 반복된 각 부분은 이 제너레이터 함수(`iterfile`)에서 생성된 것처럼 `yield` 됩니다.
    
        이렇게 하면 "생성(generating)" 작업을 내부적으로 다른 무언가에 위임하는 제너레이터 함수가 됩니다.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Feb 15 11:21:20 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/Encdec.java

            case TIME_1601_NANOS_64BE -> {
                t = (date.getTime() + MILLISECONDS_BETWEEN_1970_AND_1601) * 10000L;
                yield enc_uint64be(t, dst, di);
            }
            case TIME_1601_NANOS_64LE -> {
                t = (date.getTime() + MILLISECONDS_BETWEEN_1970_AND_1601) * 10000L;
                yield enc_uint64le(t, dst, di);
            }
            case TIME_1970_MILLIS_64BE -> enc_uint64be(date.getTime(), dst, di);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

                // Set private fields: status on SmbComTransactionResponse and available on TransPeekNamedPipeResponse
                Field statusField = jcifs.internal.smb1.trans.SmbComTransactionResponse.class.getDeclaredField("status");
                statusField.setAccessible(true);
                statusField.setInt(resp, status);
                Field availField = TransPeekNamedPipeResponse.class.getDeclaredField("available");
                availField.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/Encdec.java

                t = (date.getTime() + SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601) * 10000L;
                yield enc_uint64be(t, dst, di);
            }
            case TIME_1601_NANOS_64LE -> {
                t = (date.getTime() + SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601) * 10000L;
                yield enc_uint64le(t, dst, di);
            }
            case TIME_1970_MILLIS_64BE -> enc_uint64be(date.getTime(), dst, di);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  8. docs/em/docs/advanced/custom-response.md

    ```{ .python .annotate hl_lines="2  10-12  14" }
    {!../../docs_src/custom_response/tutorial008.py!}
    ```
    
    1️⃣. 👉 🚂 🔢. ⚫️ "🚂 🔢" ↩️ ⚫️ 🔌 `yield` 📄 🔘.
    2️⃣. ⚙️ `with` 🍫, 👥 ⚒ 💭 👈 📁-💖 🎚 📪 ⏮️ 🚂 🔢 🔨. , ⏮️ ⚫️ 🏁 📨 📨.
    3️⃣. 👉 `yield from` 💬 🔢 🔁 🤭 👈 👜 🌟 `file_like`. & ⤴️, 🔠 🍕 🔁, 🌾 👈 🍕 👟 ⚪️➡️ 👉 🚂 🔢.
    
        , ⚫️ 🚂 🔢 👈 📨 "🏭" 👷 🕳 🙆 🔘.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/custom-response.md

    1. This is the generator function. It's a "generator function" because it contains `yield` statements inside.
    2. By using a `with` block, we make sure that the file-like object is closed after the generator function is done. So, after it finishes sending the response.
    3. This `yield from` tells the function to iterate over that thing named `file_like`. And then, for each part iterated, yield that part as coming from this generator function (`iterfile`).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  10. docs/es/docs/advanced/custom-response.md

    2. Al usar un bloque `with`, nos aseguramos de que el objeto similar a un archivo se cierre después de que la función generadora termine. Así, después de que termina de enviar el response.
    3. Este `yield from` le dice a la función que itere sobre esa cosa llamada `file_like`. Y luego, para cada parte iterada, yield esa parte como proveniente de esta función generadora (`iterfile`).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top