Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 6,433 for returns_ (0.15 sec)

  1. src/go/types/context.go

    		// TODO(rfindley): consider asserting on isGeneric(typ) here, if and when
    		// isGeneric handles *Signature types.
    		h.typeList(targs)
    	}
    
    	return strings.ReplaceAll(buf.String(), " ", "#")
    }
    
    // lookup returns an existing instantiation of orig with targs, if it exists.
    // Otherwise, it returns nil.
    func (ctxt *Context) lookup(h string, orig Type, targs []Type) Type {
    	ctxt.mu.Lock()
    	defer ctxt.mu.Unlock()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. src/strconv/itoa.go

    	if fastSmalls && 0 <= i && i < nSmalls && base == 10 {
    		return small(int(i))
    	}
    	_, s := formatBits(nil, uint64(i), base, i < 0, false)
    	return s
    }
    
    // Itoa is equivalent to [FormatInt](int64(i), 10).
    func Itoa(i int) string {
    	return FormatInt(int64(i), 10)
    }
    
    // AppendInt appends the string form of the integer i,
    // as generated by [FormatInt], to dst and returns the extended buffer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/alias.go

    //
    // [underlying type]: https://go.dev/ref/spec#Underlying_types.
    func (a *Alias) Underlying() Type { return unalias(a).Underlying() }
    
    // Origin returns the generic Alias type of which a is an instance.
    // If a is not an instance of a generic alias, Origin returns a.
    func (a *Alias) Origin() *Alias { return a.orig }
    
    // TypeParams returns the type parameters of the alias type a, or nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. pkg/volume/util/hostutil/hostutil.go

    		return FileTypeFile, nil
    	} else if isSpecificMode(mode, os.ModeSocket) {
    		return FileTypeSocket, nil
    	} else if isSpecificMode(mode, os.ModeDevice) {
    		if isSpecificMode(mode, os.ModeCharDevice) {
    			return FileTypeCharDev, nil
    		}
    		return FileTypeBlockDev, nil
    	}
    
    	return pathType, errUnknownFileType
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 13:38:40 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. internal/grid/stream.go

    func (s *Stream) Send(b []byte) error {
    	if s.Requests == nil {
    		return errors.New("stream does not accept requests")
    	}
    	select {
    	case s.Requests <- b:
    		return nil
    	case <-s.ctx.Done():
    		return context.Cause(s.ctx)
    	}
    }
    
    // Results returns the results from the remote server one by one.
    // If any error is returned by the callback, the stream will be canceled.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. src/go/types/alias.go

    //
    // [underlying type]: https://go.dev/ref/spec#Underlying_types.
    func (a *Alias) Underlying() Type { return unalias(a).Underlying() }
    
    // Origin returns the generic Alias type of which a is an instance.
    // If a is not an instance of a generic alias, Origin returns a.
    func (a *Alias) Origin() *Alias { return a.orig }
    
    // TypeParams returns the type parameters of the alias type a, or nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/declarations/KotlinDirectInheritorsProvider.kt

    import org.jetbrains.kotlin.psi.KtClassOrObject
    
    public interface KotlinDirectInheritorsProvider : KotlinPlatformComponent {
        /**
         * Returns all direct inheritors of [ktClass] that can be found in the given [scope]. If [includeLocalInheritors] is `false`, only
         * non-local inheritors will be returned.
         *
         * The implementor of [getDirectKotlinInheritors] is allowed to lazy-resolve symbols up to the `SUPER_TYPES` phase. This is required to
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:57:40 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolve/extensions/KtResolveExtension.kt

         * @see KaResolveExtensionFile
         * @see KaResolveExtension
         */
        public abstract fun getKtFiles(): List<KaResolveExtensionFile>
    
        /**
         * Returns the set of packages that are contained in the files provided by [getKtFiles].
         *
         * The returned package set should be a strict set of all file packages,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. src/strconv/atoc.go

    		if len(s) == 1 {
    			return complex(0, re), pending
    		}
    		fallthrough
    	default:
    		return 0, syntaxError(fnParseComplex, orig)
    	}
    
    	// Read imaginary part.
    	im, n, err := parseFloatPrefix(s, size)
    	if err != nil {
    		err, pending = convErr(err, orig)
    		if err != nil {
    			return 0, err
    		}
    	}
    	s = s[n:]
    	if s != "i" {
    		return 0, syntaxError(fnParseComplex, orig)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 05 00:24:26 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/problems/AdditionalData.java

     * <p>
     * The information returned by {@code #getAsMap} is considered dynamic information and subject to change between Gradle versions.
     *
     * @since 8.6
     */
    @Incubating
    @NonNullApi
    public interface AdditionalData {
    
        /**
         * Returns additional data as a map.
         *
         * @since 8.6
         */
        Map<String, Object> getAsMap();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top