Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,251 for main2 (0.29 sec)

  1. 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)
  2. src/cmd/doc/main.go

    	fmt.Fprintf(os.Stderr, "Flags:\n")
    	flag.PrintDefaults()
    	os.Exit(2)
    }
    
    func main() {
    	log.SetFlags(0)
    	log.SetPrefix("doc: ")
    	telemetry.Start()
    	dirsInit()
    	err := do(os.Stdout, flag.CommandLine, os.Args[1:])
    	if err != nil {
    		log.Fatal(err)
    	}
    }
    
    // do is the workhorse, broken out of main to make testing easier.
    func do(writer io.Writer, flagSet *flag.FlagSet, args []string) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. 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)
  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. cmd/import-boss/main.go

    package main
    
    import (
    	"flag"
    	"os"
    
    	"errors"
    	"fmt"
    	"path/filepath"
    	"regexp"
    	"sort"
    	"strings"
    	"time"
    
    	"github.com/spf13/pflag"
    	"golang.org/x/tools/go/packages"
    	"k8s.io/klog/v2"
    	"sigs.k8s.io/yaml"
    )
    
    const (
    	rulesFileName = ".import-restrictions"
    	goModFile     = "go.mod"
    )
    
    func main() {
    	klog.InitFlags(nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 12:36:49 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  6. 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)
  7. docs/debugging/reorder-disks/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"
    	"encoding/json"
    	"errors"
    	"flag"
    	"fmt"
    	"log"
    	"net/url"
    	"os"
    	"path/filepath"
    	"strings"
    	"syscall"
    
    	"github.com/minio/pkg/v3/ellipses"
    )
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. test/fixedbugs/issue65957.dir/main.go

    // Copyright 2024 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 (
    	"./a"
    	"reflect"
    )
    
    var s = []rune{0, 1, 2, 3}
    
    func main() {
    	m := map[any]int{}
    	k := reflect.New(reflect.ArrayOf(4, reflect.TypeOf(int32(0)))).Elem().Interface()
    	m[k] = 1
    	a.F()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 05:32:14 UTC 2024
    - 368 bytes
    - Viewed (0)
  9. .github/actions/people/app/main.py

    Sebastián Ramírez <******@****.***> 1711474701 -0500
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Mar 26 17:38:21 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  10. pilot/cmd/pilot-agent/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 (
    	"os"
    
    	meshconfig "istio.io/api/mesh/v1alpha1"
    	"istio.io/istio/pilot/cmd/pilot-agent/app"
    	istioagent "istio.io/istio/pkg/istio-agent"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/security"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 23:51:52 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top