Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1171 - 1180 of 1,426 for would (0.06 seconds)

  1. internal/deadlineconn/deadlineconn_test.go

    		deadlineconn.SetReadDeadline(time.Unix(1, 0))
    
    		// Be sure to exceed update interval
    		time.Sleep(updateInterval * 2)
    
    		_, terr = deadlineconn.Read(b)
    		if terr == nil {
    			cerr = fmt.Errorf("could read from client, expected error, got %v", terr)
    			return
    		}
    	}()
    
    	c, err := net.Dial("tcp", serverAddr)
    	if err != nil {
    		t.Fatalf("unable to connect to server. %v", err)
    	}
    	defer c.Close()
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Nov 11 17:15:17 GMT 2024
    - 4.8K bytes
    - Click Count (0)
  2. docs/ko/docs/advanced/custom-response.md

    {* ../../docs_src/custom_response/tutorial009c.py hl[9:14,17] *}
    
    이제 다음 대신:
    
    ```json
    {"message": "Hello World"}
    ```
    
    이 응답은 이렇게 반환됩니다:
    
    ```json
    {
      "message": "Hello World"
    }
    ```
    
    물론 JSON 포맷팅보다 더 유용하게 활용할 방법을 찾을 수 있을 것입니다. 😉
    
    ## 기본 응답 클래스
    
    **FastAPI** 클래스 객체 또는 `APIRouter`를 생성할 때 기본적으로 사용할 응답 클래스를 지정할 수 있습니다.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Feb 15 11:21:20 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  3. misc/go_android_exec/main.go

    				return 0, err
    			}
    			// We use a single recursive 'adb push' of the module root instead of
    			// walking the tree and copying it piecewise. If the directory tree
    			// contains nested modules this could push a lot of unnecessary contents,
    			// but for the golang.org/x repos it seems to be significantly (~2x)
    			// faster than copying one file at a time (via filepath.WalkDir),
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Click Count (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/AbstractIntervalController.java

                if (!ignoreException) {
                    throw e;
                }
            } catch (final Exception e) {
                if (!ignoreException) {
                    throw new CrawlerSystemException("Could not stop a process.", e);
                }
            }
        }
    
        /**
         * Delays the crawling process before processing a URL.
         */
        protected abstract void delayBeforeProcessing();
    
        /**
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 20 08:58:39 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  5. docs_src/security/tutorial005_py39.py

        else:
            authenticate_value = "Bearer"
        credentials_exception = HTTPException(
            status_code=status.HTTP_401_UNAUTHORIZED,
            detail="Could not validate credentials",
            headers={"WWW-Authenticate": authenticate_value},
        )
        try:
            payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM])
            username: str = payload.get("sub")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Sep 29 02:57:38 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  6. internal/config/certs.go

    	// Parse all certs in the chain.
    	current := data
    	for len(current) > 0 {
    		var pemBlock *pem.Block
    		if pemBlock, current = pem.Decode(current); pemBlock == nil {
    			return nil, ErrTLSUnexpectedData(nil).Msgf("Could not read PEM block from file %s", certFile)
    		}
    
    		var x509Cert *x509.Certificate
    		if x509Cert, err = x509.ParseCertificate(pemBlock.Bytes); err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Aug 14 17:11:51 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  7. src/archive/tar/tar_test.go

    			&Header{Name: "bar", Mode: 0640, Size: int64(3)},
    			[]byte("foo"),
    		}, {
    			&Header{Name: "world", Mode: 0640, Size: int64(5)},
    			[]byte("hello"),
    		}},
    	}, {
    		"GNU",
    		[]file{{
    			&Header{Name: "bar", Mode: 0640, Size: int64(3), Devmajor: -1},
    			[]byte("foo"),
    		}, {
    			&Header{Name: "world", Mode: 0640, Size: int64(5), Devmajor: -1},
    			[]byte("hello"),
    		}},
    	}, {
    		"PAX",
    		[]file{{
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Jul 25 00:25:45 GMT 2024
    - 23.9K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

            }
    
            @Test
            @DisplayName("Should handle circular reference in root cause")
            void testCircularReferenceInRootCause() {
                // Create a mock exception that could have circular reference
                Exception rootCause = mock(Exception.class);
                when(rootCause.getMessage()).thenReturn("Mocked exception");
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  9. internal/logger/logrotate.go

    func NewDir(opts Options) (io.WriteCloser, error) {
    	if err := os.MkdirAll(opts.Directory, os.ModePerm); err != nil {
    		return nil, fmt.Errorf("directory %v does not exist and could not be created: %w", opts.Directory, err)
    	}
    
    	if opts.FileNameFunc == nil {
    		opts.FileNameFunc = defaultFilenameFunc
    	}
    
    	pr, pw := xioutil.WaitPipe()
    
    	w := &Writer{
    		opts: opts,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/http/Handler.java

         * "java.protocol.handler.pkgs", the VM uses one or more default
         * packages, which are vendor specific.  Sun's is included below
         * for convenience; others could be as well.  If a particular vendor's
         * package isn't listed, it can be specified in
         * "java.protocol.handler.pkgs".
         */
        private static final String[] JVM_VENDOR_DEFAULT_PKGS = { "sun.net.www.protocol" };
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.1K bytes
    - Click Count (0)
Back to Top