Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 432 for proc (0.04 sec)

  1. src/encoding/pem/pem.go

    		return err
    	}
    
    	if len(b.Headers) > 0 {
    		const procType = "Proc-Type"
    		h := make([]string, 0, len(b.Headers))
    		hasProcType := false
    		for k := range b.Headers {
    			if k == procType {
    				hasProcType = true
    				continue
    			}
    			h = append(h, k)
    		}
    		// The Proc-Type header must be written first.
    		// See RFC 1421, section 4.6.1.1
    		if hasProcType {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/integTest/groovy/org/gradle/language/fixtures/app/DuplicateMixedSameBaseNamesTestApp.groovy

                return """
    .386
    ;.model flat
    .model small,c
    .data
    msg db "fooFromAsm", 10, 0
    .code
    includelib MSVCRT
    extrn printf:near
    extrn exit:NEAR
    public sayFooFromAsm
    sayFooFromAsm proc
    push    offset msg
    call    printf
    mov eax,0
    push eax
    call exit
    sayFooFromAsm endp
    end
    """
            } else {
                return """
    .text
    
    LC0:
    .ascii "fooFromAsm\\12\\0"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/MixedLanguageHelloWorldApp.groovy

        // See: https://github.com/gradle/gradle/issues/3662
        private static String windowsMasmSource = '''
    .386
    .model    flat
    
    INCLUDE <ks386.inc>
    PUBLIC    _sumx
    _TEXT     SEGMENT
    _sumx    PROC
    mov    eax, DWORD PTR 4[esp]
    add    eax, DWORD PTR 8[esp]
    ret    0
    _sumx    ENDP
    _TEXT   ENDS
    END
    '''
    
        private static String i386GnuAsmSource = '''
        .text
        .globl  _sumx
    _sumx:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. pkg/kubelet/winstats/perfcounter_nodestats.go

    	// 2. On Linux node, total physical memory is read from MemTotal in /proc/meminfo.
    	// GlobalMemoryStatusEx returns the amount of physical memory that is available
    	// for the operating system to use. The amount returned by GlobalMemoryStatusEx
    	// is closer in parity with Linux
    	// https://www.kernel.org/doc/Documentation/filesystems/proc.txt
    	var statex MemoryStatusEx
    	statex.Length = uint32(unsafe.Sizeof(statex))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 26 18:37:21 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. internal/mountinfo/mountinfo_linux_test.go

    	// Success case, where path doesn't have any mounts.
    	{
    		if err = mounts.checkCrossMounts("/path/to/x"); err != nil {
    			t.Fatalf("Expected success, failed instead (%s)", err)
    		}
    	}
    }
    
    // Tests read proc mounts file.
    func TestReadProcmountInfos(t *testing.T) {
    	successCase := `/dev/0 /path/to/0 type0 flags 0 0
    		/dev/1    /path/to/1   type1	flags 1 1
    		/dev/2 /path/to/2 type2 flags,1,2=3 2 2
    		`
    	var err error
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. pkg/util/procfs/procfs_linux_test.go

    	procCgroupEmpty := ""
    	verifyContainerName(procCgroupEmpty, "", true, t)
    
    	content, err := os.ReadFile("example_proc_cgroup")
    	if err != nil {
    		t.Errorf("Could not read example /proc cgroup file")
    	}
    	verifyContainerName(string(content), "/user/1000.user/c1.session", false, t)
    
    	procCgroupNoDevice := "2:freezer:docker/kubelet\n5:cpuacct:pkg/kubectl"
    	verifyContainerName(procCgroupNoDevice, "", true, t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 20 07:13:28 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  7. src/syscall/mksyscall_libc.pl

    	if($dynimports !~ /\s+${sysvarname}\s+/) {
    		$dynimports .= "//go:cgo_import_dynamic ${sysvarname} ${sysname} \"$modname\"\n";
    		# Link symbol to proc address variable.
    		$linknames .= "//go:linkname ${sysvarname} ${sysvarname}\n";
    		# Library proc address variable.
    		push @vars, $sysvarname;
    	}
    
    	# Go function header.
    	$out = join(', ', @out);
    	if($out ne "") {
    		$out = " ($out)";
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 11:28:51 UTC 2023
    - 8K bytes
    - Viewed (0)
  8. src/runtime/runtime-gdb_unix_test.go

    	}
    
    	// Make sure core pattern will send core to the current directory.
    	b, err := os.ReadFile("/proc/sys/kernel/core_pattern")
    	if err != nil {
    		t.Fatalf("error reading core_pattern: %v", err)
    	}
    	if string(b) != "core\n" {
    		t.Skipf("Unexpected core pattern %q", string(b))
    	}
    
    	coreUsesPID := false
    	b, err = os.ReadFile("/proc/sys/kernel/core_uses_pid")
    	if err == nil {
    		switch string(bytes.TrimSpace(b)) {
    		case "0":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 17 19:05:30 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. src/os/exec_plan9.go

    	if e != nil {
    		return nil, &PathError{Op: "fork/exec", Path: name, Err: e}
    	}
    
    	return newPIDProcess(pid), nil
    }
    
    func (p *Process) writeProcFile(file string, data string) error {
    	f, e := OpenFile("/proc/"+itoa.Itoa(p.Pid)+"/"+file, O_WRONLY, 0)
    	if e != nil {
    		return e
    	}
    	defer f.Close()
    	_, e = f.Write([]byte(data))
    	return e
    }
    
    func (p *Process) signal(sig Signal) error {
    	switch p.pidStatus() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. src/math/exp_amd64.s

    // license that can be found in the LICENSE file.
    
    #include "textflag.h"
    
    // The method is based on a paper by Naoki Shibata: "Efficient evaluation
    // methods of elementary functions suitable for SIMD computation", Proc.
    // of International Supercomputing Conference 2010 (ISC'10), pp. 25 -- 32
    // (May 2010). The paper is available at
    // https://link.springer.com/article/10.1007/s00450-010-0108-2
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 15 15:48:19 UTC 2021
    - 4.2K bytes
    - Viewed (0)
Back to top