- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 959 for Wain (0.14 sec)
-
docs/debugging/pprofgoparser/main.go
// GNU Affero General Public License for more details. // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package main import ( "bufio" "bytes" "flag" "fmt" "log" "math" "os" "path" "regexp" "strconv" "strings" "time" ) var ( re *regexp.Regexp
Go - Registered: 2023-12-03 19:28 - Last Modified: 2023-06-04 21:20 - 3K bytes - Viewed (0) -
docs/debugging/inspect/main.go
// GNU Affero General Public License for more details. // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package main import ( "bufio" crand "crypto/rand" "crypto/rsa" "crypto/x509" "encoding/json" "encoding/pem" "flag" "fmt" "io" "os" "strings" "time" ) var (
Go - Registered: 2023-12-03 19:28 - Last Modified: 2022-11-02 20:36 - 4.7K bytes - Viewed (0) -
src/cmd/cgo/internal/swig/testdata/callback/main.cc
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This .cc file will be automatically compiled by the go tool and // included in the package. #include <string> #include "main.h" std::string Caller::call() { if (callback_ != 0) return callback_->run(); return "";
C++ - Registered: 2023-11-28 11:13 - Last Modified: 2023-05-12 12:00 - 384 bytes - Viewed (0) -
docs_src/app_testing/app_b/main.py
} app = FastAPI() class Item(BaseModel): id: str title: str description: Union[str, None] = None @app.get("/items/{item_id}", response_model=Item) async def read_main(item_id: str, x_token: str = Header()): if x_token != fake_secret_token: raise HTTPException(status_code=400, detail="Invalid X-Token header") if item_id not in fake_db:
Python - Registered: 2023-12-03 07:19 - Last Modified: 2022-05-13 23:38 - 1.1K bytes - Viewed (0) -
docs_src/app_testing/app_b_py310/main.py
} app = FastAPI() class Item(BaseModel): id: str title: str description: str | None = None @app.get("/items/{item_id}", response_model=Item) async def read_main(item_id: str, x_token: str = Header()): if x_token != fake_secret_token: raise HTTPException(status_code=400, detail="Invalid X-Token header") if item_id not in fake_db:
Python - Registered: 2023-12-03 07:19 - Last Modified: 2022-05-13 23:38 - 1.1K bytes - Viewed (0) -
src/cmd/addr2line/main.go
// of the source code corresponding to that address. // // This tool is intended for use only by pprof; its interface may change or // it may be deleted entirely in future releases. package main import ( "bufio" "flag" "fmt" "log" "os" "strconv" "strings" "cmd/internal/objfile" ) func printUsage(w *os.File) { fmt.Fprintf(w, "usage: addr2line binary\n")
Go - Registered: 2023-11-28 11:13 - Last Modified: 2022-04-11 16:34 - 2.3K bytes - Viewed (0) -
docs/debugging/s3-verify/main.go
// GNU Affero General Public License for more details. // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package main import ( "bytes" "context" "crypto/sha256" "flag" "fmt" "hash" "io" "log" "net/url" "os" "strings" "sync" "time" "github.com/minio/minio-go/v7"
Go - Registered: 2023-12-03 19:28 - Last Modified: 2022-06-22 15:12 - 8.4K bytes - Viewed (0) -
docs_src/app_testing/app_b_an/main.py
} app = FastAPI() class Item(BaseModel): id: str title: str description: Union[str, None] = None @app.get("/items/{item_id}", response_model=Item) async def read_main(item_id: str, x_token: Annotated[str, Header()]): if x_token != fake_secret_token: raise HTTPException(status_code=400, detail="Invalid X-Token header") if item_id not in fake_db:
Python - Registered: 2023-12-03 07:19 - Last Modified: 2023-03-18 12:29 - 1.2K bytes - Viewed (0) -
src/cmd/cgo/internal/swig/testdata/stdio/main.go
// This file is here just to cause problems. // main.swig turns into a file also named main.go. // Make sure cmd/go keeps them separate // when both are passed to cgo. package main //int F(void) { return 1; } import "C" import ( "fmt" "os" ) func F() int { return int(C.F()) } func main() { if x := int(C.F()); x != 1 { fatal("x = %d, want 1", x) }
Go - Registered: 2023-11-28 11:13 - Last Modified: 2023-05-12 12:00 - 975 bytes - Viewed (0) -
docs_src/app_testing/main.py
Python - Registered: 2023-12-03 07:19 - Last Modified: 2020-03-26 19:09 - 118 bytes - Viewed (0)