Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of about 10,000 for returns_ (0.36 sec)

  1. subprojects/diagnostics/src/main/java/org/gradle/api/reporting/components/internal/RendererUtils.java

         *     <li>otherwise the return value of {@link Object#toString()} is used.</li>
         * </ul>
         *
         * <p>The method returns the converted value, unless it is {@code null}, in which case the string {@code "null"} is returned instead.</p>
         */
        public static String displayValueOf(Object value) {
            String result = null;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 30 23:30:16 UTC 2016
    - 2.2K bytes
    - Viewed (0)
  2. 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)
  3. staging/src/k8s.io/apiserver/pkg/server/signal.go

    	}()
    
    	return ctx
    }
    
    // RequestShutdown emulates a received event that is considered as shutdown signal (SIGTERM/SIGINT)
    // This returns whether a handler was notified
    func RequestShutdown() bool {
    	if shutdownHandler != nil {
    		select {
    		case shutdownHandler <- shutdownSignals[0]:
    			return true
    		default:
    		}
    	}
    
    	return false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 06 14:30:27 UTC 2020
    - 2K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/discovery/discovery.go

    		return file.RetrieveValidatedConfigInfo(kubeConfigPath, timeout)
    	case cfg.Discovery.BootstrapToken != nil:
    		return token.RetrieveValidatedConfigInfo(&cfg.Discovery, timeout)
    	default:
    		return nil, errors.New("couldn't find a valid discovery configuration")
    	}
    }
    
    // isHTTPSURL checks whether the string is parsable as a URL and whether the Scheme is https
    func isHTTPSURL(s string) bool {
    	u, err := url.Parse(s)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. 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)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/VersionSelector.java

         * in the sense that it will always return a correct answer whenever exposed to a version. But a
         * "latest" selector will give a different answer whether is called first, or starting with a
         * pre-selected version.
         *
         * @return true if this selector can short-circuit
         */
        boolean canShortCircuitWhenVersionAlreadyPreselected();
    
        /**
         * Returns this selector as a string.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. subprojects/core-api/src/main/java/org/gradle/api/tasks/TaskInputs.java

     */
    @HasInternalProtocol
    public interface TaskInputs {
        /**
         * Returns true if this task has declared the inputs that it consumes.
         *
         * @return true if this task has declared any inputs.
         */
        boolean getHasInputs();
    
        /**
         * Returns the input files of this task.
         *
         * @return The input files. Returns an empty collection if this task has no input files.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 26 16:09:35 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  8. src/crypto/tls/cache.go

    func (cc *certCache) newCert(der []byte) (*activeCert, error) {
    	if entry, ok := cc.Load(string(der)); ok {
    		return cc.active(entry.(*cacheEntry)), nil
    	}
    
    	cert, err := x509.ParseCertificate(der)
    	if err != nil {
    		return nil, err
    	}
    
    	entry := &cacheEntry{cert: cert}
    	if entry, loaded := cc.LoadOrStore(string(der), entry); loaded {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 23:56:41 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  9. src/internal/txtar/archive.go

    // Otherwise fixNL returns a new slice consisting of data with a final \n added.
    func fixNL(data []byte) []byte {
    	if len(data) == 0 || data[len(data)-1] == '\n' {
    		return data
    	}
    	d := make([]byte, len(data)+1)
    	copy(d, data)
    	d[len(data)] = '\n'
    	return d
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  10. 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)
Back to top