Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 304 for Ok (0.01 sec)

  1. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

      }
    
      // b/4558855
      public void testMadbotsBug() {
        assertEquals("../this", simplifyPath("../this"));
        assertEquals("../this/is/ok", simplifyPath("../this/is/ok"));
        assertEquals("../ok", simplifyPath("../this/../ok"));
      }
    
      // https://github.com/google/guava/issues/705
      public void test705() {
        assertEquals("../b", simplifyPath("x/../../b"));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/Constants.java

         */
        public static final String POST_METHOD = "POST";
    
        /**
         * The status code for OK.
         */
        public static final int OK_STATUS = 0;
    
        /**
         * The status code for Not Modified.
         */
        public static final int NOT_MODIFIED_STATUS = 304;
    
        /**
         * The HTTP status code for OK.
         */
        public static final int OK_STATUS_CODE = 200;
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  3. internal/stmt_store/stmt_store.go

    	lru *lru.LRU[string, *Stmt]
    }
    
    func (s *lruStore) Keys() []string {
    	return s.lru.Keys()
    }
    
    func (s *lruStore) Get(key string) (*Stmt, bool) {
    	stmt, ok := s.lru.Get(key)
    	if ok && stmt != nil {
    		<-stmt.prepared
    	}
    	return stmt, ok
    }
    
    func (s *lruStore) Set(key string, value *Stmt) {
    	s.lru.Add(key, value)
    }
    
    func (s *lruStore) Delete(key string) {
    	s.lru.Remove(key)
    }
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Apr 27 06:05:16 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. docs_src/openapi_callbacks/tutorial001_py310.py

        id: str
        title: str | None = None
        customer: str
        total: float
    
    
    class InvoiceEvent(BaseModel):
        description: str
        paid: bool
    
    
    class InvoiceEventReceived(BaseModel):
        ok: bool
    
    
    invoices_callback_router = APIRouter()
    
    
    @invoices_callback_router.post(
        "{$callback_url}/invoices/{$request.body.id}", response_model=InvoiceEventReceived
    )
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

                    return Result.OK;
                } finally {
                    reader.dispose();
                }
            }
            return Result.FAILED;
        }
    
        /**
         * Enumeration representing the possible results of thumbnail image processing.
         */
        protected enum Result {
            /** Thumbnail was successfully generated */
            OK,
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  6. tests/test_allow_inf_nan_in_enforcing.py

        x: Annotated[float, Query(allow_inf_nan=True)] = 0,
        y: Annotated[float, Query(allow_inf_nan=False)] = 0,
        z: Annotated[float, Query()] = 0,
        b: Annotated[float, Body(allow_inf_nan=False)] = 0,
    ) -> str:
        return "OK"
    
    
    client = TestClient(app)
    
    
    @pytest.mark.parametrize(
        "value,code",
        [
            ("-1", 200),
            ("inf", 200),
            ("-inf", 200),
            ("nan", 200),
            ("0", 200),
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  7. docs_src/sql_databases/tutorial002_py39.py

        hero = session.get(Hero, hero_id)
        if not hero:
            raise HTTPException(status_code=404, detail="Hero not found")
        session.delete(hero)
        session.commit()
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

    import static org.apache.maven.cling.invoker.mvnenc.EncryptInvoker.BAD_OPERATION;
    import static org.apache.maven.cling.invoker.mvnenc.EncryptInvoker.CANCELED;
    import static org.apache.maven.cling.invoker.mvnenc.EncryptInvoker.OK;
    
    /**
     * The "init" goal.
     */
    @Singleton
    @Named("init")
    public class Init extends InteractiveGoalSupport {
        private static final String NONE = "__none__";
    
        @Inject
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. tests/test_pydantic_v1_error.py

            @app.get(
                "/responses", response_model=None, responses={400: {"model": ErrorModelV1}}
            )
            def endpoint():  # pragma: no cover
                return {"ok": True}
    
    
    def test_raises_pydantic_v1_model_in_union() -> None:
        class ModelV1A(BaseModel):
            name: str
    
        app = FastAPI()
    
        with pytest.raises(PydanticV1NotSupportedError):
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  10. docs_src/sql_databases/tutorial001_an_py310.py

        hero = session.get(Hero, hero_id)
        if not hero:
            raise HTTPException(status_code=404, detail="Hero not found")
        session.delete(hero)
        session.commit()
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top