Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for characters (0.14 sec)

  1. src/archive/zip/reader_test.go

    	}
    }
    
    func TestCVE202141772(t *testing.T) {
    	t.Setenv("GODEBUG", "zipinsecurepath=0")
    	// Archive contains a file whose name is exclusively made up of '/', '\'
    	// characters, or "../", "..\" paths, which would previously cause a panic.
    	//
    	//  Length   Method    Size  Cmpr    Date    Time   CRC-32   Name
    	// --------  ------  ------- ---- ---------- ----- --------  ----
    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)
  2. src/bufio/bufio_test.go

    	// Invalid runes, including negative ones, should be written as the
    	// replacement character.
    	for _, r := range []rune{-1, utf8.MaxRune + 1} {
    		var buf strings.Builder
    		w := NewWriter(&buf)
    		w.WriteRune(r)
    		w.Flush()
    		if s := buf.String(); s != "\uFFFD" {
    			t.Errorf("WriteRune(%d) wrote %q, not replacement character", r, s)
    		}
    	}
    }
    
    func TestReadStringAllocs(t *testing.T) {
    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)
  3. src/cmd/cgo/gcc.go

    			}
    		}
    	}
    	if flag == "LDFLAGS" {
    		p.LdFlags = append(p.LdFlags, args...)
    	}
    }
    
    // splitQuoted splits the string s around each instance of one or more consecutive
    // white space characters while taking into account quotes and escaping, and
    // returns an array of substrings of s or an empty list if s contains only white space.
    // Single quotes and double quotes are recognized to prevent splitting within the
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top