Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 1,227 for topo (0.04 seconds)

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

          return key;
        }
      }
    
      /*
       * TODO(cpovirk): eliminate duplication between these tests and those in LegacyMapMakerTests and
       * anywhere else
       */
    
      public void testInitialCapacity_negative() {
        MapMaker maker = new MapMaker();
        assertThrows(IllegalArgumentException.class, () -> maker.initialCapacity(-1));
      }
    
      // TODO(cpovirk): enable when ready (apparently after a change to our GWT emulation)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  2. guava/src/com/google/common/math/BigIntegerMath.java

       * @throws ArithmeticException if {@code mode} is {@link RoundingMode#UNNECESSARY} and {@code x}
       *     is not a power of two
       */
      @SuppressWarnings("fallthrough")
      // TODO(kevinb): remove after this warning is disabled globally
      public static int log2(BigInteger x, RoundingMode mode) {
        checkPositive("x", checkNotNull(x));
        int logFloor = x.bitLength() - 1;
        switch (mode) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/service/RoleTypeService.java

        protected void setupListCondition(final RoleTypeCB cb, final RoleTypePager roleTypePager) {
            if (roleTypePager.id != null) {
                cb.query().docMeta().setId_Equal(roleTypePager.id);
            }
            // TODO Long, Integer, String supported only.
    
            // setup condition
            cb.query().addOrderBy_SortOrder_Asc();
            cb.query().addOrderBy_Name_Asc();
            // search
    
        }
    
        /**
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

      private @Nullable Iterator<E> iterator;
    
      private MinimalIterable(Iterator<E> iterator) {
        this.iterator = iterator;
      }
    
      @Override
      public Iterator<E> iterator() {
        if (iterator == null) {
          // TODO: throw something else? Do we worry that people's code and tests
          // might be relying on this particular type of exception?
          throw new IllegalStateException();
        }
        try {
          return iterator;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  5. tests/test_tutorial/test_dependencies/test_tutorial008d.py

        client = TestClient(mod.app)
        with pytest.raises(mod.InternalError) as exc_info:
            client.get("/items/portal-gun")
        assert (
            exc_info.value.args[0] == "The portal gun is too dangerous to be owned by Rick"
        )
    
    
    def test_internal_server_error(mod: ModuleType):
        client = TestClient(mod.app, raise_server_exceptions=False)
        response = client.get("/items/portal-gun")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

    import org.slf4j.LoggerFactory;
    
    import static java.util.Comparator.comparing;
    import static org.apache.maven.api.Constants.MAVEN_HOME;
    import static org.apache.maven.api.Constants.MAVEN_INSTALLATION_CONF;
    
    // TODO push all common bits back to plexus cli and prepare for transition to Guice. We don't need 50 ways to make CLIs
    
    /**
     */
    @Deprecated
    public class MavenCli {
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

            // Validate minimum buffer size for SMB2 negotiate response
            if (buffer == null || buffer.length < bufferIndex + 65) {
                throw new SMBProtocolDecodingException("Buffer too small for SMB2 negotiate response (minimum 65 bytes required)");
            }
    
            final int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if (structureSize != 65) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 24K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          return mapGenerator.order(insertionOrder);
        }
    
        @Override
        public OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>> getInnerGenerator() {
          return mapGenerator;
        }
      }
    
      // TODO: investigate some API changes to SampleElements that would tidy up
      // parts of the following classes.
    
      static <K extends @Nullable Object, V extends @Nullable Object>
          TestSetGenerator<K> keySetGenerator(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jan 30 16:59:10 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                ArtifactRepository localRepository)
                throws RepositoryMetadataStoreException {
            // TODO currently this is first wins, but really we should take the latest by comparing either the
            // snapshot timestamp, or some other timestamp later encoded into the metadata.
            // TODO this needs to be repeated here so the merging doesn't interfere with the written metadata
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  10. docs/es/docs/advanced/response-cookies.md

    # Cookies de Response { #response-cookies }
    
    ## Usar un parámetro `Response` { #use-a-response-parameter }
    
    Puedes declarar un parámetro de tipo `Response` en tu *path operation function*.
    
    Y luego puedes establecer cookies en ese objeto de response *temporal*.
    
    {* ../../docs_src/response_cookies/tutorial002_py39.py hl[1, 8:9] *}
    
    Y entonces puedes devolver cualquier objeto que necesites, como normalmente lo harías (un `dict`, un modelo de base de datos, etc).
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 2.5K bytes
    - Click Count (0)
Back to Top