Search Options

Results per page
Sort
Preferred Languages
Advance

Results 921 - 930 of 1,107 for Len (0.02 sec)

  1. docs/vi/docs/tutorial/index.md

    ...dó cũng bao gồm `uvicorn`, bạn có thể sử dụng như một server để chạy code của bạn.
    
    /// note
    
    Bạn cũng có thể cài đặt nó từng phần.
    
    Đây là những gì bạn có thể sẽ làm một lần duy nhất bạn muốn triển khai ứng dụng của bạn lên production:
    
    ```
    pip install fastapi
    ```
    
    Cũng cài đặt `uvicorn` để làm việc như một server:
    
    ```
    pip install "uvicorn[standard]"
    ```
    
    Và tương tự với từng phụ thuộc tùy chọn mà bạn muốn sử dụng.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. cmd/server-main.go

    				}()
    			})
    		}
    
    		// if we see FTP args, start FTP if possible
    		if len(globalServerCtxt.FTP) > 0 {
    			bootstrapTrace("go startFTPServer", func() {
    				go startFTPServer(globalServerCtxt.FTP)
    			})
    		}
    
    		// If we see SFTP args, start SFTP if possible
    		if len(globalServerCtxt.SFTP) > 0 {
    			bootstrapTrace("go startSFTPServer", func() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
  3. cmd/admin-handlers-users-race_test.go

    				err := s.adm.RemoveUser(ctx, accessKeys[i])
    				if err != nil {
    					return err
    				}
    				c.mustNotListObjects(ctx, uClient, bucket)
    				return nil
    			}
    		}(i), i)
    	}
    	if errs := g.Wait(); len(errs) > 0 {
    		c.Fatalf("unable to remove users: %v", errs)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 28 09:06:25 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. cmd/object-api-datatypes.go

    	}
    	return expires
    }
    
    // ArchiveInfo returns any saved zip archive meta information.
    // It will be decrypted if needed.
    func (o *ObjectInfo) ArchiveInfo(h http.Header) []byte {
    	if len(o.UserDefined) == 0 {
    		return nil
    	}
    	z, ok := o.UserDefined[archiveInfoMetadataKey]
    	if !ok {
    		return nil
    	}
    	data := []byte(z)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  5. internal/config/storageclass/storage-class.go

    	s := strings.Split(storageClassEnv, ":")
    
    	// only two elements allowed in the string - "scheme" and "number of parity drives"
    	if len(s) > 2 {
    		return StorageClass{}, config.ErrStorageClassValue(nil).Msg("Too many sections in " + storageClassEnv)
    	} else if len(s) < 2 {
    		return StorageClass{}, config.ErrStorageClassValue(nil).Msg("Too few sections in " + storageClassEnv)
    	}
    
    	// only allowed scheme is "EC"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            int i = 0, b = 0, len = path.length();
    
            do {
                if (ri == rlast) {
                    result[rlast] = path.substring(b);
                    return;
                }
                if (i == len || path.charAt(i) == '\\') {
                    result[ri++] = path.substring(b, i);
                    b = i + 1;
                }
            } while (i++ < len);
    
            while (ri < result.length) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  7. cmd/ftp-server.go

    		port          int
    		publicIP      string
    		portRange     string
    		tlsPrivateKey string
    		tlsPublicCert string
    	)
    
    	var err error
    	for _, arg := range args {
    		tokens := strings.SplitN(arg, "=", 2)
    		if len(tokens) != 2 {
    			logger.Fatal(fmt.Errorf("invalid arguments passed to --ftp=%s", arg), "unable to start FTP server")
    		}
    		switch tokens[0] {
    		case "address":
    			host, portStr, err := net.SplitHostPort(tokens[1])
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Mar 09 03:07:08 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java

        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
            int start = bufferIndex;
            this.nextEntryOffset = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.6K bytes
    - Viewed (0)
  9. fastapi/exceptions.py

        def __init__(self, errors: Sequence[Any], *, body: Any = None) -> None:
            super().__init__(errors)
            self.body = body
    
        def __str__(self) -> str:
            message = f"{len(self._errors)} validation errors:\n"
            for err in self._errors:
                message += f"  {err}\n"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/ztunnel/configdump/configdump.go

    		return err
    	}
    	zDump.WorkloadState = rawDump.WorkloadState
    	c.ztunnelDump = zDump
    	return nil
    }
    
    func unmarshalListOrMap[T any](input json.RawMessage, i *[]T) error {
    	if len(input) == 0 {
    		return nil
    	}
    	if input[0] == '[' {
    		return json.Unmarshal(input, i)
    	}
    	m := make(map[string]T)
    	if err := json.Unmarshal(input, &m); err != nil {
    		return err
    	}
    	*i = maps.Values(m)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top