Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 1,130 for REMOVE (0.09 sec)

  1. android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java

        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicInstanceMethods(new FakeTicker());
      }
    
      @GwtIncompatible // java.time.Duration
      @IgnoreJRERequirement // TODO: b/288085449 - Remove this once we use library-desugaring scents.
      public void testAdvance() {
        FakeTicker ticker = new FakeTicker();
        assertEquals(0, ticker.read());
        assertSame(ticker, ticker.advance(10));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 22 13:49:09 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/StandardMutableNetwork.java

        // Thus we avoid modifying the underlying view while iterating over it.
        for (E edge : ImmutableList.copyOf(connections.incidentEdges())) {
          removeEdge(edge);
        }
        nodeConnections.remove(node);
        return true;
      }
    
      @Override
      @CanIgnoreReturnValue
      public boolean removeEdge(E edge) {
        checkNotNull(edge, "edge");
    
        N nodeU = edgeToReferenceNode.get(edge);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  3. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          while (openClientSocket.hasNext()) {
            openClientSocket.next().closeQuietly()
            openClientSocket.remove()
          }
    
          val httpConnection = openConnections.iterator()
          while (httpConnection.hasNext()) {
            httpConnection.next().closeQuietly()
            httpConnection.remove()
          }
          dispatcher.shutdown()
        }
      }
    
      @Throws(Exception::class)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

        return delegate.pollFirst();
      }
    
      @Override
      public @Nullable E pollLast() {
        return delegate.pollLast();
      }
    
      @Override
      public boolean remove(Object object) {
        return delegate.remove(checkValid(object));
      }
    
      @Override
      public boolean removeAll(Collection<?> c) {
        return delegate.removeAll(c);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. tests/test_sub_callbacks.py

                                            ],
                                        }
                                    )
                                    | IsDict(
                                        # TODO: remove when deprecating Pydantic v1
                                        {
                                            "title": "Callback Url",
                                            "maxLength": 2083,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_header_params/test_tutorial003_an_py310.py

                                        ],
                                    }
                                )
                                | IsDict(
                                    # TODO: remove when deprecating Pydantic v1
                                    {
                                        "title": "X-Token",
                                        "type": "array",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  7. docs_src/websockets/tutorial003.py

        async def connect(self, websocket: WebSocket):
            await websocket.accept()
            self.active_connections.append(websocket)
    
        def disconnect(self, websocket: WebSocket):
            self.active_connections.remove(websocket)
    
        async def send_personal_message(self, message: str, websocket: WebSocket):
            await websocket.send_text(message)
    
        async def broadcast(self, message: str):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Aug 09 13:52:19 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  8. fastapi/encoders.py

            include = set(include)
        if exclude is not None and not isinstance(exclude, (set, dict)):
            exclude = set(exclude)
        if isinstance(obj, BaseModel):
            # TODO: remove when deprecating Pydantic v1
            encoders: Dict[Any, Any] = {}
            if not PYDANTIC_V2:
                encoders = getattr(obj.__config__, "json_encoders", {})  # type: ignore[attr-defined]
                if custom_encoder:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/MapMakerInternalMap.java

        }
      }
    
      @CheckForNull
      @CanIgnoreReturnValue
      @Override
      public V remove(@CheckForNull Object key) {
        if (key == null) {
          return null;
        }
        int hash = hash(key);
        return segmentFor(hash).remove(key, hash);
      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean remove(@CheckForNull Object key, @CheckForNull Object value) {
        if (key == null || value == null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Collections2.java

        }
      }
    
      /**
       * Delegates to {@link Collection#remove}. Returns {@code false} if the {@code remove} method
       * throws a {@code ClassCastException} or {@code NullPointerException}.
       */
      static boolean safeRemove(Collection<?> collection, @CheckForNull Object object) {
        checkNotNull(collection);
        try {
          return collection.remove(object);
        } catch (ClassCastException | NullPointerException e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top