Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 1,473 for ERROR (0.03 sec)

  1. internal/lock/lock_solaris.go

    // for os.OpenFile().
    func LockedOpenFile(path string, flag int, perm os.FileMode) (*LockedFile, error) {
    	return lockedOpenFile(path, flag, perm, syscall.F_SETLKW)
    }
    
    // Open - Call os.OpenFile
    func Open(path string, flag int, perm os.FileMode) (*os.File, error) {
    	return os.OpenFile(path, flag, perm)
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  2. internal/grid/manager.go

    func (m *Manager) AddToMux(router *mux.Router, authReq func(r *http.Request) error) {
    	router.Handle(m.routePath, m.Handler(authReq))
    }
    
    // Handler returns a handler that can be used to serve grid requests.
    // This should be connected on RoutePath to the main server.
    func (m *Manager) Handler(authReq func(r *http.Request) error) http.HandlerFunc {
    	return func(w http.ResponseWriter, req *http.Request) {
    		defer func() {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. internal/handlers/forwarder.go

    	}
    
    	revproxy.ServeHTTP(w, outReq)
    }
    
    // customErrHandler is originally implemented to avoid having the following error
    //
    //	`http: proxy error: context canceled` printed by Golang
    func (f *Forwarder) customErrHandler(w http.ResponseWriter, r *http.Request, err error) {
    	if f.Logger != nil && err != context.Canceled {
    		f.Logger(err)
    	}
    	w.WriteHeader(http.StatusBadGateway)
    }
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Apr 07 05:42:10 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_path_operation_configurations/test_tutorial005_py39.py

                                    }
                                },
                            },
                            "422": {
                                "description": "Validation Error",
                                "content": {
                                    "application/json": {
                                        "schema": {
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  5. internal/dsync/lock-args_gen.go

    func (z *ResponseCode) DecodeMsg(dc *msgp.Reader) (err error) {
    	{
    		var zb0001 uint8
    		zb0001, err = dc.ReadUint8()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		(*z) = ResponseCode(zb0001)
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z ResponseCode) EncodeMsg(en *msgp.Writer) (err error) {
    	err = en.WriteUint8(uint8(z))
    	if err != nil {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. api/go1.10.txt

    pkg net, method (*TCPListener) SyscallConn() (syscall.RawConn, error)
    pkg net, method (*UnixListener) SyscallConn() (syscall.RawConn, error)
    pkg net/smtp, method (*Client) Noop() error
    pkg os, func IsTimeout(error) bool
    pkg os, method (*File) SetDeadline(time.Time) error
    pkg os, method (*File) SetReadDeadline(time.Time) error
    pkg os, method (*File) SetWriteDeadline(time.Time) error
    pkg os, method (*PathError) Timeout() bool
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Tue Feb 06 05:00:01 UTC 2018
    - 30.1K bytes
    - Viewed (0)
  7. docs/debugging/inspect/utils.go

    func bytesToPrivateKey(priv []byte) (*rsa.PrivateKey, error) {
    	// Try PEM
    	if block, _ := pem.Decode(priv); block != nil {
    		return x509.ParsePKCS1PrivateKey(block.Bytes)
    	}
    	// Try base 64
    	dst := make([]byte, base64.StdEncoding.DecodedLen(len(priv)))
    	if n, err := base64.StdEncoding.Decode(dst, priv); err == nil {
    		return x509.ParsePKCS1PrivateKey(dst[:n])
    	}
    	// Try Raw, return error
    	return x509.ParsePKCS1PrivateKey(priv)
    }
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Nov 02 20:36:38 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  8. cmd/metacache-manager.go

    			// We got a stale entry, mark error on handling server.
    			err := fmt.Errorf("timeout: list %s not updated", cache.id)
    			cache.error = err.Error()
    			cache.status = scanStateError
    			rpc.UpdateMetacacheListing(ctx, cache)
    			return err
    		}
    		return nil
    	}
    	if cache.error != "" {
    		return fmt.Errorf("async cache listing failed with: %s", cache.error)
    	}
    	return nil
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_bigger_applications/test_main_an.py

                                "content": {"application/json": {"schema": {}}},
                            },
                            "422": {
                                "description": "Validation Error",
                                "content": {
                                    "application/json": {
                                        "schema": {
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/delmarker-expiration_test.go

    			err := xml.Unmarshal([]byte(test.xml), &dexp)
    			if test.err == nil {
    				if err != nil {
    					fail = true
    				}
    			} else {
    				if err == nil {
    					fail = true
    				}
    				if test.err.Error() != err.Error() {
    					fail = true
    				}
    			}
    			if fail {
    				t.Fatalf("Expected %v but got %v", test.err, err)
    			}
    		})
    	}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top