Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ComputerName (0.15 sec)

  1. src/main/assemblies/files/fess.bat

    	        SET newparams=!newparams! !current!
            ) ELSE (
                SET newparams=!current!
            )
    	)
    	
        IF "x!params!" NEQ "x" (
    		GOTO loop
    	)
    )
    
    SET HOSTNAME=%COMPUTERNAME%
    
    CALL "%~dp0fess.in.bat"
    IF ERRORLEVEL 1 (
    	IF NOT DEFINED nopauseonerror (
    		PAUSE
    	)
    	EXIT /B %ERRORLEVEL%
    )
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sun May 24 22:24:52 UTC 2020
    - 796 bytes
    - Viewed (0)
  2. src/syscall/syscall_windows_test.go

    		t.Error("Open should have failed")
    	} else {
    		syscall.CloseHandle(h)
    	}
    }
    
    func TestComputerName(t *testing.T) {
    	name, err := syscall.ComputerName()
    	if err != nil {
    		t.Fatalf("ComputerName failed: %v", err)
    	}
    	if len(name) == 0 {
    		t.Error("ComputerName returned empty string")
    	}
    }
    
    func TestWin32finddata(t *testing.T) {
    	dir := t.TempDir()
    
    	path := filepath.Join(dir, "long_name.and_extension")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 16:33:09 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  3. cluster/gce/windows/testonly/user-profile.psm1

        {
            [DllImport("userenv.dll", CharSet = CharSet.Unicode, ExactSpelling = false, SetLastError = true)]
            public static extern bool DeleteProfile(string sidString, string profilePath, string computerName);
    
            [DllImport("kernel32.dll")]
            public static extern uint GetLastError();
        }
    
        public static class Profile
        {
            public static uint Delete(string sidString)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 26 00:44:57 UTC 2019
    - 9.4K bytes
    - Viewed (0)
Back to top