Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 876 for makeAs (0.1 sec)

  1. src/bytes/buffer.go

    	}()
    	// TODO(http://golang.org/issue/51462): We should rely on the append-make
    	// pattern so that the compiler can call runtime.growslice. For example:
    	//	return append(b, make([]byte, n)...)
    	// This avoids unnecessary zero-ing of the first len(b) bytes of the
    	// allocated slice, but this pattern causes b to escape onto the heap.
    	//
    	// Instead use the append-make pattern with a nil slice to ensure that
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Tue Jul 16 18:17:37 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  2. cmd/sftp-server-driver.go

    	return f.permissions.CriticalOptions["AccessKey"]
    }
    
    func (f *sftpDriver) Fileread(r *sftp.Request) (ra io.ReaderAt, err error) {
    	// This is not timing the actual read operation, but the time it takes to prepare the reader.
    	stopFn := globalSftpMetrics.log(r, f.AccessKey())
    	defer stopFn(0, err)
    
    	flags := r.Pflags()
    	if !flags.Read {
    		// sanity check
    		return nil, os.ErrInvalid
    	}
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. cmd/notification.go

    		}, idx, *client.host)
    	}
    	return ng.Wait()
    }
    
    var errPeerNotReachable = errors.New("peer is not reachable")
    
    // GetLocks - makes GetLocks RPC call on all peers.
    func (sys *NotificationSys) GetLocks(ctx context.Context, r *http.Request) []*PeerLocks {
    	locksResp := make([]*PeerLocks, len(sys.peerClients))
    	g := errgroup.WithNErrs(len(sys.peerClients))
    	for index, client := range sys.peerClients {
    		index := index
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  4. README.md

    # The Go Programming Language
    
    Go is an open source programming language that makes it easy to build simple,
    reliable, and efficient software.
    
    ![Gopher image](https://golang.org/doc/gopher/fiveyears.jpg)
    *Gopher image by [Renee French][rf], licensed under [Creative Commons 4.0 Attribution license][cc4-by].*
    
    Our canonical Git repository is located at https://go.googlesource.com/go.
    There is a mirror of the repository at https://github.com/golang/go.
    
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Mon Jul 22 17:45:27 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. cmd/metrics-v3-cluster-usage.go

    		"Total cluster objects count")
    	usageVersionsCountMD = NewGaugeMD(usageVersionsCount,
    		"Total cluster object versions (including delete markers) count")
    	usageDeleteMarkersCountMD = NewGaugeMD(usageDeleteMarkersCount,
    		"Total cluster delete markers count")
    	usageBucketsCountMD = NewGaugeMD(usageBucketsCount,
    		"Total cluster buckets count")
    	usageObjectsDistributionMD = NewGaugeMD(usageSizeDistribution,
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sun Jul 14 18:11:42 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. fastapi/applications.py

                    and `response_model_exclude_defaults`. You probably want to use one of
                    those two instead of this one, as those allow returning `None` values
                    when it makes sense.
    
                    Read more about it in the
                    [FastAPI docs for Response Model - Return Type](https://fastapi.tiangolo.com/tutorial/response-model/#response_model_exclude_none).
                    """
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:52:31 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/sql-databases.md

    ///
    
    As SQLModel is based on SQLAlchemy, you can easily use **any database supported** by SQLAlchemy (which makes them also supported by SQLModel), like:
    
    * PostgreSQL
    * MySQL
    * SQLite
    * Oracle
    * Microsoft SQL Server, etc.
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/bigger-applications.md

    ```
    .
    ├── app                  # "app" is a Python package
    │   ├── __init__.py      # this file makes "app" a "Python package"
    │   ├── main.py          # "main" module, e.g. import app.main
    │   ├── dependencies.py  # "dependencies" module, e.g. import app.dependencies
    │   └── routers          # "routers" is a "Python subpackage"
    │   │   ├── __init__.py  # makes "routers" a "Python subpackage"
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  9. internal/dsync/dsync-client_test.go

    		return nil
    	}
    
    	switch err.Error() {
    	case errLockConflict.Error():
    		return errLockConflict
    	case errLockNotFound.Error():
    		return errLockNotFound
    	}
    	return err
    }
    
    // Call makes a REST call to the remote endpoint using the msgp codec
    func (restClient *ReconnectRESTClient) Call(method string, args LockArgs) (status bool, err error) {
    	buf, err := args.MarshalMsg(nil)
    	if err != nil {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Jan 20 17:36:09 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  10. cmd/utils.go

    	}.NewRemoteTargetHTTPTransport(insecure)
    }
    
    // ceilFrac takes a numerator and denominator representing a fraction
    // and returns its ceiling. If denominator is 0, it returns 0 instead
    // of crashing.
    func ceilFrac(numerator, denominator int64) (ceil int64) {
    	if denominator == 0 {
    		// do nothing on invalid input
    		return
    	}
    	// Make denominator positive
    	if denominator < 0 {
    		numerator = -numerator
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
Back to top