Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,328 for dain (0.16 sec)

  1. src/internal/trace/testdata/cmd/gotracevalidate/main.go

    // Copyright 2023 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 (
    	"flag"
    	"fmt"
    	"io"
    	"log"
    	"os"
    
    	"internal/trace"
    	"internal/trace/testtrace"
    )
    
    func init() {
    	flag.Usage = func() {
    		fmt.Fprintf(flag.CommandLine.Output(), "Usage: %s\n", os.Args[0])
    		fmt.Fprintf(flag.CommandLine.Output(), "\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:29 UTC 2024
    - 984 bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/main.go

    		return "false"
    	case ternaryFlagTrue:
    		return "true"
    	}
    	return "unset"
    }
    
    func (t *ternaryFlag) IsBoolFlag() bool { return true } // parse like a boolean flag
    
    // Main is the main entry point for the linker code.
    func Main(arch *sys.Arch, theArch Arch) {
    	log.SetPrefix("link: ")
    	log.SetFlags(0)
    	telemetry.Start()
    	telemetry.Inc("link/invocations")
    
    	thearch = theArch
    	ctxt := linknew(arch)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. samples/jwt-server/src/main.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package main
    
    import (
    	"flag"
    	"fmt"
    	"log"
    	"net"
    	"net/http"
    	"os"
    	"os/signal"
    	"sync"
    	"syscall"
    	"time"
    )
    
    const (
    	// nolint: lll
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 16 23:56:50 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. pkg/generated/openapi/cmd/models-schema/main.go

    limitations under the License.
    */
    
    package main
    
    import (
    	"encoding/json"
    	"fmt"
    	"os"
    	"strings"
    
    	"k8s.io/kube-openapi/pkg/common"
    	"k8s.io/kube-openapi/pkg/validation/spec"
    	"k8s.io/kubernetes/pkg/generated/openapi"
    )
    
    // Outputs openAPI schema JSON containing the schema definitions in zz_generated.openapi.go.
    func main() {
    	err := output()
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:52 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. src/cmd/asm/main.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"bufio"
    	"flag"
    	"fmt"
    	"internal/buildcfg"
    	"log"
    	"os"
    
    	"cmd/asm/internal/arch"
    	"cmd/asm/internal/asm"
    	"cmd/asm/internal/flags"
    	"cmd/asm/internal/lex"
    
    	"cmd/internal/bio"
    	"cmd/internal/obj"
    	"cmd/internal/objabi"
    	"cmd/internal/telemetry"
    )
    
    func main() {
    	log.SetFlags(0)
    	log.SetPrefix("asm: ")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. src/cmd/objdump/main.go

    //	 address: assembly
    //	 ...
    //
    // Each stanza gives the disassembly for a contiguous range of addresses
    // all mapped to the same original source file and line number.
    // This mode is intended for use by pprof.
    package main
    
    import (
    	"flag"
    	"fmt"
    	"log"
    	"os"
    	"regexp"
    	"strconv"
    	"strings"
    
    	"cmd/internal/objfile"
    	"cmd/internal/telemetry"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. docs/de/docs/deployment/docker.md

    # (1)
    COPY ./main.py /code/
    
    # (2)
    CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80"]
    ```
    
    1. Kopiere die Datei `main.py` direkt in das Verzeichnis `/code` (ohne ein Verzeichnis `./app`).
    
    2. Führe Uvicorn aus und weisen es an, das `app`-Objekt von `main` zu importieren (anstatt von `app.main` zu importieren).
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 18:19:17 UTC 2024
    - 38.9K bytes
    - Viewed (0)
  8. 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
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. src/cmd/fix/main.go

    // Copyright 2011 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 (
    	"bytes"
    	"flag"
    	"fmt"
    	"go/ast"
    	"go/format"
    	"go/parser"
    	"go/scanner"
    	"go/token"
    	"go/version"
    	"internal/diff"
    	"io"
    	"io/fs"
    	"os"
    	"path/filepath"
    	"sort"
    	"strings"
    
    	"cmd/internal/telemetry"
    )
    
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. src/cmd/trace/main.go

    // Copyright 2014 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 (
    	"cmd/internal/browser"
    	"cmd/internal/telemetry"
    	"flag"
    	"fmt"
    	"internal/trace"
    	"internal/trace/raw"
    	"internal/trace/traceviewer"
    	"io"
    	"log"
    	"net"
    	"net/http"
    	_ "net/http/pprof" // Required to use pprof
    	"os"
    	"sync/atomic"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top