Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for Continue (0.22 sec)

  1. src/archive/zip/fuzz_test.go

    		}
    		files := []file{}
    
    		for _, f := range r.File {
    			fr, err := f.Open()
    			if err != nil {
    				continue
    			}
    			content, err := io.ReadAll(fr)
    			if err != nil {
    				continue
    			}
    			files = append(files, file{header: &f.FileHeader, content: content})
    			if _, err := r.Open(f.Name); err != nil {
    				continue
    			}
    		}
    
    		// If we were unable to read anything out of the archive don't
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jan 13 18:06:33 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/issue18146.go

    				time.Sleep(time.Millisecond)
    				continue
    			}
    
    			t.Error(err)
    			return
    		}
    		cmds = append(cmds, cmd)
    	}
    
    	failures := 0
    	for _, cmd := range cmds {
    		err := cmd.Wait()
    		if err == nil {
    			continue
    		}
    
    		t.Errorf("syscall.Exec failed: %v\n%s", err, cmd.Stdout)
    		failures++
    	}
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Sep 05 23:35:32 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  3. src/cmd/cgo/ast.go

    			d, ok := decl.(*ast.GenDecl)
    			if !ok {
    				ast2.Decls[w] = decl
    				w++
    				continue
    			}
    			ws := 0
    			for _, spec := range d.Specs {
    				s, ok := spec.(*ast.ImportSpec)
    				if !ok || s.Path.Value != `"C"` {
    					d.Specs[ws] = spec
    					ws++
    				}
    			}
    			if ws == 0 {
    				continue
    			}
    			d.Specs = d.Specs[0:ws]
    			ast2.Decls[w] = d
    			w++
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/buildid_linux.go

    	}
    	defer f.Close()
    
    	c := 0
    sections:
    	for i, s := range f.Sections {
    		if s.Type != elf.SHT_NOTE {
    			continue
    		}
    
    		d, err := s.Data()
    		if err != nil {
    			t.Logf("reading data of note section %d: %v", i, err)
    			continue
    		}
    
    		for len(d) > 0 {
    
    			// ELF standards differ as to the sizes in
    			// note sections.  Both the GNU linker and
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  5. src/cmd/api/api_test.go

    	td, err := os.Open("testdata/src/pkg")
    	if err != nil {
    		t.Fatal(err)
    	}
    	fis, err := td.Readdir(0)
    	if err != nil {
    		t.Fatal(err)
    	}
    	for _, fi := range fis {
    		if !fi.IsDir() {
    			continue
    		}
    
    		// TODO(gri) remove extra pkg directory eventually
    		goldenFile := filepath.Join("testdata", "src", "pkg", fi.Name(), "golden.txt")
    		w := NewWalker(nil, "testdata/src/pkg")
    		pkg, _ := w.import_(fi.Name())
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jan 04 17:31:12 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  6. src/cmd/cgo/gcc.go

    		case r == '\\':
    			escaped = true
    			continue
    		case quote != 0:
    			if r == quote {
    				quote = 0
    				continue
    			}
    		case r == '"' || r == '\'':
    			quoted = true
    			quote = r
    			continue
    		case unicode.IsSpace(r):
    			if quoted || i > 0 {
    				quoted = false
    				args = append(args, string(arg[:i]))
    				i = 0
    			}
    			continue
    		}
    		arg[i] = r
    		i++
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  7. src/bufio/bufio_test.go

    			if n, err := w.ReadFrom(r); err != nil || n != int64(len(input)) {
    				t.Errorf("ws[%d],rs[%d]: w.ReadFrom(r) = %d, %v, want %d, nil", wi, ri, n, err, len(input))
    				continue
    			}
    			if err := w.Flush(); err != nil {
    				t.Errorf("Flush returned %v", err)
    				continue
    			}
    			if got, want := b.String(), string(input); got != want {
    				t.Errorf("ws[%d], rs[%d]:\ngot  %q\nwant %q\n", wi, ri, got, want)
    			}
    		}
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/callback_windows.go

    	})
    	got := make([]string, 0, n)
    	for i := 0; i < n; i++ {
    		f := runtime.FuncForPC(pc[i] - 1)
    		if f == nil {
    			continue
    		}
    		fname := f.Name()
    		switch fname {
    		case "goCallback":
    			// TODO(qmuntal): investigate why this function doesn't appear
    			// when using the external linker.
    			continue
    		}
    		// In module mode, this package has a fully-qualified import path.
    		// Remove it if present.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Nov 29 16:01:37 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  9. src/archive/zip/writer_test.go

    		}
    
    		r, err := got.Open()
    		if err != nil {
    			t.Errorf("%s: Open err = %v", got.Name, err)
    			continue
    		}
    
    		buf, err := io.ReadAll(r)
    		if err != nil {
    			t.Errorf("%s: ReadAll err = %v", got.Name, err)
    			continue
    		}
    
    		if !bytes.Equal(buf, want.content) {
    			t.Errorf("%v: ReadAll returned unexpected bytes", got.Name)
    		}
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 15 19:04:06 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  10. src/cmd/cgo/godefs.go

    		for _, c := range g.List {
    			i := strings.Index(c.Text, "+godefs map")
    			if i < 0 {
    				continue
    			}
    			s := strings.TrimSpace(c.Text[i+len("+godefs map"):])
    			i = strings.Index(s, " ")
    			if i < 0 {
    				fmt.Fprintf(os.Stderr, "invalid +godefs map comment: %s\n", c.Text)
    				continue
    			}
    			override["_Ctype_"+strings.TrimSpace(s[:i])] = strings.TrimSpace(s[i:])
    		}
    	}
    	for _, n := range f.Name {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 08 14:33:35 GMT 2022
    - 4.5K bytes
    - Viewed (0)
Back to top