Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 721 - 730 of 1,276 for Chan (0.21 seconds)

  1. docs/en/docs/tutorial/server-sent-events.md

    {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[1:25] hl[10:12,23] *}
    
    /// tip
    
    As Pydantic will serialize it in the **Rust** side, you will get much higher **performance** than if you don't declare a return type.
    
    ///
    
    ### Non-async *path operation functions* { #non-async-path-operation-functions }
    
    You can also use regular `def` functions (without `async`), and use `yield` the same way.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/stream-json-lines.md

    /// tip
    
    As Pydantic will serialize it in the **Rust** side, you will get much higher **performance** than if you don't declare a return type.
    
    ///
    
    ### Non-async *path operation functions* { #non-async-path-operation-functions }
    
    You can also use regular `def` functions (without `async`), and use `yield` the same way.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/NoticeTask.java

        public void generateNotice() throws IOException {
            StringBuilder output = new StringBuilder();
            output.append(readFileToString(inputFile, "UTF-8"));
            output.append("\n\n");
            // This is a map rather than a set so that the sort order is the 3rd
            // party component names, unaffected by the full path to the various files
            final Map<String, File> seen = new TreeMap<String, File>();
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.9K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      Just then her head struck against the roof of the hall:  in
    fact she was now more than nine feet high, and she at once took
    up the little golden key and hurried off to the garden door.
    
      Poor Alice!  It was as much as she could do, lying down on one
    side, to look through into the garden with one eye; but to get
    through was more hopeless than ever:  she sat down and began to
    cry again.
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Click Count (0)
  5. src/bytes/bytes.go

    		if haveFastIndex {
    			if j := bytealg.Index(s[i-last:], b[:n]); j >= 0 {
    				return i + j - last
    			}
    		} else {
    			// If bytealg.Index is not available a brute force search is
    			// ~1.5-3x faster than Rabin-Karp since n is small.
    			c0 := b[last]
    			c1 := b[last-1] // There are at least 2 chars to match
    		loop:
    			for ; i < len(s); i++ {
    				if s[i] == c0 && s[i-1] == c1 {
    					for k := 2; k < n; k++ {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Mar 12 17:56:55 GMT 2026
    - 36.3K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

            multiset2.add("equalIn1");
            multiset2.add("fewerIn1", 3);
            multiset2.add("onlyIn2", 2);
            for (int i = 0; i < elements.length; i++) {
              // add 1 more copy of each element to multiset1 than multiset2
              multiset1.add(elements[i], i + 2);
              multiset2.add(elements[i], i + 1);
            }
            return difference(multiset1, multiset2);
          }
        };
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/io/ByteSourceTester.java

          suite.addTest(
              suiteForBytes(
                  slicedLongMaxValue, bytes, name + ".slice[long, Long.MAX_VALUE]", desc, false));
    
          // test a slice() of the ByteSource starting at an offset greater than its size
          ByteSourceFactory slicedOffsetPastEnd =
              SourceSinkFactories.asSlicedByteSourceFactory(
                  factory, expected.length + 2, expected.length + 10);
          suite.addTest(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

        @Test
        public void testBufferAllocationWhenCacheFull() {
            // Given - Allocate many buffers to potentially fill the cache
            List<byte[]> buffers = new ArrayList<>();
    
            // Allocate more buffers than cache can hold
            for (int i = 0; i < 20; i++) {
                byte[] buffer = BufferCache.getBuffer();
                assertNotNull(buffer, "Buffer should not be null even when cache is full");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  9. ci/official/utilities/setup.sh

    # specifically. Use your best judgment to keep the scripts in this directory
    # lean and easy to follow. When in doubt, remember that for CI scripts, "keep it
    # simple" is MUCH more important than "don't repeat yourself."
    
    # -e: abort script if one command fails
    # -u: error if undefined variable used
    # -x: log all commands
    # -o pipefail: entire command fails if pipe fails. watch out for yes | ...
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Jan 09 18:37:25 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  10. cmd/xl-storage_test.go

    					}
    				}
    				// Err unexpected EOF special case, where we verify we have provided a larger
    				// buffer than the data itself, but the results are in-fact valid. So we validate
    				// this error condition specifically treating it as a good condition with valid
    				// results. In this scenario return 'n' is always lesser than the input buffer.
    				if err == io.ErrUnexpectedEOF {
    					if !bytes.Equal(testCase.expectedBuf, buf[:n]) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 66K bytes
    - Click Count (0)
Back to Top