Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 68 for lineFor (0.12 sec)

  1. 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)
  2. 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)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go

    			m := abiSuff.FindStringSubmatch(fnName)
    			if m != nil {
    				return m[1], m[2]
    			}
    			return fnName, ""
    		}
    		for lineno, line := range lines {
    			lineno++
    
    			badf := func(format string, args ...interface{}) {
    				pass.Reportf(analysisutil.LineStart(tf, lineno), "[%s] %s: %s", arch, fnName, fmt.Sprintf(format, args...))
    			}
    
    			if arch == "" {
    				// Determine architecture from +build line if possible.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. src/cmd/vendor/github.com/google/pprof/internal/graph/graph.go

    	if i.Address != 0 {
    		name = append(name, fmt.Sprintf("%016x", i.Address))
    	}
    	if fun := i.Name; fun != "" {
    		name = append(name, fun)
    	}
    
    	switch {
    	case i.Lineno != 0:
    		s := fmt.Sprintf("%s:%d", i.File, i.Lineno)
    		if i.Columnno != 0 {
    			s += fmt.Sprintf(":%d", i.Columnno)
    		}
    		// User requested line numbers, provide what we have.
    		name = append(name, s)
    	case i.File != "":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31K bytes
    - Viewed (0)
  8. src/cmd/cgo/gcc.go

    			fatalf("%s: unexpected: %d-byte uchar type - %s", lineno(pos), t.Size, dtype)
    		}
    		t.Go = c.uint8
    		t.Align = 1
    
    	case *dwarf.UintType:
    		if dt.BitSize > 0 {
    			fatalf("%s: unexpected: %d-bit uint type - %s", lineno(pos), dt.BitSize, dtype)
    		}
    		switch t.Size {
    		default:
    			fatalf("%s: unexpected: %d-byte uint type - %s", lineno(pos), t.Size, dtype)
    		case 1:
    			t.Go = c.uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  9. 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)
  10. tests/test_tutorial/test_body/test_tutorial001.py

                        "ctx": {
                            "msg": "Expecting property name enclosed in double quotes",
                            "doc": "{some broken json}",
                            "pos": 1,
                            "lineno": 1,
                            "colno": 2,
                        },
                    }
                ]
            }
        )
    
    
    def test_post_form_for_json(client: TestClient):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 14.7K bytes
    - Viewed (0)
Back to top