Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for symstrings (0.32 sec)

  1. src/runtime/vdso_linux.go

    	var hash, gnuhash *[vdsoHashSize]uint32
    	info.symstrings = nil
    	info.symtab = nil
    	info.versym = nil
    	info.verdef = nil
    	for i := 0; dyn[i].d_tag != _DT_NULL; i++ {
    		dt := &dyn[i]
    		p := info.loadOffset + uintptr(dt.d_val)
    		switch dt.d_tag {
    		case _DT_STRTAB:
    			info.symstrings = (*[vdsoSymStringsSize]byte)(unsafe.Pointer(p))
    		case _DT_SYMTAB:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 19 19:32:35 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  2. src/debug/elf/elf.go

    )
    
    var shnStrings = []intName{
    	{0, "SHN_UNDEF"},
    	{0xff00, "SHN_LOPROC"},
    	{0xff20, "SHN_LOOS"},
    	{0xfff1, "SHN_ABS"},
    	{0xfff2, "SHN_COMMON"},
    	{0xffff, "SHN_XINDEX"},
    }
    
    func (i SectionIndex) String() string   { return stringName(uint32(i), shnStrings, false) }
    func (i SectionIndex) GoString() string { return stringName(uint32(i), shnStrings, true) }
    
    // Section type.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 00:01:16 UTC 2024
    - 134.6K bytes
    - Viewed (0)
  3. pkg/controller/validatingadmissionpolicystatus/controller_test.go

    			}
    		}
    	}
    }
    
    func toHaveSubstring(substrings ...string) func(warnings []admissionregistrationv1.ExpressionWarning, t *testing.T) {
    	return func(warnings []admissionregistrationv1.ExpressionWarning, t *testing.T) {
    		if len(substrings) != len(warnings) {
    			t.Fatalf("mismatched length, expect %d, got %d", len(substrings), len(warnings))
    		}
    		for i := range substrings {
    			if !strings.Contains(warnings[i].Warning, substrings[i]) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. security/pkg/k8s/tokenreview/k8sauthn.go

    	subStrings := strings.Split(tokenReview.Status.User.Username, ":")
    	if len(subStrings) != 4 {
    		return security.KubernetesInfo{}, fmt.Errorf("invalid username field in the token review result")
    	}
    
    	return security.KubernetesInfo{
    		PodName:           extractExtra(tokenReview, PodNameKey),
    		PodNamespace:      subStrings[2],
    		PodUID:            extractExtra(tokenReview, PodUIDKey),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 13 17:12:41 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/podcgroupns.go

    	for scanner.Scan() {
    		token := scanner.Text()
    		substrings := strings.SplitN(token, ":", 3)
    		if len(substrings) < 3 {
    			return nil, fmt.Errorf("cgroup entry contains %v colons, but expected at least 2 colons: %q", len(substrings), token)
    		}
    		cgroups = append(cgroups, Cgroup{
    			HierarchyID:    substrings[0],
    			ControllerList: substrings[1],
    			GroupPath:      substrings[2],
    		})
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. src/compress/flate/example_test.go

    	// the compressor will attempt to substitute substrings with matches found
    	// in the dictionary. As such, the dictionary should only contain substrings
    	// that are expected to be found in the actual data stream.
    	const dict = `<?xml version="1.0"?>` + `<book>` + `<data>` + `<meta name="` + `" content="`
    
    	// The data to compress should (but is not required to) contain frequent
    	// substrings that match those in the dictionary.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 12 18:42:35 UTC 2016
    - 6.5K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/providers/collections/kotlin/build.gradle.kts

    // tag::dos[]
    abstract class MyPluginExtensionDomainObjectSet {
        // Define a domain object set to hold strings
        val myStrings: DomainObjectSet<String> = project.objects.domainObjectSet(String::class)
    
        // Add some strings to the domain object set
        fun addString(value: String) {
            myStrings.add(value)
        }
    }
    // end::dos[]
    
    // tag::ndos[]
    // tag::ndol[]
    // tag::ndoc[]
    abstract class Person(val name: String)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 18:14:15 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedModelMapIntegrationTest.groovy

                        println "setStrings: " + $.setStrings.keySet()
                      }
                    }
                  }
                }
            '''
    
            then:
            succeeds "print"
    
            and:
            output.contains "mapThings: []"
            output.contains "setThings: []"
            output.contains "setStrings: []"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  9. src/strings/strings.go

    	a[i] = s
    	return a[:i+1]
    }
    
    // SplitN slices s into substrings separated by sep and returns a slice of
    // the substrings between those separators.
    //
    // The count determines the number of substrings to return:
    //
    //	n > 0: at most n substrings; the last substring will be the unsplit remainder.
    //	n == 0: the result is nil (zero substrings)
    //	n < 0: all substrings
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:48:16 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/windows/eventlog.go

    //sys	DeregisterEventSource(handle Handle) (err error) = advapi32.DeregisterEventSource
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 825 bytes
    - Viewed (0)
Back to top