Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 387 for IsString (0.14 sec)

  1. test/fixedbugs/issue36705.go

    // #include <unistd.h>
    import "C"
    
    import "os"
    
    func main() {
    	os.Setenv("FOO", "bar")
    	s := C.GoString(C.getenv(C.CString("FOO")))
    	if s != "bar" {
    		panic("bad setenv, environment variable only has value \"" + s + "\"")
    	}
    	os.Unsetenv("FOO")
    	s = C.GoString(C.getenv(C.CString("FOO")))
    	if s != "" {
    		panic("bad unsetenv, environment variable still has value \"" + s + "\"")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 649 bytes
    - Viewed (0)
  2. istioctl/pkg/internaldebug/internal-debug.go

    	writer io.Writer,
    	istioNamespace string,
    	xdsResponses map[string]*discovery.DiscoveryResponse,
    ) (map[string]*discovery.DiscoveryResponse, error) {
    	for _, response := range xdsResponses {
    		for _, resource := range response.Resources {
    			eString := string(resource.Value)
    			switch {
    			case strings.Contains(eString, "You must provide a proxyID in the query string"):
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 04:16:55 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/annotations/NestedValidationUtil.java

                return Optional.of("Type is in 'kotlin.*' package that is reserved for Kotlin stdlib types");
            } else if (type.getName().startsWith("groovy.lang.GString")) {
                return Optional.of("Groovy's GString type is not supported as a nested type");
            } else {
                return Optional.empty();
            }
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 09:10:37 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ScopeIdsFixture.groovy

        }
    
        @Override
        void afterBuild() {
            Map<String, Map<String, String>> idsMap = idsFile.readLines()
                .collect { line -> new JsonSlurper().parse(new StringReader(line)) as Map<String, Map<String, String>> }
                .collectMany { it.entrySet() }
                .collectEntries { it }
            Map<String, ScopeIds> ids = [:]
            idsMap.each {
                ids[it.key] = new ScopeIds(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. src/runtime/libfuzzer.go

    // for case-insensitive string equality in the runtime package.
    //
    //go:nosplit
    func libfuzzerHookEqualFold(s1, s2 string, fakePC int) {
    	if s1 != s2 {
    		libfuzzerCall4(&__sanitizer_weak_hook_strcmp, uintptr(fakePC), cstring(s1), cstring(s2), uintptr(1))
    	}
    }
    
    //go:linkname __sanitizer_cov_trace_cmp1 __sanitizer_cov_trace_cmp1
    //go:cgo_import_static __sanitizer_cov_trace_cmp1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 23 01:12:02 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  6. src/internal/xcoff/file.go

    		}
    	}
    	return nil
    }
    
    // cstring converts ASCII byte sequence b to string.
    // It stops once it finds 0 or reaches end of b.
    func cstring(b []byte) string {
    	var i int
    	for i = 0; i < len(b) && b[i] != 0; i++ {
    	}
    	return string(b[:i])
    }
    
    // getString extracts a string from an XCOFF string table.
    func getString(st []byte, offset uint32) (string, bool) {
    	if offset < 4 || int(offset) >= len(st) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 12 14:42:29 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/WrapperNode.java

        }
    
        @Override
        @Nonnull
        public Optional<RemoteRepository> getRepository() {
            return delegate.getRepository();
        }
    
        @Override
        @Nonnull
        public String asString() {
            return delegate.asString();
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. doc/go1.17_spec.html

    </p>
    
    <h3 id="String_types">String types</h3>
    
    <p>
    A <i>string type</i> represents the set of string values.
    A string value is a (possibly empty) sequence of bytes.
    The number of bytes is called the length of the string and is never negative.
    Strings are immutable: once created,
    it is impossible to change the contents of a string.
    The predeclared string type is <code>string</code>;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirPackageSymbol.kt

        private val project: Project,
        override val token: KaLifetimeToken
    ) : KaPackageSymbol(), KaLifetimeOwner {
        override val psi: PsiElement? by cached {
            JavaPsiFacade.getInstance(project).findPackage(fqName.asString())
                ?: KtPackage(PsiManager.getInstance(project), fqName, GlobalSearchScope.allScope(project)/*TODO*/)
        }
    
        override val origin: KaSymbolOrigin
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirTypeAliasSymbol.kt

            when (val symbolKind = symbolKind) {
                KaSymbolKind.LOCAL ->
                    throw CanNotCreateSymbolPointerForLocalLibraryDeclarationException(classId?.asString() ?: name.asString())
    
                KaSymbolKind.CLASS_MEMBER, KaSymbolKind.TOP_LEVEL -> KaFirClassLikeSymbolPointer(classId!!, KaTypeAliasSymbol::class)
                else -> throw UnsupportedSymbolKind(this::class, symbolKind)
            }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top