Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 541 for conceal (0.17 sec)

  1. guava-tests/test/com/google/common/collect/StreamsTest.java

        Stream<String> concatenated =
            Streams.concat(Stream.of("a"), streamB, Stream.empty(), Stream.of("c", "d"));
        assertThat(concatenated).containsExactly("a", "b", "c", "d").inOrder();
        concatenated.close();
        assertThat(closeCountB.get()).isEqualTo(1);
      }
    
      public void testConcat_refStream_closeIsPropagated_Stream_concat() {
        // Just to demonstrate behavior of Stream::concat in the standard library
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 20K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java

        public final void addListener(Runnable listener, Executor executor) {
          super.addListener(listener, executor);
        }
    
        @CanIgnoreReturnValue
        @Override
        public final boolean cancel(boolean mayInterruptIfRunning) {
          return super.cancel(mayInterruptIfRunning);
        }
      }
    
      private static final Logger log = Logger.getLogger(AbstractFuture.class.getName());
    
      private State state;
      private V value;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 19:37:41 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      }
    
      private static void doTestSuccessfulAsList_resultCancelledRacingInputDone() throws Exception {
        // Simple (combined.cancel -> input.cancel -> setOneValue):
        successfulAsList(ImmutableList.of(SettableFuture.create())).cancel(true);
    
        /*
         * Complex (combined.cancel -> input.cancel -> other.set -> setOneValue),
         * to show that this isn't just about problems with the input future we just
         * cancelled:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/ztunnelserver_test.go

    var ztunnelTestCounter atomic.Uint32
    
    func TestZtunnelSendsPodSnapshot(t *testing.T) {
    	ztunnelKeepAliveCheckInterval = time.Second / 10
    	mt := monitortest.New(t)
    	setupLogging()
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	fixture := connect(ctx)
    	ztunClient := fixture.ztunClient
    	uid := fixture.uid
    
    	m, fds := readRequest(t, ztunClient)
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

        // This benchmark has no concept of "noWorkToDo".
        String lhs = testString;
        String rhs = testString.toUpperCase();
    
        boolean dummy = false;
        for (int i = 0; i < reps; i++) {
          dummy ^= Ascii.equalsIgnoreCase(lhs, rhs);
        }
        return dummy;
      }
    
      @Benchmark
      boolean equalsIgnoreCaseJDK(int reps) {
        // This benchmark has no concept of "noWorkToDo".
        String lhs = testString;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        assertFailed(future, cause);
      }
    
      public void testCanceled() throws Exception {
        assertThat(future.cancel(false /* mayInterruptIfRunning */)).isTrue();
        assertCancelled(future, false);
      }
    
      public void testInterrupted() throws Exception {
        assertThat(future.cancel(true /* mayInterruptIfRunning */)).isTrue();
        assertCancelled(future, true);
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/CharArrayAsListTest.java

          Character[] prefix = {Character.MIN_VALUE, Character.MAX_VALUE};
          Character[] suffix = {(char) 86, (char) 99};
          Character[] all = concat(concat(prefix, elements), suffix);
          return asList(all).subList(2, elements.length + 2);
        }
      }
    
      private static Character[] concat(Character[] left, Character[] right) {
        Character[] result = new Character[left.length + right.length];
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/DoubleArrayAsListTest.java

          Double[] prefix = {Double.MIN_VALUE, Double.MAX_VALUE};
          Double[] suffix = {(double) 86, (double) 99};
          Double[] all = concat(concat(prefix, elements), suffix);
          return asList(all).subList(2, elements.length + 2);
        }
      }
    
      private static Double[] concat(Double[] left, Double[] right) {
        Double[] result = new Double[left.length + right.length];
        System.arraycopy(left, 0, result, 0, left.length);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/CharArrayAsListTest.java

          Character[] prefix = {Character.MIN_VALUE, Character.MAX_VALUE};
          Character[] suffix = {(char) 86, (char) 99};
          Character[] all = concat(concat(prefix, elements), suffix);
          return asList(all).subList(2, elements.length + 2);
        }
      }
    
      private static Character[] concat(Character[] left, Character[] right) {
        Character[] result = new Character[left.length + right.length];
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ObjectArraysTest.java

        assertNull(array[0]);
      }
    
      @GwtIncompatible // ObjectArrays.concat(Object[], Object[], Class)
      public void testConcatEmptyEmpty() {
        String[] result = ObjectArrays.concat(new String[0], new String[0], String.class);
        assertEquals(String[].class, result.getClass());
        assertThat(result).isEmpty();
      }
    
      @GwtIncompatible // ObjectArrays.concat(Object[], Object[], Class)
      public void testConcatEmptyNonempty() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.8K bytes
    - Viewed (0)
Back to top