Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 74 for maxwidth (0.23 sec)

  1. test/fixedbugs/issue4359.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 4359: wrong handling of broken struct fields
    // causes "internal compiler error: lookdot badwidth".
    
    package main
    
    type T struct {
    	x T1 // ERROR "undefined"
    }
    
    func f() {
    	var t *T
    	_ = t.x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 377 bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types/utils.go

    // Copyright 2017 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 types
    
    const BADWIDTH = -1000000000
    
    type bitset8 uint8
    
    func (f *bitset8) set(mask uint8, b bool) {
    	if b {
    		*(*uint8)(f) |= mask
    	} else {
    		*(*uint8)(f) &^= mask
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 29 09:57:31 UTC 2020
    - 339 bytes
    - Viewed (0)
  3. src/go/printer/printer_test.go

    	// filter exports if necessary
    	if mode&export != 0 {
    		ast.FileExports(f) // ignore result
    		f.Comments = nil   // don't print comments that are not in AST
    	}
    
    	// determine printer configuration
    	cfg := Config{Tabwidth: tabwidth}
    	if mode&rawFormat != 0 {
    		cfg.Mode |= RawFormat
    	}
    	if mode&normNumber != 0 {
    		cfg.Mode |= normalizeNumbers
    	}
    
    	// print AST
    	var buf bytes.Buffer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  4. src/main/webapp/js/jquery-3.6.3.min.map

    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Feb 17 12:13:41 UTC 2023
    - 135.2K bytes
    - Viewed (0)
  5. src/cmd/gofmt/long_test.go

    	f, _, _, err := parse(fset, filename, src.Bytes(), false)
    	if err != nil {
    		return err
    	}
    	ast.SortImports(fset, f)
    	src.Reset()
    	return (&printer.Config{Mode: printerMode, Tabwidth: tabWidth}).Fprint(src, fset, f)
    }
    
    func testFile(t *testing.T, b1, b2 *bytes.Buffer, filename string) {
    	// open file
    	f, err := os.Open(filename)
    	if err != nil {
    		t.Error(err)
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 20:27:28 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. src/cmd/fix/printerconfig.go

    				}
    				switch i {
    				case 0:
    					cl.Elts[i] = &ast.KeyValueExpr{
    						Key:   ast.NewIdent("Mode"),
    						Value: e,
    					}
    				case 1:
    					cl.Elts[i] = &ast.KeyValueExpr{
    						Key:   ast.NewIdent("Tabwidth"),
    						Value: e,
    					}
    				}
    				fixed = true
    			}
    		}
    	})
    	return fixed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/resources/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/report/uikit.min.js

    e=t.width,i=t.height;120===e&&90===i?de("https://img.youtube.com/vi/"+h+"/0.jpg").then(function(t){var e=t.width,i=t.height;return u(e,i)},u):u(e,i)},u)}else(o=e.match(/(\/\/.*?)vimeo\.[a-z]+\/([0-9]+).*?/))&&le("https://vimeo.com/api/oembed.json?maxwidth=1920&url="+encodeURI(e),{responseType:"json",withCredentials:!1}).then(function(t){var e=t.response,i=e.height,n=e.width;return s.setItem(r,Rr("https://player.vimeo.com/video/"+o[2],n,i,s.videoAutoplay))},function(){return s.setError(r)})}}],met...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 130.5K bytes
    - Viewed (0)
  8. src/cmd/gofmt/gofmt.go

    		}
    	}
    
    	ast.SortImports(fileSet, file)
    
    	if *simplifyAST {
    		simplify(file)
    	}
    
    	res, err := format(fileSet, file, sourceAdj, indentAdj, src, printer.Config{Mode: printerMode, Tabwidth: tabWidth})
    	if err != nil {
    		return err
    	}
    
    	if !bytes.Equal(src, res) {
    		// formatting has changed
    		if *list {
    			fmt.Fprintln(r, filename)
    		}
    		if *write {
    			if info == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  9. src/fmt/scan.go

    		if s.nlIsEnd && r == '\n' {
    			s.atEOF = true
    		}
    	} else if err == io.EOF {
    		s.atEOF = true
    	}
    	return
    }
    
    func (s *ss) Width() (wid int, ok bool) {
    	if s.maxWid == hugeWid {
    		return 0, false
    	}
    	return s.maxWid, true
    }
    
    // The public method returns an error; this private one panics.
    // If getRune reaches EOF, the return value is EOF (-1).
    func (s *ss) getRune() (r rune) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zsysctl_openbsd_amd64.go

    package unix
    
    type mibentry struct {
    	ctlname string
    	ctloid  []_C_int
    }
    
    var sysctlMib = []mibentry{
    	{"ddb.console", []_C_int{9, 6}},
    	{"ddb.log", []_C_int{9, 7}},
    	{"ddb.max_line", []_C_int{9, 3}},
    	{"ddb.max_width", []_C_int{9, 2}},
    	{"ddb.panic", []_C_int{9, 5}},
    	{"ddb.profile", []_C_int{9, 9}},
    	{"ddb.radix", []_C_int{9, 1}},
    	{"ddb.tab_stop_width", []_C_int{9, 4}},
    	{"ddb.trigger", []_C_int{9, 8}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.9K bytes
    - Viewed (0)
Back to top