Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3301 - 3310 of 4,204 for Hint (0.02 sec)

  1. docs_src/websockets/tutorial002_an_py39.py

        return session or token
    
    
    @app.websocket("/items/{item_id}/ws")
    async def websocket_endpoint(
        *,
        websocket: WebSocket,
        item_id: str,
        q: Union[int, None] = None,
        cookie_or_token: Annotated[str, Depends(get_cookie_or_token)],
    ):
        await websocket.accept()
        while True:
            data = await websocket.receive_text()
            await websocket.send_text(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. src/bufio/net_test.go

    	}
    
    	// Start a goroutine for the server to accept one connection
    	// and read all the data sent on the connection,
    	// reporting the number of bytes read on ch.
    	ch := make(chan int, 1)
    	var wg sync.WaitGroup
    	wg.Add(1)
    	go func() {
    		defer wg.Done()
    
    		tot := 0
    		defer func() {
    			ch <- tot
    		}()
    
    		serverConn, err := server.Accept()
    		if err != nil {
    			t.Error(err)
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Feb 07 19:37:07 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. tests/association_generics_test.go

    	upd := clause.Association{Association: "Pets", Type: clause.OpUpdate, Set: []clause.Assignment{{Column: clause.Column{Name: "name"}, Value: "x"}}}
    	if _, err := gorm.G[User](DB).Where("id IN ?", []uint{u1.ID, u2.ID}).Set(upd).Update(ctx); err != nil {
    		t.Fatalf("OpUpdate has-many failed: %v", err)
    	}
    	var got1, got2 User
    	if err := DB.Preload("Pets").First(&got1, u1.ID).Error; err != nil {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Sep 12 05:42:26 UTC 2025
    - 37.9K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapFile.java

                return true;
            }
            return false;
        }
    
        /**
         * Returns the hash code value for this SitemapFile.
         * @return the hash code value
         */
        @Override
        public int hashCode() {
            return java.util.Objects.hash(loc, lastmod);
        }
    
        /**
         * Returns a string representation of this SitemapFile.
         * @return A string representation.
         */
        @Override
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.4K bytes
    - Viewed (1)
  5. src/test/java/jcifs/internal/SmbNegotiationRequestTest.java

            // Given
            SmbNegotiationRequest consistentRequest = new TestSmbNegotiationRequest(true);
    
            // When & Then - verify consistency across multiple calls
            for (int i = 0; i < 10; i++) {
                assertTrue(consistentRequest.isSigningEnforced(), "Implementation should consistently return the same value");
            }
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/DosError.java

     */
    public interface DosError {
    
        /**
         * Mapping table from DOS error codes to NT status codes.
         * Each entry contains a pair of [DOS error code, NT status code].
         */
        int[][] DOS_ERROR_CODES =
                { { 0x00000000, 0x00000000 }, { 0x00010001, 0xc0000002 }, { 0x00010002, 0xc0000002 }, { 0x00020001, 0xc000000f },
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/DosError.java

     */
    public interface DosError {
    
        /**
         * Mapping table from DOS error codes to NT status codes.
         * Each entry contains a pair of [DOS error code, NT status code].
         */
        int[][] DOS_ERROR_CODES = { { 0x00000000, 0x00000000 }, { 0x00010001, 0xc0000002 }, { 0x00010002, 0xc0000002 },
                { 0x00020001, 0xc000000f }, { 0x00020002, 0xc000006a }, { 0x00030001, 0xc000003a }, { 0x00030002, 0xc00000cb },
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

    import java.lang.reflect.Method;
    import java.util.ConcurrentModificationException;
    import java.util.Iterator;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code add(int, Object)} operations on a list. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

       * Creates an IteratorTester.
       *
       * @param steps how many operations to test for each tested pair of iterators
       * @param features the features supported by the iterator
       */
      protected IteratorTester(
          int steps,
          Iterable<? extends IteratorFeature> features,
          Iterable<E> expectedElements,
          KnownOrder knownOrder) {
        super(steps, Collections.singleton(null), features, expectedElements, knownOrder, 0);
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/LookupInvokerLoggingTest.java

            }
    
            Optional<Boolean> quiet() {
                return Optional.of(quiet);
            }
        }
    
        private static class MockSlf4jConfiguration implements Slf4jConfiguration {
            int setRootLoggerLevelCallCount = 0;
            Level lastSetLevel = null;
    
            @Override
            public void setRootLoggerLevel(Level level) {
                setRootLoggerLevelCallCount++;
                lastSetLevel = level;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Oct 08 21:10:33 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top