Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for cgodata (3.56 sec)

  1. src/cmd/link/internal/ld/go.go

    		fmt.Fprintf(os.Stderr, "%s: %s: failed decoding cgo directives: %v\n", os.Args[0], file, err)
    		nerrors++
    		return
    	}
    
    	// Record the directives. We'll process them later after Symbols are created.
    	ctxt.cgodata = append(ctxt.cgodata, cgodata{file, pkg, directives})
    }
    
    // Set symbol attributes or flags based on cgo directives.
    // Any newly discovered HOSTOBJ syms are added to 'hostObjSyms'.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:48:30 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  2. src/crypto/sha256/sha256_test.go

    	}))
    	if n > 0 {
    		t.Errorf("allocs = %d, want 0", n)
    	}
    }
    
    type cgoData struct {
    	Data [16]byte
    	Ptr  *cgoData
    }
    
    func TestCgo(t *testing.T) {
    	// Test that Write does not cause cgo to scan the entire cgoData struct for pointers.
    	// The scan (if any) should be limited to the [16]byte.
    	d := new(cgoData)
    	d.Ptr = d
    	h := New()
    	h.Write(d.Data[:])
    	h.Sum(nil)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 03 21:21:42 UTC 2023
    - 34.8K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/symtab.go

    	ctxt.xdefine("runtime.epclntab", sym.SRODATA, 0)
    	ctxt.xdefine("runtime.esymtab", sym.SRODATA, 0)
    
    	// garbage collection symbols
    	s := ldr.CreateSymForUpdate("runtime.gcdata", 0)
    	s.SetType(sym.SRODATA)
    	s.SetSize(0)
    	ctxt.xdefine("runtime.egcdata", sym.SRODATA, 0)
    
    	s = ldr.CreateSymForUpdate("runtime.gcbss", 0)
    	s.SetType(sym.SRODATA)
    	s.SetSize(0)
    	ctxt.xdefine("runtime.egcbss", sym.SRODATA, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 16:29:40 UTC 2023
    - 29.2K bytes
    - Viewed (0)
  4. pkg/kubelet/certificate/bootstrap/bootstrap.go

    func writeKubeconfigFromBootstrapping(bootstrapClientConfig *restclient.Config, kubeconfigPath, pemPath string) error {
    	// Get the CA data from the bootstrap client config.
    	caFile, caData := bootstrapClientConfig.CAFile, []byte{}
    	if len(caFile) == 0 {
    		caData = bootstrapClientConfig.CAData
    	}
    
    	// Build resulting kubeconfig.
    	kubeconfigData := clientcmdapi.Config{
    		// Define a cluster stanza based on the bootstrap kubeconfig.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 27 08:04:25 UTC 2022
    - 14.2K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.s

    DATA	·libc_bind_trampoline_addr(SB)/8, $libc_bind_trampoline<>(SB)
    
    TEXT libc_connect_trampoline<>(SB),NOSPLIT,$0-0
    	CALL	libc_connect(SB)
    	RET
    GLOBL	·libc_connect_trampoline_addr(SB), RODATA, $8
    DATA	·libc_connect_trampoline_addr(SB)/8, $libc_connect_trampoline<>(SB)
    
    TEXT libc_socket_trampoline<>(SB),NOSPLIT,$0-0
    	CALL	libc_socket(SB)
    	RET
    GLOBL	·libc_socket_trampoline_addr(SB), RODATA, $8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 27.5K bytes
    - Viewed (0)
  6. istioctl/pkg/multicluster/remote_secret_test.go

    	sa := makeServiceAccount("saSecret")
    	sa2 := makeServiceAccount("saSecret", "saSecret2")
    	saSecret := makeSecret("saSecret", "caData", "token")
    	saSecret2 := makeSecret("saSecret2", "caData", "token")
    	saSecretMissingToken := makeSecret("saSecret", "caData", "")
    
    	tokenWaitBackoff = 10 * time.Millisecond
    
    	cases := []struct {
    		testName string
    
    		objs       []runtime.Object
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 20.6K bytes
    - Viewed (0)
  7. src/cmd/covdata/dump.go

    	if len(msg) > 0 {
    		fmt.Fprintf(os.Stderr, "error: %s\n", msg)
    	}
    	fmt.Fprintf(os.Stderr, "usage: go tool covdata %s -i=<directories>\n\n", d.cmd)
    	flag.PrintDefaults()
    	fmt.Fprintf(os.Stderr, "\nExamples:\n\n")
    	switch d.cmd {
    	case pkglistMode:
    		fmt.Fprintf(os.Stderr, "  go tool covdata pkglist -i=dir1,dir2\n\n")
    		fmt.Fprintf(os.Stderr, "  \treads coverage data files from dir1+dirs2\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:57 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/internal/xml/SimpleMarkupWriter.java

        }
    
        public SimpleMarkupWriter startCDATA() throws IOException {
            if (context == Context.CData) {
                throw new IllegalStateException("Cannot start CDATA node, as current CDATA node has not been closed.");
            }
            maybeFinishStartTag();
            writeRaw("<![CDATA[");
            context = Context.CData;
            squareBrackets = 0;
            return this;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 02 12:15:58 UTC 2021
    - 12K bytes
    - Viewed (0)
  9. src/cmd/link/internal/loader/loader_test.go

    		t.Errorf("SymType(es3): expected %v, got %v", sym.Sxxx, es3typ)
    	}
    	sb3.SetType(sym.SRODATA)
    	es3typ = sb3.Type()
    	if es3typ != sym.SRODATA {
    		t.Errorf("SymType(es3): expected %v, got %v", sym.SRODATA, es3typ)
    	}
    	es3typ = ldr.SymType(es3)
    	if es3typ != sym.SRODATA {
    		t.Errorf("SymType(es3): expected %v, got %v", sym.SRODATA, es3typ)
    	}
    
    	// New symbols should not initially be reachable.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:08:09 UTC 2024
    - 12K bytes
    - Viewed (0)
  10. istioctl/pkg/multicluster/remote_secret.go

    		},
    		CurrentContext: clusterName,
    	}
    }
    
    func createBearerTokenKubeconfig(caData, token []byte, clusterName, server string) *api.Config {
    	c := createBaseKubeconfig(caData, clusterName, server)
    	c.AuthInfos[c.CurrentContext] = &api.AuthInfo{
    		Token: string(token),
    	}
    	return c
    }
    
    func createPluginKubeconfig(caData []byte, clusterName, server string, authProviderConfig *api.AuthProviderConfig) *api.Config {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 11 01:43:17 UTC 2023
    - 24K bytes
    - Viewed (0)
Back to top