- Sort Score
- Num 10 results
- Language All
Results 1671 - 1680 of 1,947 for result2 (0.12 seconds)
-
src/bytes/buffer.go
// The slice aliases the buffer content at least until the next buffer modification, // so immediate changes to the slice will affect the result of future reads. func (b *Buffer) Bytes() []byte { return b.buf[b.off:] } // AvailableBuffer returns an empty buffer with b.Available() capacity. // This buffer is intended to be appended to and
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Nov 14 19:01:17 GMT 2025 - 16.5K bytes - Click Count (0) -
internal/dsync/drwmutex.go
done = true } case <-ctx.Done(): // Refreshing is canceled return false, ctx.Err() } if done { break } } // We may have some unused results in ch, release them async. go func() { wg.Wait() xioutil.SafeClose(ch) for range ch { } }() noQuorum := lockNotFound > len(restClnts)-quorum return noQuorum, nil }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 20.3K bytes - Click Count (0) -
internal/ringbuffer/ring_buffer_test.go
if writeErr != ErrWriteOnClosed { t.Errorf("got: %q; want: %q", writeErr, ErrWriteOnClosed) } else { t.Log("ok") } } result := string(buf[0:n]) if result != "hello" { t.Errorf("got: %q; want: %q", result, "hello") } } func timeout(after time.Duration) (cancel func()) { c := time.After(after) cc := make(chan struct{}) go func() { select {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 26.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/relatedcontent/AdminRelatedcontentAction.java
/** * Searches for related content items based on the provided search criteria. * * @param form the search form containing search criteria * @return HTML response with filtered related content results */ @Execute @Secured({ ROLE, ROLE + VIEW }) public HtmlResponse search(final SearchForm form) { copyBeanToBean(form, relatedContentPager, op -> op.exclude(Constants.PAGER_CONVERSION_RULE));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 13:56:35 GMT 2025 - 15.5K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/body.md
} ``` ## 將它宣告為參數 { #declare-it-as-a-parameter } 要把它加到你的*路徑操作(path operation)*中,宣告方式與路徑與查詢參數相同: {* ../../docs_src/body/tutorial001_py310.py hl[16] *} ...並將其型別宣告為你建立的模型 `Item`。 ## 效果 { #results } 只靠這樣的 Python 型別宣告,**FastAPI** 會: - 將請求本文讀取為 JSON。 - (必要時)轉換為對應的型別。 - 驗證資料。 - 若資料無效,會回傳清楚易懂的錯誤,指出哪裡、哪筆資料不正確。 - 把接收到的資料放在參數 `item` 中提供給你。 - 由於你在函式中將其宣告為 `Item` 型別,你也會獲得完整的編輯器支援(自動完成等)以及所有屬性與其型別。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/BadWordService.java
import org.codelibs.fess.opensearch.config.exentity.BadWord; import org.codelibs.fess.util.ComponentUtil; import org.dbflute.bhv.readable.EntityRowHandler; import org.dbflute.cbean.result.PagingResultBean; import org.dbflute.optional.OptionalEntity; import com.orangesignal.csv.CsvConfig; import com.orangesignal.csv.CsvReader; import com.orangesignal.csv.CsvWriter; import jakarta.annotation.Resource;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 8.6K bytes - Click Count (0) -
android/guava/src/com/google/common/xml/XmlEscapers.java
* (NCR). Any non-ASCII characters appearing in the input will be preserved in the output. * Specifically "\r" (carriage return) is preserved in the output, which may result in it being * silently converted to "\n" when the XML is parsed. * * <p>This escaper does not treat surrogate pairs specially and does not perform Unicode * validation on its input. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Sep 11 17:06:34 GMT 2025 - 6.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
SmbFile file = new SmbFile("smb1://server/share/file.txt"); // Without a real connection, getType relies on path parsing. // getUncPath0() will result in a path > 1, so it should be TYPE_FILESYSTEM assertEquals(SmbFile.TYPE_FILESYSTEM, file.getType()); } @Test public void testGetTypeForShare() throws Exception {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/RangeSet.java
*/ RangeSet<C> subRangeSet(Range<C> view); // Modification /** * Adds the specified range to this {@code RangeSet} (optional operation). That is, for equal * range sets a and b, the result of {@code a.add(range)} is that {@code a} will be the minimal * range set for which both {@code a.enclosesAll(b)} and {@code a.encloses(range)}. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 10.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Queues.java
* Iterator<E> i = queue.iterator(); // Must be in synchronized block * while (i.hasNext()) { * foo(i.next()); * } * } * } * * <p>Failure to follow this advice may result in non-deterministic behavior. * * <p>The returned queue will be serializable if the specified queue is serializable. * * @param queue the queue to be wrapped in a synchronized view
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 18.2K bytes - Click Count (0)