Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3841 - 3850 of 7,602 for Class (0.04 sec)

  1. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojoExecutionException.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.plugin;
    
    /**
     * Base exception.
     *
     */
    public abstract class AbstractMojoExecutionException extends Exception {
        protected Object source;
    
        protected String longMessage;
    
        public AbstractMojoExecutionException(String message) {
            super(message);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. tests/test_computed_fields.py

    from fastapi.testclient import TestClient
    
    from .utils import needs_pydanticv2
    
    
    @pytest.fixture(name="client")
    def get_client():
        app = FastAPI()
    
        from pydantic import BaseModel, computed_field
    
        class Rectangle(BaseModel):
            width: int
            length: int
    
            @computed_field
            @property
            def area(self) -> int:
                return self.width * self.length
    
        @app.get("/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:44:57 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. docs_src/sql_databases/tutorial001.py

    from typing import List, Union
    
    from fastapi import Depends, FastAPI, HTTPException, Query
    from sqlmodel import Field, Session, SQLModel, create_engine, select
    
    
    class Hero(SQLModel, table=True):
        id: Union[int, None] = Field(default=None, primary_key=True)
        name: str = Field(index=True)
        age: Union[int, None] = Field(default=None, index=True)
        secret_name: str
    
    
    sqlite_file_name = "database.db"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. docs_src/sql_databases/tutorial001_py310.py

    from fastapi import Depends, FastAPI, HTTPException, Query
    from sqlmodel import Field, Session, SQLModel, create_engine, select
    
    
    class Hero(SQLModel, table=True):
        id: int | None = Field(default=None, primary_key=True)
        name: str = Field(index=True)
        age: int | None = Field(default=None, index=True)
        secret_name: str
    
    
    sqlite_file_name = "database.db"
    sqlite_url = f"sqlite:///{sqlite_file_name}"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/crawler/interval/FessIntervalController.java

    package org.codelibs.fess.crawler.interval;
    
    import org.codelibs.fess.crawler.interval.impl.DefaultIntervalController;
    import org.codelibs.fess.helper.IntervalControlHelper;
    import org.codelibs.fess.util.ComponentUtil;
    
    public class FessIntervalController extends DefaultIntervalController {
    
        public long getDelayMillisAfterProcessing() {
            return delayMillisAfterProcessing;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/entity/HighlightInfo.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.entity;
    
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.util.ComponentUtil;
    
    public class HighlightInfo {
        private String type;
        private int fragmentSize;
        private int numOfFragments;
        private int fragmentOffset;
    
        public HighlightInfo() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/dashboard/AdminDashboardAction.java

    import org.lastaflute.web.response.HtmlResponse;
    import org.lastaflute.web.ruts.process.ActionRuntime;
    
    import jakarta.annotation.Resource;
    
    /**
     * @author shinsuke
     * @author Keiichi Watanabe
     */
    public class AdminDashboardAction extends FessAdminAction {
    
        public static final String ROLE = "admin-dashboard";
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.helper;
    
    import java.util.HashMap;
    import java.util.Map;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class LanguageHelperTest extends UnitFessTestCase {
    
        private LanguageHelper languageHelper;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            languageHelper = new LanguageHelper();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/TestStringListGenerator.java

    import com.google.common.collect.testing.SampleElements.Strings;
    import java.util.List;
    
    /**
     * TODO: javadoc.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestStringListGenerator implements TestListGenerator<String> {
      @Override
      public SampleElements<String> samples() {
        return new Strings();
      }
    
      @Override
      public List<String> create(Object... elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/MapIsEmptyTester.java

     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MapIsEmptyTester<K, V> extends AbstractMapTester<K, V> {
      @CollectionSize.Require(ZERO)
      public void testIsEmpty_yes() {
        assertTrue("isEmpty() should return true", getMap().isEmpty());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top