Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for newNames (0.17 sec)

  1. src/reflect/type.go

    	pkgPathName := abi.Name{Bytes: (*byte)(resolveTypeOff(unsafe.Pointer(n.Bytes), nameOff))}
    	return pkgPathName.Name()
    }
    
    func newName(n, tag string, exported, embedded bool) abi.Name {
    	return abi.NewName(n, tag, exported, embedded)
    }
    
    /*
     * The compiler knows the exact layout of all the data structures above.
     * The compiler does not know about the data structures and methods below.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/parser.go

    // Common productions
    
    func (p *parser) name() *Name {
    	// no tracing to avoid overly verbose output
    
    	if p.tok == _Name {
    		n := NewName(p.pos(), p.lit)
    		p.next()
    		return n
    	}
    
    	n := NewName(p.pos(), "_")
    	p.syntaxError("expected name")
    	p.advance()
    	return n
    }
    
    // IdentifierList = identifier { "," identifier } .
    // The first name must be provided.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/lib.go

    			// so it is consistent with the one stored in the shared library.
    			continue
    		}
    		name := ldr.SymName(s)
    		newName := typeSymbolMangle(name)
    		if newName != name {
    			ldr.SetSymExtname(s, newName)
    
    			// When linking against a shared library, the Go object file may
    			// have reference to the original symbol name whereas the shared
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultConfiguration.java

            }
            return copiedConfiguration;
        }
    
        private DefaultConfiguration newConfiguration(ConfigurationRole role) {
            String newName = getNameWithCopySuffix();
            DetachedConfigurationsProvider configurationsProvider = new DetachedConfigurationsProvider();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:36:01 UTC 2024
    - 85.4K bytes
    - Viewed (0)
  5. src/cmd/cgo/gcc.go

    	if addPosition {
    		getNewIdent = func(newName string) *ast.Ident {
    			mangledIdent := ast.NewIdent(newName)
    			if len(newName) == len(r.Name.Go) {
    				return mangledIdent
    			}
    			p := fset.Position((*r.Expr).End())
    			if p.Column == 0 {
    				return mangledIdent
    			}
    			return ast.NewIdent(fmt.Sprintf("%s /*line :%d:%d*/", newName, p.Line, p.Column))
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/api_test.go

    			continue
    		}
    	}
    }
    
    // newDefined creates a new defined type named T with the given underlying type.
    func newDefined(underlying Type) *Named {
    	tname := NewTypeName(nopos, nil, "T", nil)
    	return NewNamed(tname, underlying, nil)
    }
    
    func TestConvertibleTo(t *testing.T) {
    	for _, test := range []struct {
    		v, t Type
    		want bool
    	}{
    		{Typ[Int], Typ[Int], true},
    		{Typ[Int], Typ[Float32], true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  7. src/go/types/api_test.go

    // Helper function for use with TestIncompleteInterfaces only.
    func newDefined(underlying Type) *Named {
    	tname := NewTypeName(nopos, nil, "T", nil)
    	return NewNamed(tname, underlying, nil)
    }
    
    func TestConvertibleTo(t *testing.T) {
    	for _, test := range []struct {
    		v, t Type
    		want bool
    	}{
    		{Typ[Int], Typ[Int], true},
    		{Typ[Int], Typ[Float32], true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  8. cmd/admin-handlers-users.go

    		if sp.Version == "" && len(sp.Statements) == 0 {
    			sp = nil
    		}
    	}
    	opts := updateServiceAccountOpts{
    		secretKey:     updateReq.NewSecretKey,
    		status:        updateReq.NewStatus,
    		name:          updateReq.NewName,
    		description:   updateReq.NewDescription,
    		expiration:    updateReq.NewExpiration,
    		sessionPolicy: sp,
    	}
    	updatedAt, err := globalIAMSys.UpdateServiceAccount(ctx, accessKey, opts)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:19:04 UTC 2024
    - 78.6K bytes
    - Viewed (0)
Back to top