Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 64 for libc (0.12 sec)

  1. src/runtime/netpoll_solaris.go

    //go:cgo_import_dynamic libc_port_create port_create "libc.so"
    //go:cgo_import_dynamic libc_port_associate port_associate "libc.so"
    //go:cgo_import_dynamic libc_port_dissociate port_dissociate "libc.so"
    //go:cgo_import_dynamic libc_port_getn port_getn "libc.so"
    //go:cgo_import_dynamic libc_port_alert port_alert "libc.so"
    
    //go:linkname libc_port_create libc_port_create
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. src/net/conf.go

    					// similar local resolution mechanisms, assume that
    					// libc might (via Avahi, etc) and use cgo.
    					return hostLookupCgo, dnsConf
    				}
    
    				// We don't parse mdns.allow files. They're rare. If one
    				// exists, it might list other TLDs (besides .local) or even
    				// '*', so just let libc deal with it.
    				var haveMDNSAllow bool
    				switch c.mdnsTest {
    				case mdnsFromSystem:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  3. src/runtime/sys_darwin.go

    //go:cgo_import_dynamic libc_close close "/usr/lib/libSystem.B.dylib"
    //go:cgo_import_dynamic libc_read read "/usr/lib/libSystem.B.dylib"
    //go:cgo_import_dynamic libc_write write "/usr/lib/libSystem.B.dylib"
    //go:cgo_import_dynamic libc_pipe pipe "/usr/lib/libSystem.B.dylib"
    
    //go:cgo_import_dynamic libc_mmap mmap "/usr/lib/libSystem.B.dylib"
    //go:cgo_import_dynamic libc_munmap munmap "/usr/lib/libSystem.B.dylib"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/elf_test.go

    	}
    	libs, err := f.ImportedLibraries()
    	if err != nil {
    		t.Fatalf("Failed to read imported libraries: %v", err)
    	}
    
    	var count int
    	for _, lib := range libs {
    		if lib == "libc.so" || strings.HasPrefix(lib, "libc.so.") {
    			count++
    		}
    	}
    
    	if got, want := count, 1; got != want {
    		t.Errorf("Got %d entries for `libc.so`, want %d", got, want)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 13:44:07 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. src/cmd/cgo/doc.go

    	//go:cgo_import_dynamic puts puts#GLIBC_2.2.5 "libc.so.6"
    	//go:cgo_import_dynamic __libc_start_main __libc_start_main#GLIBC_2.2.5 "libc.so.6"
    	//go:cgo_import_dynamic stdout stdout#GLIBC_2.2.5 "libc.so.6"
    	//go:cgo_import_dynamic fflush fflush#GLIBC_2.2.5 "libc.so.6"
    	//go:cgo_import_dynamic _ _ "libpthread.so.0"
    	//go:cgo_import_dynamic _ _ "libc.so.6"
    
    In the end, the compiled Go package, which will eventually be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  6. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/services/NativeServices.java

            }
            if (isLinuxWithMusl()) {
                LOGGER.debug("Native-platform is not available on Linux with musl libc.");
                return false;
            }
            return true;
        }
    
        /**
         * Our native libraries don't currently support musl libc.
         * See <a href="https://github.com/gradle/gradle/issues/24875">#24875</a>.
         */
        private static boolean isLinuxWithMusl() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:39 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  7. src/runtime/signal_unix.go

    // 1. It should be a signal that's passed-through by debuggers by
    // default. On Linux, this is SIGALRM, SIGURG, SIGCHLD, SIGIO,
    // SIGVTALRM, SIGPROF, and SIGWINCH, plus some glibc-internal signals.
    //
    // 2. It shouldn't be used internally by libc in mixed Go/C binaries
    // because libc may assume it's the only thing that can handle these
    // signals. For example SIGCANCEL or SIGSETXID.
    //
    // 3. It should be a signal that can happen spuriously without
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  8. src/net/dnsclient_unix.go

    		// but that is a detail of the specific lookup mechanism.
    		// Other lookups might allow broader name syntax
    		// (for example Multicast DNS allows UTF-8; see RFC 6762).
    		// For consistency with libc resolvers, report no such host.
    		return dnsmessage.Parser{}, "", newDNSError(errNoSuchHost, name, "")
    	}
    
    	if conf == nil {
    		conf = getSystemDNSConfig()
    	}
    
    	var (
    		p      dnsmessage.Parser
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  9. src/net/cgo_unix.go

    // Copyright 2011 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file is called cgo_unix.go, but to allow syscalls-to-libc-based
    // implementations to share the code, it does not use cgo directly.
    // Instead of C.foo it uses _C_foo, which is defined in either
    // cgo_unix_cgo.go or cgo_unix_syscall.go
    
    //go:build !netgo && ((cgo && unix) || darwin)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  10. src/runtime/crash_test.go

    		}
    	}
    }
    
    func TestTimePprof(t *testing.T) {
    	// This test is unreliable on any system in which nanotime
    	// calls into libc.
    	switch runtime.GOOS {
    	case "aix", "darwin", "illumos", "openbsd", "solaris":
    		t.Skipf("skipping on %s because nanotime calls libc", runtime.GOOS)
    	}
    
    	// Pass GOTRACEBACK for issue #41120 to try to get more
    	// information on timeout.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 19:46:10 UTC 2024
    - 27K bytes
    - Viewed (0)
Back to top