- Sort Score
- Num 10 results
- Language All
Results 1991 - 2000 of 4,434 for returned (0.14 seconds)
-
guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
@Override public final T call() { try { return realCall(); } catch (Throwable t) { threadUnexpectedException(t); return null; } } } <T> T serialClone(T o) { T clone = reserialize(o); assertThat(clone.getClass()).isEqualTo(o.getClass()); return clone; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 8.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/util/SMBUtilTest.java
// Test zero time separately - it's handled specially SMBUtil.writeTime(0L, buffer, 0); long readTime = SMBUtil.readTime(buffer, 0); // When writing 0, it writes 0 directly, and when reading 0, it returns negative offset assertEquals(-SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601, readTime); } @Test void testUTimeConversionRoundTrip() { // Test various time values (in milliseconds)
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.1K bytes - Click Count (0) -
cmd/xl-storage-format-v1.go
func (ei ErasureInfo) Equal(nei ErasureInfo) bool { if ei.Algorithm != nei.Algorithm { return false } if ei.DataBlocks != nei.DataBlocks { return false } if ei.ParityBlocks != nei.ParityBlocks { return false } if ei.BlockSize != nei.BlockSize { return false } if len(ei.Distribution) != len(nei.Distribution) { return false } for i, ecindex := range ei.Distribution {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Oct 22 15:30:50 GMT 2024 - 8.4K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java
// because some comparator might throw NPE (e.g. the natural ordering). return false; } } try { return sortedDelegate.containsAll(targets); } catch (ClassCastException e) { return false; } } @Override public E first() { return sortedDelegate.first(); } @Override public ImmutableSortedSet<E> headSet(E toElement) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 15.5K bytes - Click Count (0) -
cmd/postpolicyform.go
switch v := val.(type) { case string: return v default: return "" } } // toLowerString - safely convert interface to lower string func toLowerString(val any) string { return strings.ToLower(toString(val)) } // toInteger _ Safely convert interface to integer without causing panic. func toInteger(val any) (int64, error) { switch v := val.(type) { case float64: return int64(v), nil case int64:Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Oct 23 15:10:12 GMT 2025 - 12.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
abstract void setCountCheckReturnValue(E element, int count); /** * Call the {@code setCount()} method under test, but do not check its return value. Callers * should use this method over {@link #setCountCheckReturnValue(Object, int)} when they expect * {@code setCount()} to throw an exception, as checking the return value could produce an
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 13K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbNamedPipeTest.java
verify(req, times(1)).addFlags0(0x16); verify(resp, times(1)).setExtended(true); verify(resp, never()).setExtended(false); } @Test @DisplayName("openPipe returns a handle bound to this pipe") void openPipeReturnsHandleBoundToPipe() throws Exception { // Arrange SmbNamedPipe pipe = new SmbNamedPipe("smb://server/IPC$/foo", SmbPipeResource.PIPE_TYPE_RDWR, ctx());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.2K bytes - Click Count (0) -
schema/field.go
case []byte: return field.Set(ctx, value, string(data)) case string: if i, err := strconv.ParseFloat(data, 64); err == nil { field.ReflectValueOf(ctx, value).SetFloat(i) } else { return err } default: return fallbackSetter(ctx, value, v, field.Set) } return err } case reflect.String:
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Nov 22 03:14:36 GMT 2025 - 32.2K bytes - Click Count (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts
override fun toString(): String = version.get() } group = "org.gradle" version = LazyProjectVersion(gradleModule.identity.version.map { it.version }) /** * Returns the trimmed contents of the file at the given [path] after * marking the file as a build logic input. */ fun Project.trimmedContentsOfFile(path: String): Provider<String> =
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 11 22:46:35 GMT 2026 - 5.8K bytes - Click Count (0) -
.teamcity/src/test/kotlin/ApplyDefaultConfigurationTest.kt
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Mar 13 05:03:56 GMT 2026 - 7.1K bytes - Click Count (0)