Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 65 for noExist (0.17 sec)

  1. src/run.bat

    L15:if x%2==x--no-local goto nolocal
    L16:setlocal
    L17::nolocal
    L18:
    L19:set GOBUILDFAIL=0
    L20:
    L21:set GOENV=off
    L22:..\bin\go tool dist env > env.bat
    L23:if errorlevel 1 goto fail
    L24:call .\env.bat
    L25:del env.bat
    L26:
    L27:set GOPATH=c:\nonexist-gopath
    L28:
    L29:if x%1==x--no-rebuild goto norebuild
    L30:..\bin\go tool dist test --rebuild
    L31:if errorlevel 1 goto fail
    L32:goto end
    L33:
    L34::norebuild
    L35:..\bin\go tool dist test
    L36:if errorlevel 1 goto fail
    L37:goto end
    L38:
    L39::fail
    ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 17 20:19:28 UTC 2022
    - 859 bytes
    - Viewed (0)
  2. src/internal/trace/resources.go

    //
    // The format of the returned string is for debugging purposes and is subject to change.
    func (s GoState) String() string {
    	switch s {
    	case GoUndetermined:
    		return "Undetermined"
    	case GoNotExist:
    		return "NotExist"
    	case GoRunnable:
    		return "Runnable"
    	case GoRunning:
    		return "Running"
    	case GoWaiting:
    		return "Waiting"
    	case GoSyscall:
    		return "Syscall"
    	}
    	return "Bad"
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r34/NoSourceTaskOutcomeCrossVersionSpec.groovy

    class NoSourceTaskOutcomeCrossVersionSpec extends ToolingApiSpecification {
        def setup() {
            buildFile << """
                task noSourceTask(type:Copy) {
                    from("notexist")
                    into("notexisteither")
                }"""
        }
    
        @TargetGradleVersion('>=3.4')
        def "tasks with no source is reported as NO-SOURCE"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. src/run.bash

    # Thread count limit on NetBSD 7.
    if ulimit -T &> /dev/null; then
    	[ "$(ulimit -H -T)" = "unlimited" ] || ulimit -S -T $(ulimit -H -T)
    fi
    
    export GOPATH=/nonexist-gopath
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:02:23 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. src/io/fs/glob_test.go

    			continue
    		}
    		if len(matches) != 0 {
    			t.Errorf("Glob(%#q) = %#v want []", pattern, matches)
    		}
    	}
    }
    
    func TestGlobError(t *testing.T) {
    	bad := []string{`[]`, `nonexist/[]`}
    	for _, pattern := range bad {
    		_, err := Glob(os.DirFS("."), pattern)
    		if err != path.ErrBadPattern {
    			t.Errorf("Glob(fs, %#q) returned err=%v, want path.ErrBadPattern", pattern, err)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:36:52 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. pkg/routes/logs.go

    	http.ServeFile(resp.ResponseWriter, req.Request, logdir)
    }
    
    // logFileNameIsTooLong checks filename length, returns true if it's longer than 255.
    // cause http.ServeFile returns default error code 500 except for NotExist and Forbidden, but we need to separate the real 500 from oversize filename here.
    func logFileNameIsTooLong(filePath string) bool {
    	_, err := os.Stat(filePath)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 21 16:25:48 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  7. src/cmd/go/internal/cache/cache_test.go

    }
    
    func TestBasic(t *testing.T) {
    	dir, err := os.MkdirTemp("", "cachetest-")
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(dir)
    	_, err = Open(filepath.Join(dir, "notexist"))
    	if err == nil {
    		t.Fatal(`Open("tmp/notexist") succeeded, want failure`)
    	}
    
    	cdir := filepath.Join(dir, "c1")
    	if err := os.Mkdir(cdir, 0777); err != nil {
    		t.Fatal(err)
    	}
    
    	c1, err := Open(cdir)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:49:37 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  8. tests/transaction_test.go

    	if err := DB.First(&User{}, "name = ?", "transaction-2").Error; err != nil {
    		t.Fatalf("Should be able to find committed record, but got %v", err)
    	}
    
    	t.Run("this is test nested transaction and prepareStmt coexist case", func(t *testing.T) {
    		// enable prepare statement
    		tx3 := DB.Session(&gorm.Session{PrepareStmt: true})
    		if err := tx3.Transaction(func(tx4 *gorm.DB) error {
    			// nested transaction
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. cmd/os-reliable.go

    		if err = osMkdirAll(dirPath, mode, baseDir); err != nil {
    			// Retry only for the first retryable error.
    			if osIsNotExist(err) && i == 0 {
    				i++
    				// Determine if os.NotExist error is because of
    				// baseDir's parent being present, retry it once such
    				// that the MkdirAll is retried once for the parent
    				// of dirPath.
    				// Because it is worth a retry to skip a different
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Apr 22 17:49:30 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. pkg/scheduler/testing/wrappers.go

    		Key:      k,
    		Operator: metav1.LabelSelectorOpExists,
    	}
    	s.MatchExpressions = append(s.MatchExpressions, expression)
    	return s
    }
    
    // NotExist injects a matchExpression (with an operator NotExist) to the inner labelSelector.
    func (s *LabelSelectorWrapper) NotExist(k string) *LabelSelectorWrapper {
    	expression := metav1.LabelSelectorRequirement{
    		Key:      k,
    		Operator: metav1.LabelSelectorOpDoesNotExist,
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 42.1K bytes
    - Viewed (0)
Back to top