Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 312 for unnamed (0.16 sec)

  1. src/syscall/syscall_linux.go

    	}
    	// length is family (uint16), name, NUL.
    	sl := _Socklen(2)
    	if n > 0 {
    		sl += _Socklen(n) + 1
    	}
    	if sa.raw.Path[0] == '@' || (sa.raw.Path[0] == 0 && sl > 3) {
    		// Check sl > 3 so we don't change unnamed socket behavior.
    		sa.raw.Path[0] = 0
    		// Don't count trailing NUL for abstract address.
    		sl--
    	}
    
    	return unsafe.Pointer(&sa.raw), sl, nil
    }
    
    type SockaddrLinklayer struct {
    	Protocol uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/named.go

    // If the given type name obj doesn't have a type yet, its type is set to the returned named type.
    // The underlying type must not be a *Named.
    func NewNamed(obj *TypeName, underlying Type, methods []*Func) *Named {
    	if asNamed(underlying) != nil {
    		panic("underlying type must not be *Named")
    	}
    	return (*Checker)(nil).newNamed(obj, underlying, methods)
    }
    
    // resolve resolves the type parameters, methods, and underlying type of n.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/test.go

    	char pad;
    };
    
    struct issue8428three {
    	char w[1][2][3][0];
    	char x[2][3][0][1];
    	char y[3][0][1][2];
    	char z[0][1][2][3];
    };
    
    // issue 8331 part 1 - part 2 in testx.go
    // A typedef of an unnamed struct is the same struct when
    // #include'd twice.  No runtime test; just make sure it compiles.
    #include "issue8331.h"
    
    // issue 8368 and 8441
    // Recursive struct definitions didn't work.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  4. src/go/types/named.go

    // If the given type name obj doesn't have a type yet, its type is set to the returned named type.
    // The underlying type must not be a *Named.
    func NewNamed(obj *TypeName, underlying Type, methods []*Func) *Named {
    	if asNamed(underlying) != nil {
    		panic("underlying type must not be *Named")
    	}
    	return (*Checker)(nil).newNamed(obj, underlying, methods)
    }
    
    // resolve resolves the type parameters, methods, and underlying type of n.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 24K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/FileOperationsTest.java

                f.createNewFile();
                boolean renamed = false;
                try {
                    f.renameTo(f2);
                    try {
                        assertTrue(f2.exists());
                        renamed = true;
                    }
                    finally {
                        f2.delete();
                    }
                }
                finally {
                    if ( !renamed && f.exists() ) {
                        f.delete();
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:17:59 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  6. src/go/printer/testdata/declarations.input

    import "io"
    
    import (
    	_ "io"
    )
    
    import _ "io"
    
    import (
    	"io"
    	"io"
    	"io"
    )
    
    import (
    	"io"
    	aLongRename "io"
    
    	b "io"
    )
    
    import (
           "unrenamed"
           renamed "renameMe"
           . "io"
           _ "io"
           "io"
           . "os"
    )
    
    // no newlines between consecutive single imports, but
    // respect extra line breaks in the source (at most one empty line)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 13 22:24:31 UTC 2021
    - 16.5K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformEnvironmentIntegrationTest.groovy

                    "test",
                    "renamed-junit-jupiter-api-${JUNIT_JUPITER_VERSION}.jar",
                    "renamed-junit-platform-launcher-${JUNIT_PLATFORM_VERSION}.jar",
                    "renamed-junit-jupiter-engine-${JUNIT_JUPITER_VERSION}.jar",
                    "renamed-junit-platform-commons-${JUNIT_PLATFORM_VERSION}.jar",
                    "renamed-junit-jupiter-${JUNIT_JUPITER_VERSION}.jar",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  8. src/go/printer/testdata/declarations.golden

    package imports
    
    import "io"
    
    import (
    	_ "io"
    )
    
    import _ "io"
    
    import (
    	"io"
    	"io"
    	"io"
    )
    
    import (
    	"io"
    	aLongRename "io"
    
    	b "io"
    )
    
    import (
    	"unrenamed"
    	renamed "renameMe"
    	. "io"
    	_ "io"
    	"io"
    	. "os"
    )
    
    // no newlines between consecutive single imports, but
    // respect extra line breaks in the source (at most one empty line)
    import _ "io"
    import _ "io"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 13 22:24:31 UTC 2021
    - 16.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/tests.go

    		}
    	}
    }
    
    func checkExampleName(pass *analysis.Pass, fn *ast.FuncDecl) {
    	fnName := fn.Name.Name
    	if params := fn.Type.Params; len(params.List) != 0 {
    		pass.Reportf(fn.Pos(), "%s should be niladic", fnName)
    	}
    	if results := fn.Type.Results; results != nil && len(results.List) != 0 {
    		pass.Reportf(fn.Pos(), "%s should return nothing", fnName)
    	}
    	if tparams := fn.Type.TypeParams; tparams != nil && len(tparams.List) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testplugin/plugin_test.go

    	prettyPrintf("cp plugin2.so plugin2-dup.so\n")
    
    	goCmd(nil, "build", "-buildmode=plugin", "-o=sub/plugin1.so", "./sub/plugin1")
    	goCmd(nil, "build", "-buildmode=plugin", "-o=unnamed1.so", "./unnamed1/main.go")
    	goCmd(nil, "build", "-buildmode=plugin", "-o=unnamed2.so", "./unnamed2/main.go")
    	goCmd(nil, "build", "-o", "host.exe", "./host")
    
    	return m.Run()
    }
    
    func goCmd(t *testing.T, op string, args ...string) string {
    	if t != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top