Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 171 for conceal (0.34 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

              // Note: The only way this CAS could fail is if cancel() has raced with us. That is ok.
              boolean unused = ATOMIC_HELPER.casValue(this, valueToSet, failure);
            }
            return true;
          }
          localValue = value; // we lost the cas, fall through and maybe cancel
        }
        // The future has already been set to something. If it is cancellation we should cancel the
        // incoming future.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  2. okhttp-coroutines/src/test/kotlin/okhttp3/SuspendCallTest.kt

              .bodyDelay(5, TimeUnit.SECONDS)
              .body("abc")
              .build(),
          )
    
          val call = client.newCall(request)
    
          try {
            call.executeAsync().use {
              call.cancel()
              withContext(Dispatchers.IO) {
                it.body.string()
              }
              fail("No expected to get response")
            }
          } catch (ioe: IOException) {
            // expected
          }
    Plain Text
    - Registered: Fri Apr 12 11:42:09 GMT 2024
    - Last Modified: Fri Apr 05 11:25:23 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/FloatsTest.java

        }
      }
    
      public void testConcat() {
        assertThat(Floats.concat()).isEqualTo(EMPTY);
        assertThat(Floats.concat(EMPTY)).isEqualTo(EMPTY);
        assertThat(Floats.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY);
        assertThat(Floats.concat(ARRAY1)).isEqualTo(ARRAY1);
        assertThat(Floats.concat(ARRAY1)).isNotSameInstanceAs(ARRAY1);
        assertThat(Floats.concat(EMPTY, ARRAY1, EMPTY)).isEqualTo(ARRAY1);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/BooleansTest.java

      public void testConcat() {
        assertThat(Booleans.concat()).isEqualTo(EMPTY);
        assertThat(Booleans.concat(EMPTY)).isEqualTo(EMPTY);
        assertThat(Booleans.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY);
        assertThat(Booleans.concat(ARRAY_FALSE)).isEqualTo(ARRAY_FALSE);
        assertThat(Booleans.concat(ARRAY_FALSE)).isNotSameInstanceAs(ARRAY_FALSE);
        assertThat(Booleans.concat(EMPTY, ARRAY_FALSE, EMPTY)).isEqualTo(ARRAY_FALSE);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 15:43:29 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/BooleansTest.java

      public void testConcat() {
        assertThat(Booleans.concat()).isEqualTo(EMPTY);
        assertThat(Booleans.concat(EMPTY)).isEqualTo(EMPTY);
        assertThat(Booleans.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY);
        assertThat(Booleans.concat(ARRAY_FALSE)).isEqualTo(ARRAY_FALSE);
        assertThat(Booleans.concat(ARRAY_FALSE)).isNotSameInstanceAs(ARRAY_FALSE);
        assertThat(Booleans.concat(EMPTY, ARRAY_FALSE, EMPTY)).isEqualTo(ARRAY_FALSE);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 15:43:29 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  6. cmd/erasure-healing_test.go

    			}
    		})
    	}
    }
    
    // Tests both object and bucket healing.
    func TestHealing(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	obj, fsDirs, err := prepareErasure16(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer obj.Shutdown(context.Background())
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 47.6K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool-rebalance.go

    	z.rebalMu.Lock()
    	defer z.rebalMu.Unlock()
    
    	r := z.rebalMeta
    	if r == nil { // rebalance not running in this node, nothing to do
    		return nil
    	}
    
    	if cancel := r.cancel; cancel != nil {
    		// cancel != nil only on pool leaders
    		r.cancel = nil
    		cancel()
    	}
    	return nil
    }
    
    // for rebalance trace support
    type rebalanceMetrics struct{}
    
    var globalRebalanceMetrics rebalanceMetrics
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

        val server = serverListener.assertOpen()
    
        // Initiate a close on the client, which will schedule a hard cancel in 500 ms.
        val closeAtNanos = System.nanoTime()
        webSocket.close(1000, "goodbye", 500L)
        serverListener.assertClosing(1000, "goodbye")
    
        // Confirm that the hard cancel occurred after 500 ms.
        clientListener.assertFailure()
        val elapsedUntilFailure = System.nanoTime() - closeAtNanos
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 35.2K bytes
    - Viewed (1)
  9. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

              } else {
                // When we request a graceful close also schedule a cancel of the web socket.
                val cancelAfterCloseMillis = (messageOrClose as Close).cancelAfterCloseMillis
                taskQueue.execute("$name cancel", MILLISECONDS.toNanos(cancelAfterCloseMillis)) {
                  cancel()
                }
              }
            } else if (messageOrClose == null) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertEquals("d", itr2.next());
        assertEquals("c", itr2.next());
      }
    
      public void testConcatPartiallyAdvancedFirst() {
        Iterator<String> itr1 = Iterators.concat(singletonIterator("a"), Iterators.forArray("b", "c"));
        assertEquals("a", itr1.next());
        assertEquals("b", itr1.next());
        Iterator<String> itr2 = Iterators.concat(itr1, singletonIterator("d"));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
Back to top