Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 51 for Continue (0.16 sec)

  1. src/bytes/bytes.go

    			if bytealg.IndexByteString(chars, s[i]) >= 0 {
    				return i
    			}
    			width = 1
    			continue
    		}
    		r, width = utf8.DecodeRune(s[i:])
    		if r != utf8.RuneError {
    			// r is 2 to 4 bytes
    			if len(chars) == width {
    				if chars == string(r) {
    					return i
    				}
    				continue
    			}
    			// Use bytealg.IndexString for performance if available.
    			if bytealg.MaxLen >= width {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  2. src/archive/zip/reader.go

    			name := toValidName(file.Name)
    			if name == "" {
    				continue
    			}
    
    			if idx, ok := files[name]; ok {
    				r.fileList[idx].isDup = true
    				continue
    			}
    			if idx, ok := knownDirs[name]; ok {
    				r.fileList[idx].isDup = true
    				continue
    			}
    
    			for dir := path.Dir(name); dir != "."; dir = path.Dir(dir) {
    				dirs[dir] = true
    			}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  3. src/archive/zip/reader_test.go

    		_, err := zw.Create(path)
    		if err != nil {
    			t.Errorf("zw.Create(%q) = %v", path, err)
    			continue
    		}
    		zw.Close()
    
    		zr, err := NewReader(bytes.NewReader(buf.Bytes()), int64(buf.Len()))
    		if err != ErrInsecurePath {
    			t.Errorf("NewReader for archive with file %q: got err %v, want ErrInsecurePath", path, err)
    			continue
    		}
    		var gotPaths []string
    		for _, f := range zr.File {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/arch/arm.go

    	}
    	names := strings.Split(cond, ".")
    	bits := uint8(0)
    	for _, name := range names {
    		if b, present := ls[name]; present {
    			bits |= b
    			continue
    		}
    		if b, present := scond[name]; present {
    			bits = (bits &^ arm.C_SCOND) | b
    			continue
    		}
    		return 0, false
    	}
    	return bits, true
    }
    
    func armRegisterNumber(name string, n int16) (int16, bool) {
    	if n < 0 || 15 < n {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Nov 18 17:59:44 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/expr_test.go

    		if err == nil {
    			if test.error != "" {
    				t.Errorf("#%d: %q: expected error %q; got none", i, test.input, test.error)
    			}
    			continue
    		}
    		if !strings.Contains(err.Error(), test.error) {
    			t.Errorf("#%d: expected error %q; got %q", i, test.error, err)
    			continue
    		}
    	}
    }
    
    func runBadTest(i int, test badExprTest, t *testing.T) (err error) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  6. src/archive/tar/fuzz_test.go

    		for {
    			hdr, err := r.Next()
    			if err == io.EOF {
    				break
    			}
    			if err != nil {
    				return
    			}
    			buf := bytes.NewBuffer(nil)
    			if _, err := io.Copy(buf, r); err != nil {
    				continue
    			}
    			files = append(files, file{header: hdr, content: buf.Bytes()})
    		}
    
    		// If we were unable to read anything out of the archive don't
    		// bother trying to roundtrip it.
    		if len(files) == 0 {
    			return
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jan 13 18:06:33 GMT 2022
    - 2.2K bytes
    - Viewed (0)
  7. src/bytes/reader_test.go

    		pos, err := r.Seek(tt.off, tt.seek)
    		if err == nil && tt.seekerr != "" {
    			t.Errorf("%d. want seek error %q", i, tt.seekerr)
    			continue
    		}
    		if err != nil && err.Error() != tt.seekerr {
    			t.Errorf("%d. seek error = %q; want %q", i, err.Error(), tt.seekerr)
    			continue
    		}
    		if tt.wantpos != 0 && tt.wantpos != pos {
    			t.Errorf("%d. pos = %d, want %d", i, pos, tt.wantpos)
    		}
    		buf := make([]byte, tt.n)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Dec 13 18:45:54 GMT 2021
    - 8K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/issue1435.go

    			// the following, so treat any error here as
    			// equivalent to the "process is gone":
    			//    os.IsNotExist(err),
    			//    "... : no such process",
    			//    "... : bad file descriptor.
    			continue
    		}
    		lines := strings.Split(string(d), "\n")
    		for _, line := range lines {
    			// Different kernel vintages pad differently.
    			line = strings.TrimSpace(line)
    			if strings.HasPrefix(line, "Pid:\t") {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Jul 28 21:31:41 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  9. src/bytes/bytes_test.go

    			x = append(v, 'z')
    		}
    
    		result := sliceOfString(a)
    		if !eq(result, tt.a) {
    			t.Errorf(`Split(%q, %q, %d) = %v; want %v`, tt.s, tt.sep, tt.n, result, tt.a)
    			continue
    		}
    		if tt.n == 0 || len(a) == 0 {
    			continue
    		}
    
    		if want := tt.a[len(tt.a)-1] + "z"; string(x) != want {
    			t.Errorf("last appended result was %s; want %s", x, want)
    		}
    
    		s := Join(a, []byte(tt.sep))
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/lex/input.go

    	var tokens []Token
    	for _, tok := range macro.tokens {
    		if tok.ScanToken != scanner.Ident {
    			tokens = append(tokens, tok)
    			continue
    		}
    		substitution := actuals[tok.text]
    		if substitution == nil {
    			tokens = append(tokens, tok)
    			continue
    		}
    		tokens = append(tokens, substitution...)
    	}
    	in.Push(NewSlice(in.Base(), in.Line(), tokens))
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
Back to top