- Sort Score
- Result 10 results
- Languages All
Results 611 - 620 of 7,250 for return (0.06 sec)
-
guava/src/com/google/common/collect/ImmutableCollection.java
* @since 2.0 */ public ImmutableList<E> asList() { switch (size()) { case 0: return ImmutableList.of(); case 1: return ImmutableList.of(iterator().next()); default: return new RegularImmutableAsList<>(this, toArray()); } } /** * Returns {@code true} if this immutable collection's implementation contains references to
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Aug 12 16:59:15 UTC 2024 - 18.8K bytes - Viewed (0) -
docs_src/sql_databases_peewee/sql_app/crud.py
from . import models, schemas def get_user(user_id: int): return models.User.filter(models.User.id == user_id).first() def get_user_by_email(email: str): return models.User.filter(models.User.email == email).first() def get_users(skip: int = 0, limit: int = 100): return list(models.User.select().offset(skip).limit(limit)) def create_user(user: schemas.UserCreate):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 843 bytes - Viewed (0) -
cmd/mrf_gen.go
return } err = en.WriteTime(z.Queued) if err != nil { err = msgp.WrapError(err, "Queued") return } // write "BitrotScan" err = en.Append(0xaa, 0x42, 0x69, 0x74, 0x72, 0x6f, 0x74, 0x53, 0x63, 0x61, 0x6e) if err != nil { return } err = en.WriteBool(z.BitrotScan) if err != nil { err = msgp.WrapError(err, "BitrotScan") return } return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 22:26:05 UTC 2024 - 6.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderRequest.java
return inputStream; } public Reader getReader() { return reader; } @Override public Transformer getTransformer() { return transformer; } @Override public boolean isStrict() { return strict; } @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Jul 09 12:10:26 UTC 2024 - 6.8K bytes - Viewed (0) -
internal/s3select/progress.go
n, err = r.reader.Read(p) atomic.AddInt64(&r.bytesRead, int64(n)) return n, err } func (r *countUpReader) BytesRead() int64 { if r == nil { return 0 } return atomic.LoadInt64(&r.bytesRead) } func newCountUpReader(reader io.Reader) *countUpReader { return &countUpReader{ reader: reader, } } type progressReader struct { rc io.ReadCloser
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 22 00:33:43 UTC 2024 - 4.3K bytes - Viewed (0) -
src/cmd/asm/internal/arch/mips.go
mips.AMADD, mips.AMSUB: return true } return false } func mipsRegisterNumber(name string, n int16) (int16, bool) { switch name { case "F": if 0 <= n && n <= 31 { return mips.REG_F0 + n, true } case "FCR": if 0 <= n && n <= 31 { return mips.REG_FCR0 + n, true } case "M": if 0 <= n && n <= 31 { return mips.REG_M0 + n, true } case "R":
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Mar 04 19:06:44 UTC 2020 - 1.7K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
/** Returns the empty array. */ public static ImmutableLongArray of() { return EMPTY; } /** Returns an immutable array containing a single value. */ public static ImmutableLongArray of(long e0) { return new ImmutableLongArray(new long[] {e0}); } /** Returns an immutable array containing the given values, in order. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 22.3K bytes - Viewed (0) -
guava/src/com/google/common/primitives/ImmutableIntArray.java
if (object == this) { return true; } if (!(object instanceof ImmutableIntArray)) { return false; } ImmutableIntArray that = (ImmutableIntArray) object; if (this.length() != that.length()) { return false; } for (int i = 0; i < length(); i++) { if (this.get(i) != that.get(i)) { return false; } } return true; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 21.4K bytes - Viewed (0) -
cmd/config-common.go
if err != nil { if isErrObjectNotFound(err) { return nil, ObjectInfo{}, errConfigNotFound } return nil, ObjectInfo{}, err } defer r.Close() buf, err := io.ReadAll(r) if err != nil { return nil, ObjectInfo{}, err } if len(buf) == 0 { return nil, ObjectInfo{}, errConfigNotFound } return buf, r.ObjInfo, nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 18 17:00:54 UTC 2023 - 3.1K bytes - Viewed (0) -
guava/src/com/google/common/math/Stats.java
return Collector.of( StatsAccumulator::new, (a, x) -> a.add(x.doubleValue()), (l, r) -> { l.addAll(r); return l; }, StatsAccumulator::snapshot, Collector.Characteristics.UNORDERED); } /** Returns the number of values. */ public long count() { return count; } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 24.9K bytes - Viewed (0)