Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 123 for nul (0.02 sec)

  1. src/archive/tar/reader_test.go

    		file: "testdata/pax-nul-xattrs.tar",
    		err:  ErrHeader,
    	}, {
    		// BSD tar v3.1.2 rejects a PAX path with NUL in the value, while
    		// GNU tar v1.27.1 simply truncates at first NUL.
    		// We emulate the behavior of BSD since it is strange doing NUL
    		// truncations since PAX records are length-prefix strings instead
    		// of NUL-terminated C-strings.
    		file: "testdata/pax-nul-path.tar",
    		err:  ErrHeader,
    	}, {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 21 21:14:38 UTC 2022
    - 47.1K bytes
    - Viewed (0)
  2. src/text/scanner/scanner_test.go

    	}
    }
    
    func TestError(t *testing.T) {
    	testError(t, "\x00", "<input>:1:1", "invalid character NUL", 0)
    	testError(t, "\x80", "<input>:1:1", "invalid UTF-8 encoding", utf8.RuneError)
    	testError(t, "\xff", "<input>:1:1", "invalid UTF-8 encoding", utf8.RuneError)
    
    	testError(t, "a\x00", "<input>:1:2", "invalid character NUL", Ident)
    	testError(t, "ab\x80", "<input>:1:3", "invalid UTF-8 encoding", Ident)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 17 03:41:50 UTC 2022
    - 25.3K bytes
    - Viewed (0)
  3. integration-tests/gradle/gradlew.bat

    set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
    
    @rem Find java.exe
    if defined JAVA_HOME goto findJavaFromJavaHome
    
    set JAVA_EXE=java.exe
    %JAVA_EXE% -version >NUL 2>&1
    if %ERRORLEVEL% equ 0 goto execute
    
    echo.
    echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
    echo.
    echo Please set the JAVA_HOME variable in your environment to match the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 28 18:15:57 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. gradlew.bat

    set DEFAULT_JVM_OPTS=-Dfile.encoding=UTF-8 "-Xmx64m" "-Xms64m"
    
    @rem Find java.exe
    if defined JAVA_HOME goto findJavaFromJavaHome
    
    set JAVA_EXE=java.exe
    %JAVA_EXE% -version >NUL 2>&1
    if %ERRORLEVEL% equ 0 goto execute
    
    echo. 1>&2
    echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
    echo. 1>&2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 08:31:48 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. src/os/os_windows_test.go

    	}
    
    	if !os.SameFile(fi1, fi2) {
    		t.Errorf(`"NUL" and "nul" are not the same file`)
    	}
    }
    
    func TestFileStatNUL(t *testing.T) {
    	t.Parallel()
    
    	f, err := os.Open("NUL")
    	if err != nil {
    		t.Fatal(err)
    	}
    	fi, err := f.Stat()
    	if err != nil {
    		t.Fatal(err)
    	}
    	if got, want := fi.Mode(), os.ModeDevice|os.ModeCharDevice|0666; got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  6. src/compress/gzip/gzip.go

    	if err != nil {
    		return err
    	}
    	_, err = z.w.Write(b)
    	return err
    }
    
    // writeString writes a UTF-8 string s in GZIP's format to z.w.
    // GZIP (RFC 1952) specifies that strings are NUL-terminated ISO 8859-1 (Latin-1).
    func (z *Writer) writeString(s string) (err error) {
    	// GZIP stores Latin-1 strings; error if non-Latin-1; convert if non-ASCII.
    	needconv := false
    	for _, v := range s {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    // If s contains a NUL byte this function panics instead of
    // returning an error.
    func StringToUTF16(s string) []uint16 {
    	a, err := UTF16FromString(s)
    	if err != nil {
    		panic("windows: string with NUL passed to StringToUTF16")
    	}
    	return a
    }
    
    // UTF16FromString returns the UTF-16 encoding of the UTF-8 string
    // s, with a terminating NUL added. If s contains a NUL byte at any
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/net/PercentEscaperTest.java

            assertUnescaped(e, c);
          } else {
            assertEscaping(e, escapeAscii(c), c);
          }
        }
    
        // Testing multibyte escape sequences
        assertEscaping(e, "%00", '\u0000'); // nul
        assertEscaping(e, "%7F", '\u007f'); // del
        assertEscaping(e, "%C2%80", '\u0080'); // xx-00010,x-000000
        assertEscaping(e, "%DF%BF", '\u07ff'); // xx-11111,x-111111
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  9. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/AbstractTestDirectoryProvider.java

        private static final int MAX_RANDOM_PART_VALUE = Integer.parseInt("zzzzz", ALL_DIGITS_AND_LETTERS_RADIX);
        private static final Pattern WINDOWS_RESERVED_NAMES = Pattern.compile("(con)|(prn)|(aux)|(nul)|(com\\d)|(lpt\\d)", Pattern.CASE_INSENSITIVE);
    
        private String prefix;
        private TestFile dir;
        private boolean cleanup = true;
        private boolean suppressCleanupErrors = false;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. gradlew.bat

    set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
    
    @rem Find java.exe
    if defined JAVA_HOME goto findJavaFromJavaHome
    
    set JAVA_EXE=java.exe
    %JAVA_EXE% -version >NUL 2>&1
    if %ERRORLEVEL% equ 0 goto execute
    
    echo.
    echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
    echo.
    echo Please set the JAVA_HOME variable in your environment to match the
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Fri Nov 25 16:14:58 UTC 2022
    - 2.7K bytes
    - Viewed (0)
Back to top