Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for lineFor (0.14 sec)

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

    		content, tf, err := analysisutil.ReadFile(pass, fname)
    		if err != nil {
    			return nil, err
    		}
    
    		lines := strings.SplitAfter(string(content), "\n")
    		active := false
    		for lineno, line := range lines {
    			lineno++
    
    			// Ignore comments and commented-out code.
    			if i := strings.Index(line, "//"); i >= 0 {
    				line = line[:i]
    			}
    			line = strings.TrimSpace(line)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/nowb.go

    		// Record the path.
    		funcs[target] = nowritebarrierrecCall{target: src, lineno: pos}
    		q.PushRight(target.Nname)
    	}
    	for !q.Empty() {
    		fn := q.PopLeft().Func
    
    		// Check fn.
    		if fn.WBPos.IsKnown() {
    			var err strings.Builder
    			call := funcs[fn]
    			for call.target != nil {
    				fmt.Fprintf(&err, "\n\t%v: called by %v", base.FmtPos(call.lineno), call.target.Nname)
    				call = funcs[call.target]
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 17:29:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. src/internal/dag/parse.go

    }
    
    // A rulesParser parses the depsRules syntax described above.
    type rulesParser struct {
    	lineno   int
    	lastWord string
    	text     string
    }
    
    // syntaxError reports a parsing error.
    func (p *rulesParser) syntaxError(msg string) {
    	panic(syntaxError(fmt.Sprintf("parsing graph: line %d: syntax error: %s near %s", p.lineno, msg, p.lastWord)))
    }
    
    // nextList parses and returns a comma-separated list of names.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. docs/bucket/versioning/versioning-tests.sh

    #!/usr/bin/env bash
    
    if [ -n "$TEST_DEBUG" ]; then
    	set -x
    fi
    
    trap 'catch $LINENO' ERR
    
    # shellcheck disable=SC2120
    catch() {
    	if [ $# -ne 0 ]; then
    		echo "error on line $1"
    		echo "server logs ========="
    		cat "/tmp/sitea_1.log"
    		echo "==========================="
    		cat "/tmp/sitea_2.log"
    	fi
    
    	echo "Cleaning up instances of MinIO"
    	pkill minio
    	pkill -9 minio
    	rm -rf /tmp/multisitea
    }
    
    catch
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. src/go/types/example_test.go

    	fmt.Println("Defs and Uses of each named object:")
    	usesByObj := make(map[types.Object][]string)
    	for id, obj := range info.Uses {
    		posn := fset.Position(id.Pos())
    		lineCol := fmt.Sprintf("%d:%d", posn.Line, posn.Column)
    		usesByObj[obj] = append(usesByObj[obj], lineCol)
    	}
    	var items []string
    	for obj, uses := range usesByObj {
    		slices.Sort(uses)
    		item := fmt.Sprintf("%s:\n  defined at %s\n  used at %s",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. buildscripts/minio-upgrade.sh

    #!/bin/bash
    
    trap 'cleanup $LINENO' ERR
    
    # shellcheck disable=SC2120
    cleanup() {
    	MINIO_VERSION=dev /tmp/gopath/bin/docker-compose \
    		-f "buildscripts/upgrade-tests/compose.yml" \
    		down || true
    
    	MINIO_VERSION=dev /tmp/gopath/bin/docker-compose \
    		-f "buildscripts/upgrade-tests/compose.yml" \
    		rm || true
    
    	for volume in $(docker volume ls -q | grep upgrade); do
    		docker volume rm ${volume} || true
    	done
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 05:08:11 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. docs/bucket/replication/delete-replication.sh

    #!/usr/bin/env bash
    
    echo "Running $0"
    
    if [ -n "$TEST_DEBUG" ]; then
    	set -x
    fi
    
    trap 'catch $LINENO' ERR
    
    # shellcheck disable=SC2120
    catch() {
    	if [ $# -ne 0 ]; then
    		echo "error on line $1"
    		echo "dc1 server logs ========="
    		cat /tmp/dc1.log
    		echo "dc2 server logs ========="
    		cat /tmp/dc2.log
    	fi
    
    	echo "Cleaning up instances of MinIO"
    	set +e
    	pkill minio
    	pkill mc
    	rm -rf /tmp/xl/
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. docs/bucket/replication/setup_2site_existing_replication.sh

    #!/usr/bin/env bash
    
    echo "Running $0"
    
    set -x
    
    trap 'catch $LINENO' ERR
    
    # shellcheck disable=SC2120
    catch() {
    	if [ $# -ne 0 ]; then
    		echo "error on line $1"
    		for site in sitea siteb; do
    			echo "$site server logs ========="
    			cat "/tmp/${site}_1.log"
    			echo "==========================="
    			cat "/tmp/${site}_2.log"
    		done
    	fi
    
    	echo "Cleaning up instances of MinIO"
    	pkill minio
    	pkill -9 minio
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/net/http/httpguts/httplex.go

    			// No UTF-8 or non-ASCII allowed in tokens.
    			return false
    		}
    		if lowerASCII(byte(b)) != lowerASCII(t2[i]) {
    			return false
    		}
    	}
    	return true
    }
    
    // isLWS reports whether b is linear white space, according
    // to http://www.w3.org/Protocols/rfc2616/rfc2616-sec2.html#sec2.2
    //
    //	LWS            = [CRLF] 1*( SP | HT )
    func isLWS(b byte) bool { return b == ' ' || b == '\t' }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. src/compress/lzw/writer.go

    	// will make any future Write calls return errClosed
    	err error
    	// table is the hash table from 20-bit keys to 12-bit values. Each table
    	// entry contains key<<12|val and collisions resolve by linear probing.
    	// The keys consist of a 12-bit code prefix and an 8-bit byte suffix.
    	// The values are a 12-bit code.
    	table [tableSize]uint32
    }
    
    // writeLSB writes the code c for "Least Significant Bits first" data.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top