- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 7,250 for return (0.08 sec)
-
internal/arn/arn.go
if len(ps) != 6 || ps[0] != string(arnPrefixArn) { err = errors.New("invalid ARN string format") return } if ps[1] != string(arnPartitionMinio) { err = errors.New("invalid ARN - bad partition field") return } if ps[2] != string(arnServiceIAM) { err = errors.New("invalid ARN - bad service field") return } // ps[3] is region and is not validated here. If the region is invalid,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 04 08:31:34 UTC 2024 - 3.5K bytes - Viewed (0) -
tests/transaction_test.go
t.Fatalf("Should find saved record") } return nil }); err != nil { t.Fatalf("nested transaction returns error: %v", err) } if err := tx.First(&User{}, "name = ?", user2.Name).Error; err != nil { t.Fatalf("Should find saved record") } return nil }); err != nil { t.Fatalf("no error should return, but got %v", err) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Sep 14 12:58:29 UTC 2024 - 12.9K bytes - Viewed (0) -
src/cmd/asm/internal/arch/arm.go
return true } return false } // IsARMBFX reports whether the op (as defined by an arm.A* constant) is one the // BFX-like instructions which are in the form of "op $width, $LSB, (Reg,) Reg". func IsARMBFX(op obj.As) bool { switch op { case arm.ABFX, arm.ABFXU, arm.ABFC, arm.ABFI: return true } return false }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Oct 23 15:18:14 UTC 2024 - 6.1K bytes - Viewed (0) -
cmd/background-newdisks-heal-ops_gen.go
return } case "Endpoint": z.Endpoint, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "Endpoint") return } case "Started": z.Started, err = dc.ReadTime() if err != nil { err = msgp.WrapError(err, "Started") return } case "LastUpdate": z.LastUpdate, err = dc.ReadTime() if err != nil { err = msgp.WrapError(err, "LastUpdate") return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 20 15:42:49 UTC 2024 - 24.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
} /** * Returns the domain. */ @Override public String getUserDomain () { return this.domain; } /** * * @return the original specified user domain */ public String getSpecifiedUserDomain () { return this.domain; } /** * Returns the username. *
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 12:07:20 UTC 2020 - 18.8K bytes - Viewed (0) -
internal/grid/handlers.go
if r == nil || other == nil { return r == other } var o RemoteErr if errors.As(other, &o) { return r == &o } return false } // IsRemoteErr returns the value if the error is a RemoteErr. func IsRemoteErr(err error) *RemoteErr { var r RemoteErr if errors.As(err, &r) { return &r } return nil } type (
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 09 16:58:30 UTC 2024 - 27.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtAddress.java
*/ if (hostName == UNKNOWN_NAME) { return getHostAddress(); } return hostName.name; } /** * Returns the raw IP address of this NbtAddress. The result is in network * byte order: the highest order byte of the address is in getAddress()[0]. * * @return a four byte array */ public byte[] getAddress() {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 30.1K bytes - Viewed (0) -
cmd/erasure-coding.go
panic(err) } enc = e }) return enc } return } // EncodeData encodes the given data and returns the erasure-coded data. // It returns an error if the erasure coding failed. func (e *Erasure) EncodeData(ctx context.Context, data []byte) ([][]byte, error) { if len(data) == 0 { return make([][]byte, e.dataBlocks+e.parityBlocks), nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jan 31 02:11:45 UTC 2024 - 8.6K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt
if (result == null) { result = readHeader() peekedHeader = result } if (result.isEndOfData) return null return result } /** * Consume the next header in the stream and return it. If there is no header to read because we * have reached a limit, this returns [END_OF_DATA]. */ internal fun readHeader(): DerHeader { require(peekedHeader == null)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.5K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/ImmutableSetHashFloodingDetectionBenchmark.java
runLength++; if (runLength > maxRunBeforeFallback) { return true; } } } return false; } }, SEPARATE_RANGES { int maxRunBeforeFallback(int tableSize) { return 13 * IntMath.log2(tableSize, RoundingMode.UNNECESSARY); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 03 20:16:35 UTC 2021 - 6.8K bytes - Viewed (0)