- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 4,951 for rreturn (0.05 sec)
-
cmd/lock-rest-client.go
return c.call(ctx, lockRPCUnlock, &args) } // ForceUnlock calls force unlock handler to forcibly unlock an active lock. func (c *lockRESTClient) ForceUnlock(ctx context.Context, args dsync.LockArgs) (reply bool, err error) { return c.call(ctx, lockRPCForceUnlock, &args) } func newLockAPI(endpoint Endpoint) dsync.NetLocker { if endpoint.IsLocal { return globalLockServer } return newlockRESTClient(endpoint)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 3.3K bytes - Viewed (0) -
cmd/utils.go
// Upon error just return Go-syntax representation of the value return fmt.Sprintf("%#v", req) } // Formatted string. return strings.TrimSpace(buffer.String()) } // isFile - returns whether given path is a file or not. func isFile(path string) bool { if fi, err := os.Stat(path); err == nil { return fi.Mode().IsRegular() } return false }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 33K bytes - Viewed (0) -
guava/src/com/google/common/collect/Iterables.java
if (c.isEmpty()) { return defaultValue; } else if (iterable instanceof List) { return getLastInNonemptyList((List<? extends T>) iterable); } else if (iterable instanceof SortedSet) { return ((SortedSet<? extends T>) iterable).last(); } } return Iterators.getLast(iterable.iterator(), defaultValue); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 43.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt
val uri = url.toUri() if (uri.host == null) return immutableListOf(Proxy.NO_PROXY) // Try each of the ProxySelector choices until one connection succeeds. val proxiesOrNull = address.proxySelector.select(uri) if (proxiesOrNull.isNullOrEmpty()) return immutableListOf(Proxy.NO_PROXY) return proxiesOrNull.toImmutableList() } connectionUser.proxySelectStart(url)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Settings.kt
if (id < 0 || id >= values.size) { return this // Discard unknown settings. } val bit = 1 shl id set = set or bit values[id] = value return this } /** Returns true if a value has been assigned for the setting `id`. */ fun isSet(id: Int): Boolean { val bit = 1 shl id return set and bit != 0 } /** Returns the value for the setting `id`, or 0 if unset. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/TreeConnectResponse.java
/** * Returns the tree identifier (TID) assigned to this tree connection. * * @return tree id */ int getTid(); /** * Returns the service type of the connected share (e.g., A: for disk, LPT1: for printer, IPC for named pipe). * * @return service */ String getService(); /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ClassSanityTester.java
throw new AssertionError("Null check failed on return value of " + factory, e); } } } return this; } /** * Tests {@link Object#equals} and {@link Object#hashCode} against the return values of the * static methods, by asserting that when equal parameters are passed to the same static method, * the return value should also be equal; and vice versa. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0) -
src/main/java/jcifs/SmbResourceLocator.java
* * @return URL to the DFS volume */ String getDfsPath(); /** * Returns the transport port number for this SMB resource connection. * * @return the transport port, if specified */ int getPort(); /** * Returns the original URL object used to create this SMB resource. * * @return the original URL */ URL getURL();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.4K bytes - Viewed (0) -
guava/src/com/google/common/reflect/AbstractInvocationHandler.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
@ParameterizedTest @ValueSource(ints = { 0, 1, -1, Integer.MIN_VALUE, Integer.MAX_VALUE }) @DisplayName("hasCapability(cap): returns configured value and captures argument across edge caps") void hasCapability_variousCaps_returnsTrue_andCapturesArgument(int cap) throws Exception { // Arrange: stub to return true regardless of input when(handle.hasCapability(anyInt())).thenReturn(true); // Act
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0)