Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 475 for qmsg (0.14 sec)

  1. internal/grid/msg.go

    }
    
    type muxConnectError struct {
    	Error string
    }
    
    func (muxConnectError) Op() Op {
    	return OpMuxConnectError
    }
    
    type pongMsg struct {
    	NotFound bool    `msg:"nf"`
    	Err      *string `msg:"e,allownil"`
    }
    
    func (pongMsg) Op() Op {
    	return OpPong
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Nov 28 19:22:29 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  2. internal/grid/msg_string.go

    // Code generated by "stringer -type=Op -output=msg_string.go -trimprefix=Op msg.go"; DO NOT EDIT.
    
    package grid
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[OpConnect-1]
    	_ = x[OpConnectResponse-2]
    	_ = x[OpPing-3]
    	_ = x[OpPong-4]
    	_ = x[OpConnectMux-5]
    	_ = x[OpMuxConnectError-6]
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  3. cmd/server-startup-msg.go

    		msg += color.Blue("Status:") + fmt.Sprintf(getFormatStr(len(diskInfo), 8), diskInfo)
    		if len(mcMessage) > 0 {
    			msg = fmt.Sprintf("%s %s", mcMessage, msg)
    		}
    	}
    	return msg
    }
    
    // Prints startup message of storage capacity and erasure information.
    func printStorageInfo(storageInfo StorageInfo) {
    	if msg := getStorageInfoMsg(storageInfo); msg != "" {
    		logger.Info(msg)
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  4. cmd/server-startup-msg_test.go

    		{Endpoint: "http://127.0.0.1:9001/data/4/", State: madmin.DriveStateOffline},
    	}
    	infoStorage.Backend.Type = madmin.Erasure
    
    	if msg := getStorageInfoMsg(infoStorage); !strings.Contains(msg, "7 Online, 1 Offline") {
    		t.Fatal("Unexpected storage info message, found:", msg)
    	}
    }
    
    // Tests stripping standard ports from apiEndpoints.
    func TestStripStandardPorts(t *testing.T) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 20 00:53:08 GMT 2023
    - 4K bytes
    - Viewed (0)
  5. istioctl/pkg/util/formatting/msg_threshold.go

    Mitch Connors <******@****.***> 1637152085 -0800
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Nov 17 12:28:05 GMT 2021
    - 1.4K bytes
    - Viewed (0)
  6. internal/config/errors-utils.go

    	if u.detail == "" {
    		if u.msg != "" {
    			return u.msg
    		}
    		return "<nil>"
    	}
    	return u.detail
    }
    
    // Msg - Replace the current error's message
    func (u Err) Msg(m string, args ...interface{}) Err {
    	e := u.Clone()
    	e.msg = fmt.Sprintf(m, args...)
    	return e
    }
    
    // Hint - Replace the current error's message
    func (u Err) Hint(m string, args ...interface{}) Err {
    	e := u.Clone()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_body_multiple_params/test_tutorial003_an_py39.py

                    {
                        "type": "missing",
                        "loc": ["body", "item"],
                        "msg": "Field required",
                        "input": None,
                    },
                    {
                        "type": "missing",
                        "loc": ["body", "user"],
                        "msg": "Field required",
                        "input": None,
                    },
                    {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  8. docs_src/app_testing/tutorial002.py

    from fastapi.websockets import WebSocket
    
    app = FastAPI()
    
    
    @app.get("/")
    async def read_main():
        return {"msg": "Hello World"}
    
    
    @app.websocket("/ws")
    async def websocket(websocket: WebSocket):
        await websocket.accept()
        await websocket.send_json({"msg": "Hello WebSocket"})
        await websocket.close()
    
    
    def test_read_main():
        client = TestClient(app)
        response = client.get("/")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Feb 08 10:23:07 GMT 2023
    - 757 bytes
    - Viewed (0)
  9. internal/grid/muxserver.go

    }
    
    func newMuxStateless(ctx context.Context, msg message, c *Connection, handler StatelessHandler) *muxServer {
    	var cancel context.CancelFunc
    	ctx = setCaller(ctx, c.remote)
    	if msg.DeadlineMS > 0 {
    		ctx, cancel = context.WithTimeout(ctx, time.Duration(msg.DeadlineMS)*time.Millisecond)
    	} else {
    		ctx, cancel = context.WithCancel(ctx)
    	}
    	m := muxServer{
    		ID:        msg.MuxID,
    		RecvSeq:   msg.Seq + 1,
    		SendSeq:   msg.Seq,
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_dependencies/test_tutorial012_an_py39.py

                        "type": "missing",
                        "loc": ["header", "x-token"],
                        "msg": "Field required",
                        "input": None,
                    },
                    {
                        "type": "missing",
                        "loc": ["header", "x-key"],
                        "msg": "Field required",
                        "input": None,
                    },
                ]
            }
        ) | IsDict(
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 8.8K bytes
    - Viewed (0)
Back to top