Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of about 10,000 for returns_ (0.11 sec)

  1. android/guava/src/com/google/common/collect/ContiguousSet.java

      public static ContiguousSet<Long> closed(long lower, long upper) {
        return create(Range.closed(lower, upper), DiscreteDomain.longs());
      }
    
      /**
       * Returns a contiguous set containing all {@code int} values from {@code lower} (inclusive) to
       * {@code upper} (exclusive). If the endpoints are equal, an empty set is returned. (These are the
       * same values contained in {@code Range.closedOpen(lower, upper)}.)
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  2. src/database/sql/sql.go

    		ctx:                ctx,
    	}
    	go tx.awaitDone()
    	return tx, nil
    }
    
    // Driver returns the database's underlying driver.
    func (db *DB) Driver() driver.Driver {
    	return db.connector.Driver()
    }
    
    // ErrConnDone is returned by any operation that is performed on a connection
    // that has already been returned to the connection pool.
    var ErrConnDone = errors.New("sql: connection is already closed")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/interface.go

    func (s *Status) WithError(err error) *Status {
    	s.err = err
    	return s
    }
    
    // Code returns code of the Status.
    func (s *Status) Code() Code {
    	if s == nil {
    		return Success
    	}
    	return s.code
    }
    
    // Message returns a concatenated message on reasons of the Status.
    func (s *Status) Message() string {
    	if s == nil {
    		return ""
    	}
    	return strings.Join(s.Reasons(), ", ")
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/cli-runtime/pkg/resource/fallback_query_param_verifier.go

    // query param (fieldValidation), as determined by the primary and
    // secondary OpenAPI endpoints. The primary endoint is checked first,
    // but if there is an error retrieving the OpenAPI V3 document, the
    // secondary attempts to determine support. If the GVK supports the query param,
    // nil is returned.
    func (f *fallbackQueryParamVerifier) HasSupport(gvk schema.GroupVersionKind) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 10 19:13:54 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sync/errgroup/errgroup.go

    		<-g.sem
    	}
    	g.wg.Done()
    }
    
    // WithContext returns a new Group and an associated Context derived from ctx.
    //
    // The derived Context is canceled the first time a function passed to Go
    // returns a non-nil error or the first time Wait returns, whichever occurs
    // first.
    func WithContext(ctx context.Context) (*Group, context.Context) {
    	ctx, cancel := withCancelCause(ctx)
    	return &Group{cancel: cancel}, ctx
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/text/internal/language/language.go

    	// must strictly be a subset.
    	if d >= nRegionGroups {
    		return b&m != 0
    	}
    	return b&^m == 0
    }
    
    var errNoTLD = errors.New("language: region is not a valid ccTLD")
    
    // TLD returns the country code top-level domain (ccTLD). UK is returned for GB.
    // In all other cases it returns either the region itself or an error.
    //
    // This method may return an error for a region for which there exists a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  7. pkg/kubelet/volumemanager/cache/actual_state_of_world.go

    	// volume, false is returned.
    	VolumeExistsWithSpecName(podName volumetypes.UniquePodName, volumeSpecName string) bool
    
    	// VolumeExists returns true if the given volume exists in the list of
    	// attached volumes in the cache, indicating the volume is attached to this
    	// node.
    	VolumeExists(volumeName v1.UniqueVolumeName) bool
    
    	// GetMountedVolumes generates and returns a list of volumes and the pods
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 45.8K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/api/internal/file/FileOrUriNotationConverterTest.groovy

        def "with File returns this File"() {
            setup:
            def testFile = folder.createFile("test1")
            when:
            def object = parse(testFile)
            then:
            object instanceof File
            testFile == object
        }
    
        def "with Path returns the File it represents"() {
            setup:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 16:59:26 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  9. src/io/fs/walk.go

    //
    // The error result returned by the function controls how [WalkDir]
    // continues. If the function returns the special value [SkipDir], WalkDir
    // skips the current directory (path if d.IsDir() is true, otherwise
    // path's parent directory). If the function returns the special value
    // [SkipAll], WalkDir skips all remaining files and directories. Otherwise,
    // if the function returns a non-nil error, WalkDir stops entirely and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 09 08:50:19 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. pkg/controller/nodelifecycle/scheduler/rate_limited_queue.go

    			heap.Remove(&q.queue, i)
    			return true
    		}
    	}
    	return true
    }
    
    // Get returns the oldest added value that wasn't returned yet.
    func (q *UniqueQueue) Get() (TimedValue, bool) {
    	q.lock.Lock()
    	defer q.lock.Unlock()
    	if len(q.queue) == 0 {
    		return TimedValue{}, false
    	}
    	result := heap.Pop(&q.queue).(*TimedValue)
    	q.set.Delete(result.Value)
    	return *result, true
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 07:50:01 UTC 2023
    - 8.2K bytes
    - Viewed (0)
Back to top