Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for si7c (0.03 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/timeformat/timeformat.go

    func badFormatAt(info *types.Info, e ast.Expr) int {
    	tv, ok := info.Types[e]
    	if !ok { // no type info, assume good
    		return -1
    	}
    
    	t, ok := tv.Type.(*types.Basic) // sic, no unalias
    	if !ok || t.Info()&types.IsString == 0 {
    		return -1
    	}
    
    	if tv.Value == nil {
    		return -1
    	}
    
    	return strings.Index(constant.StringVal(tv.Value), badFormat)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. src/fmt/scan.go

    }
    
    func (s *ss) notEOF() {
    	// Guarantee there is data to be read.
    	if r := s.getRune(); r == eof {
    		panic(io.EOF)
    	}
    	s.UnreadRune()
    }
    
    // accept checks the next rune in the input. If it's a byte (sic) in the string, it puts it in the
    // buffer and returns true. Otherwise it return false.
    func (s *ss) accept(ok string) bool {
    	return s.consume(ok, true)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/mkerrors.sh

    		$2 !~ /^RTC_VL_(ACCURACY|BACKUP|DATA)/ &&
    		$2 ~ /^(NETLINK|NLM|NLMSG|NLA|IFA|IFAN|RT|RTC|RTCF|RTN|RTPROT|RTNH|ARPHRD|ETH_P|NETNSA)_/ ||
    		$2 ~ /^SOCK_|SK_DIAG_|SKNLGRP_$/ ||
    		$2 ~ /^FIORDCHK$/ ||
    		$2 ~ /^SIOC/ ||
    		$2 ~ /^TIOC/ ||
    		$2 ~ /^TCGET/ ||
    		$2 ~ /^TCSET/ ||
    		$2 ~ /^TC(FLSH|SBRKP?|XONC)$/ ||
    		$2 !~ "RTF_BITS" &&
    		$2 ~ /^(IFF|IFT|NET_RT|RTM(GRP)?|RTF|RTV|RTA|RTAX)_/ ||
    		$2 ~ /^BIOC/ ||
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  4. src/reflect/all_test.go

    			// we run the helper, but if we lose that race once in a while it's okay: the
    			// select will just proceed immediately. Not a big deal.
    			// For short tests we can grow [sic] the timeout a bit without fear of taking too long
    			pause := 10 * time.Microsecond
    			if testing.Short() {
    				pause = 100 * time.Microsecond
    			}
    			time.AfterFunc(pause, helper)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
Back to top