Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 366 for checkIsE (0.07 sec)

  1. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

    1. assertThrows(
    2. IllegalArgumentException.class, () -> networkAsMutableNetwork.addEdge(N1, N1, E11));
    3. assertThat(e).hasMessageThat().contains(ERROR_SELF_LOOP);
    4. }
    5.  
    6. /**
    7. * This test checks an implementation dependent feature. It tests that the method {@code addEdge}
    8. * will silently add the missing nodes to the graph, then add the edge connecting them. We are not
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. cmd/metrics.go

    1. closer.Close()
    2. }
    3. })
    4. }
    5.  
    6. // NoAuthMiddleware no auth middle ware.
    7. func NoAuthMiddleware(h http.Handler) http.Handler {
    8. return h
    9. }
    10.  
    11. // AuthMiddleware checks if the bearer token is valid and authorized.
    12. func AuthMiddleware(h http.Handler) http.Handler {
    13. return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. src/archive/tar/reader.go

    1. nb = 0
    2. }
    3. if nb < 0 {
    4. return ErrHeader
    5. }
    6.  
    7. tr.pad = blockPadding(nb)
    8. tr.curr = &regFileReader{r: tr.r, nb: nb}
    9. return nil
    10. }
    11.  
    12. // handleSparseFile checks if the current file is a sparse format of any type
    13. // and sets the curr reader appropriately.
    14. func (tr *Reader) handleSparseFile(hdr *Header, rawHdr *block) error {
    15. var spd sparseDatas
    16. var err error
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/TraverserTest.java

    1. public void forGraph_breadthFirst_emptyGraph() {
    2. assertThrows(
    3. IllegalArgumentException.class,
    4. () -> Traverser.forGraph(createDirectedGraph()).breadthFirst('a'));
    5. }
    6.  
    7. /**
    8. * Checks that the elements of the iterable are calculated on the fly. Concretely, that means that
    9. * {@link SuccessorsFunction#successors(Object)} can only be called for a subset of all nodes.
    10. */
    11. @Test
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/TraverserTest.java

    1. public void forGraph_breadthFirst_emptyGraph() {
    2. assertThrows(
    3. IllegalArgumentException.class,
    4. () -> Traverser.forGraph(createDirectedGraph()).breadthFirst('a'));
    5. }
    6.  
    7. /**
    8. * Checks that the elements of the iterable are calculated on the fly. Concretely, that means that
    9. * {@link SuccessorsFunction#successors(Object)} can only be called for a subset of all nodes.
    10. */
    11. @Test
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  6. internal/bucket/object/lock/lock_test.go

    1. actualStatus := parseLegalHoldStatus(tt.value)
    2. if actualStatus != tt.expectedStatus {
    3. t.Errorf("Expected legal hold status %s, got %s", tt.expectedStatus, actualStatus)
    4. }
    5. }
    6. }
    7.  
    8. // TestUnmarshalDefaultRetention checks if default retention
    9. // marshaling and unmarshalling work as expected
    10. func TestUnmarshalDefaultRetention(t *testing.T) {
    11. days := uint64(4)
    12. years := uint64(1)
    13. zerodays := uint64(0)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/server.go

    1. hostIptables.DeleteHostRules()
    2.  
    3. if err := hostIptables.CreateHostRulesForHealthChecks(&HostProbeSNATIP, &HostProbeSNATIPV6); err != nil {
    4. return nil, fmt.Errorf("error initializing the host rules for health checks: %w", err)
    5. }
    6.  
    7. podNetns := NewPodNetnsProcFinder(os.DirFS(filepath.Join(pconstants.HostMountsPath, "proc")))
    8. netServer := newNetServer(ztunnelServer, podNsMap, podIptables, podNetns)
    9.  
    10. // Set some defaults
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Sep 25 20:54:34 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractService.java

    1. "Timed out waiting for "
    2. + this
    3. + " to reach a terminal state. "
    4. + "Current state: "
    5. + state());
    6. }
    7. }
    8.  
    9. /** Checks that the current state is equal to the expected state. */
    10. @GuardedBy("monitor")
    11. private void checkCurrentState(State expected) {
    12. State actual = state();
    13. if (actual != expected) {
    14. if (actual == FAILED) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  9. internal/grid/muxclient.go

    1. if !m.doPing(respHandler) {
    2. return
    3. }
    4. goto sendResp
    5. }
    6. case <-pingTimer:
    7. if !m.doPing(respHandler) {
    8. return
    9. }
    10. }
    11. }
    12. }
    13.  
    14. // doPing checks last ping time and sends another ping.
    15. func (m *muxClient) doPing(respHandler chan<- Response) (ok bool) {
    16. m.respMu.Lock()
    17. if m.closed {
    18. m.respMu.Unlock()
    19. // Already closed. This is not an error state;
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Verify.java

    1. * autoboxing and varargs array creation may happen as well, even when the verification succeeds and
    2. * the message ends up unneeded. Performance-sensitive verification checks should continue to use
    3. * usual form:
    4. *
    5. * <pre>{@code
    6. * Bill bill = remoteService.getLastUnpaidBill();
    7. * if (bill.status() != Status.UNPAID) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 18.5K bytes
    - Viewed (0)
Back to top