Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 286 for Mystring (0.44 sec)

  1. test/fixedbugs/issue36705.go

    // #include <stdlib.h>
    // #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. src/internal/syscall/unix/net_darwin.go

    func libc_gai_strerror_trampoline()
    
    func GaiStrerror(ecode int) string {
    	r1, _, _ := syscall_syscall(abi.FuncPCABI0(libc_gai_strerror_trampoline),
    		uintptr(ecode),
    		0, 0)
    	return GoString((*byte)(unsafe.Pointer(r1)))
    }
    
    // Implemented in the runtime package.
    func gostring(*byte) string
    
    func GoString(p *byte) string {
    	return gostring(p)
    }
    
    //go:linkname syscall_syscall syscall.syscall
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 28 13:41:21 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/issue4029.go

    	}
    }
    
    func loadThySelf(t *testing.T, symbol string) {
    	this_process := C.dlopen4029(nil, C.RTLD_NOW)
    	if this_process == 0 {
    		t.Error("dlopen:", C.GoString(C.dlerror()))
    		return
    	}
    	defer C.dlclose4029(this_process)
    
    	symbol_address := C.dlsym4029(this_process, C.CString(symbol))
    	if symbol_address == 0 {
    		t.Error("dlsym:", C.GoString(C.dlerror()))
    		return
    	}
    	t.Log(symbol, symbol_address)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 04 15:41:19 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeCreator.kt

            if (descriptor == null) {
                val name = when (builder) {
                    is KaClassTypeBuilder.ByClassId -> builder.classId.asString()
                    is KaClassTypeBuilder.BySymbol ->
                        builder.symbol.classId?.asString()
                            ?: builder.symbol.name?.asString()
                            ?: SpecialNames.ANONYMOUS_STRING
                }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

            return response;
        }
    
        protected static String buildWebConfigJobScript(final String webCofigId) {
            return String.format("return container.getComponent(\"crawlJob\")" + ".logLevel(\"info\")" + ".sessionId(\"%s\")"
                    + ".webConfigIds([\"%s\"] as String[])" + ".jobExecutor(executor).execute();", webCofigId, webCofigId);
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/VfsRelativePathTest.groovy

    class VfsRelativePathTest extends Specification {
    
        def "convert absolute path '#absolutePath' to relative path '#relativePath'"() {
            expect:
            VfsRelativePath.of(absolutePath).asString == relativePath
    
            where:
            absolutePath           | relativePath
            'C:\\'                 | 'C:'
            'C:\\Users\\user'      | 'C:\\Users\\user'
            '/'                    | ''
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10JvmTypeMapperContext.kt

                    if (parentInternalName != null) "$parentInternalName$$selfName" else null
                }
                else -> selfName.asString()
            }
        }
    
        private fun computeSupertypeInternalName(descriptor: ClassDescriptor): String {
            var interfaceSupertypeInternalName: String? = null
    
            for (supertype in descriptor.typeConstructor.supertypes) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. analysis/analysis-api-standalone/analysis-api-fir-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/services/LLStandaloneFirElementByPsiElementChooser.kt

            }
        }
    
        private fun String.asArrayType(): String {
            arrayClassIdByElementType[this]?.let { return it }
            return "kotlin.Array<out $this>"
        }
    
        private val arrayClassIdByElementType: Map<String, String> = buildList<Pair<String, String>> {
            StandardClassIds.primitiveArrayTypeByElementType.mapTo(this) { (classId, arrayClassId) ->
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 15 11:34:07 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/callback_c.c

    }
    
    int
    returnAfterGrowFromGo(void)
    {
    	extern int goReturnVal(void);
    	return goReturnVal();
    }
    
    void
    callGoWithString(void)
    {
    	extern void goWithString(GoString);
    	const char *str = "string passed from C to Go";
    	goWithString((GoString){str, strlen(str)});
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 933 bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt

    private
    fun <T> T.matchesNameAndIsSince(candidateName: String, version: String): Boolean where T : BodyDeclaration<*>, T : NodeWithSimpleName<*> =
        takeIf { it.matchesName(candidateName) }?.isSince(version) == true
    
    
    private
    fun <T : NodeWithSimpleName<*>> T.matchesName(candidateName: String) =
        matchesName(name.asString(), candidateName)
    
    
    private
    fun matchesName(name: String, candidateName: String) =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 20:12:19 UTC 2023
    - 6.6K bytes
    - Viewed (0)
Back to top