- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,100 for main (0.18 sec)
-
src/cmd/cgo/internal/swig/testdata/callback/main.go
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main import ( "fmt" "os" ) func main() { if len(os.Args) != 2 { fatal("usage: callback testname") } switch os.Args[1] { default: fatal("unknown test %q", os.Args[1]) case "Call": testCall() case "Callback": testCallback() }
Go - Registered: Tue Mar 12 11:13:11 GMT 2024 - Last Modified: Fri May 12 12:00:07 GMT 2023 - 1K bytes - Viewed (0) -
cmd/main.go
return strings.NewReader(banner.String()) } func printMinIOVersion(c *cli.Context) { io.Copy(c.App.Writer, versionBanner(c)) } // Main main for minio server. func Main(args []string) { // Set the minio app name. appName := filepath.Base(args[0]) if env.Get("_MINIO_DEBUG_NO_EXIT", "") != "" { freeze := func(_ int) { // Infinite blocking op
Go - Registered: Sun Mar 17 19:28:15 GMT 2024 - Last Modified: Sat Mar 09 03:07:08 GMT 2024 - 6.4K 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: Tue Mar 12 11:13:11 GMT 2024 - Last Modified: Mon Apr 11 16:34:30 GMT 2022 - 2.3K bytes - Viewed (0) -
main.go
Go - Registered: Sun Jan 28 19:28:11 GMT 2024 - Last Modified: Tue Oct 25 00:44:15 GMT 2022 - 973 bytes - Viewed (0) -
docs_src/app_testing/main.py
Python - Registered: Sun Mar 17 07:19:09 GMT 2024 - Last Modified: Thu Mar 26 19:09:53 GMT 2020 - 118 bytes - Viewed (0) -
.github/actions/comment-docs-preview-in-pr/app/main.py
class PartialGithubEventWorkflowRun(BaseModel): head_commit: PartialGithubEventHeadCommit class PartialGithubEvent(BaseModel): workflow_run: PartialGithubEventWorkflowRun if __name__ == "__main__": logging.basicConfig(level=logging.INFO) settings = Settings() logging.info(f"Using config: {settings.json()}") g = Github(settings.input_token.get_secret_value())
Python - Registered: Sun Mar 17 07:19:09 GMT 2024 - Last Modified: Tue Jan 09 15:02:53 GMT 2024 - 2.1K bytes - Viewed (0) -
docs/debugging/hash-set/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" "encoding/binary" "flag" "fmt" "hash/crc32" "log" "os" "strings" "github.com/dchest/siphash" "github.com/google/uuid" )
Go - Registered: Sun Mar 17 19:28:15 GMT 2024 - Last Modified: Mon Sep 19 18:05:16 GMT 2022 - 3.7K bytes - Viewed (0) -
okcurl/src/main/kotlin/okhttp3/curl/Main.kt
import okhttp3.curl.internal.commonRun import okhttp3.curl.logging.LoggingUtil import okhttp3.internal.platform.Platform import okhttp3.logging.HttpLoggingInterceptor import okhttp3.logging.LoggingEventListener class Main : CliktCommand(name = NAME, help = "A curl for the next-generation web.") { val method: String? by option("-X", "--request", help = "Specify request command to use")
Plain Text - Registered: Fri Mar 15 11:42:09 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.7K bytes - Viewed (1) -
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: Sun Mar 17 19:28:15 GMT 2024 - Last Modified: Wed Nov 02 20:36:38 GMT 2022 - 4.7K 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: Sun Mar 17 07:19:09 GMT 2024 - Last Modified: Tue Jan 09 14:44:08 GMT 2024 - 1.1K bytes - Viewed (0)