Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,934 for returns_ (0.1 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. pkg/kubelet/util/util_windows.go

    	output, _, err := tickCount.Call()
    	if errno, ok := err.(syscall.Errno); !ok || errno != 0 {
    		return time.Time{}, err
    	}
    	return currentTime.Add(-time.Duration(output) * time.Millisecond).Truncate(time.Second), nil
    }
    
    // NormalizePath converts FS paths returned by certain go frameworks (like fsnotify)
    // to native Windows paths that can be passed to Windows specific code
    func NormalizePath(path string) string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. src/mime/type.go

    			s, _ := si.(string)
    			return s
    		}
    		if 'A' <= c && c <= 'Z' {
    			lower = append(lower, c+('a'-'A'))
    		} else {
    			lower = append(lower, c)
    		}
    	}
    	si, _ := mimeTypesLower.Load(string(lower))
    	s, _ := si.(string)
    	return s
    }
    
    // ExtensionsByType returns the extensions known to be associated with the MIME
    // type typ. The returned extensions will each begin with a leading dot, as in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/syntax/positions.go

    		return list[l-1]
    	}
    	return nil
    }
    
    func lastStmt(list []Stmt) Stmt {
    	if l := len(list); l > 0 {
    		return list[l-1]
    	}
    	return nil
    }
    
    func lastField(list []*Field) *Field {
    	if l := len(list); l > 0 {
    		return list[l-1]
    	}
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 17:49:19 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. src/crypto/ecdh/nist.go

    		panic("crypto/ecdh: internal error: nistec ScalarBaseMult returned the identity")
    	}
    	return &PublicKey{
    		curve:     key.curve,
    		publicKey: publicKey,
    	}
    }
    
    // isZero returns whether a is all zeroes in constant time.
    func isZero(a []byte) bool {
    	var acc byte
    	for _, b := range a {
    		acc |= b
    	}
    	return acc == 0
    }
    
    // isLess returns whether a < b, where a and b are big-endian buffers of the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top