Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 234 for isPull (0.04 seconds)

  1. android/guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

    @GwtCompatible
    @NullUnmarked
    public class CallablesTest extends TestCase {
    
      @J2ktIncompatible // TODO(b/324550390): Enable
      public void testReturning() throws Exception {
        assertThat(Callables.returning(null).call()).isNull();
    
        Object value = new Object();
        Callable<Object> callable = Callables.returning(value);
        assertThat(callable.call()).isEqualTo(value);
        // Expect the same value on subsequent calls
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

    @GwtCompatible
    @NullUnmarked
    public class CallablesTest extends TestCase {
    
      @J2ktIncompatible // TODO(b/324550390): Enable
      public void testReturning() throws Exception {
        assertThat(Callables.returning(null).call()).isNull();
    
        Object value = new Object();
        Callable<Object> callable = Callables.returning(value);
        assertThat(callable.call()).isEqualTo(value);
        // Expect the same value on subsequent calls
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SIDCacheImplTest.java

    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.ArgumentMatchers.any;
    import static org.mockito.ArgumentMatchers.isNull;
    import static org.mockito.ArgumentMatchers.same;
    import static org.mockito.Mockito.doAnswer;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.never;
    import static org.mockito.Mockito.times;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14K bytes
    - Click Count (0)
  4. internal/s3select/json/record.go

    		v = f
    	} else if i, ok := value.ToInt(); ok {
    		v = i
    	} else if t, ok := value.ToTimestamp(); ok {
    		v = sql.FormatSQLTimestamp(t)
    	} else if s, ok := value.ToString(); ok {
    		v = s
    	} else if value.IsNull() {
    		v = nil
    	} else if value.IsMissing() {
    		return r, nil
    	} else if b, ok := value.ToBytes(); ok {
    		// This can either be raw json or a CSV value.
    		// Only treat objects and arrays as JSON.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

                    actualOccupiedDepth.set(monitor.getOccupiedDepth());
                  } catch (Throwable t) {
                    thrown.set(t);
                  }
                }));
        assertThat(thrown.get()).isNull();
        assertEquals(expectedIsOccupied, actualIsOccupied.get());
        assertEquals(expectedIsOccupiedByCurrentThread, actualIsOccupiedByCurrentThread.get());
        assertEquals(expectedOccupiedDepth, actualOccupiedDepth.get());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 5K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

                    actualOccupiedDepth.set(monitor.getOccupiedDepth());
                  } catch (Throwable t) {
                    thrown.set(t);
                  }
                }));
        assertThat(thrown.get()).isNull();
        assertEquals(expectedIsOccupied, actualIsOccupied.get());
        assertEquals(expectedIsOccupiedByCurrentThread, actualIsOccupiedByCurrentThread.get());
        assertEquals(expectedOccupiedDepth, actualOccupiedDepth.get());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 5K bytes
    - Click Count (0)
  7. src/cmd/asm/internal/asm/testdata/386.s

    	SHLL	$4, foo+4(SB)
    	SHLL	$4, foo+4(SB):AX // SHLL $4, AX, foo+4(SB)
    
    // LTYPEM spec6	{ outcode(int($1), &$2); }
    	MOVL	AX, BX
    	MOVL	$4, BX
    
    // LTYPEI spec7	{ outcode(int($1), &$2); }
    	IMULL	AX
    	IMULL	$4, CX
    	IMULL	AX, BX
    
    // LTYPEXC spec9	{ outcode(int($1), &$2); }
    	CMPPD	X0, X1, 4
    	CMPPD	foo+4(SB), X1, 4
    
    // LTYPEX spec10	{ outcode(int($1), &$2); }
    	PINSRD	$1, (AX), X0
    	PINSRD	$2, foo+4(FP), X0
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Apr 09 18:57:21 GMT 2019
    - 2K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/net/HostAndPortTest.java

        HostAndPort hp;
        try {
          hp = HostAndPort.fromString(hpString);
        } catch (IllegalArgumentException e) {
          // Make sure we expected this.
          assertThat(expectHost).isNull();
          return;
        }
        assertThat(expectHost).isNotNull();
    
        // Apply withDefaultPort(), yielding hp2.
        boolean badDefaultPort = defaultPort < 0 || defaultPort > 65535;
        HostAndPort hp2 = null;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 9.7K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/primitives/DoublesTest.java

      }
    
      public void testStringConverter_nullConversions() {
        assertThat(Doubles.stringConverter().convert(null)).isNull();
        assertThat(Doubles.stringConverter().reverse().convert(null)).isNull();
      }
    
      @GwtIncompatible // Double.toString returns different value in GWT.
      public void testStringConverter_reverse() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 30.9K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertThat(TypeToken.of(Object.class).getComponentType()).isNull();
        assertThat(TypeToken.of(void.class).getComponentType()).isNull();
      }
    
      public <T> void testGetComponentType_genericArrayClasses() {
        assertThat(TypeToken.of(new TypeCapture<T>() {}.capture()).getComponentType()).isNull();
        assertEquals(
            TypeToken.of(new TypeCapture<T>() {}.capture()),
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 89.3K bytes
    - Click Count (0)
Back to Top