Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2211 - 2220 of 3,297 for Gist (0.02 seconds)

  1. docs_src/header_param_models/tutorial003_py39.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class CommonHeaders(BaseModel):
        host: str
        save_data: bool
        if_modified_since: Union[str, None] = None
        traceparent: Union[str, None] = None
        x_tag: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(headers: CommonHeaders = Header(convert_underscores=False)):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Mar 23 20:48:54 GMT 2025
    - 415 bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixList.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.publicsuffix
    
    import okio.ByteString
    
    /**
     * Basic I/O for `PublicSuffixDatabase.list`
     */
    internal interface PublicSuffixList {
      fun ensureLoaded()
    
      val bytes: ByteString
      val exceptionBytes: ByteString
    
      companion object
    }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue May 27 22:00:49 GMT 2025
    - 929 bytes
    - Click Count (0)
  3. docs_src/header_param_models/tutorial003_an_py39.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class CommonHeaders(BaseModel):
        host: str
        save_data: bool
        if_modified_since: Union[str, None] = None
        traceparent: Union[str, None] = None
        x_tag: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(
        headers: Annotated[CommonHeaders, Header(convert_underscores=False)],
    ):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Mar 23 20:48:54 GMT 2025
    - 443 bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java

                break;
            }
            return null;
        }
    
        /**
         * Creates an HTML response for the list page with optional pre-processing.
         *
         * @param runnable optional runnable to execute before rendering (can be null)
         * @return HTML response for the search request list page
         */
        private HtmlResponse asListHtml(final Runnable runnable) {
            if (runnable != null) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.util.concurrent.UncheckedExecutionException;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Queue;
    import java.util.concurrent.ConcurrentLinkedQueue;
    import java.util.concurrent.ExecutionException;
    import java.util.function.IntConsumer;
    import java.util.stream.IntStream;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 7K bytes
    - Click Count (0)
  6. internal/mountinfo/mountinfo_linux.go

    		// path/.. on a different device as path
    		(ss1.Dev != ss2.Dev ||
    			// path/.. is the same i-node as path - this check is for bind mounts.
    			ss1.Ino == ss2.Ino)
    }
    
    // CheckCrossDevice - check if any list of paths has any sub-mounts at /proc/mounts.
    func CheckCrossDevice(absPaths []string) error {
    	return checkCrossDevice(absPaths, procMountsPath)
    }
    
    // Check cross device is an internal function.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaData.java

    import gradlebuild.docs.model.ClassMetaDataRepository;
    import org.gradle.util.internal.CollectionUtils;
    
    import java.io.Serializable;
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    public class ClassLinkMetaData implements Serializable, Attachable<ClassLinkMetaData> {
        private final String className;
        private final String simpleName;
        private final String packageName;
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Apr 11 11:17:34 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

        /** Name of the search engine cluster */
        protected String clusterName = "fesen";
    
        /** List of rewrite rules for document settings */
        protected final List<UnaryOperator<String>> docSettingRewriteRuleList = new ArrayList<>();
    
        /** List of rewrite rules for document mappings */
        protected final List<UnaryOperator<String>> docMappingRewriteRuleList = new ArrayList<>();
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 122.4K bytes
    - Click Count (1)
  9. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

      }
    
      public void testAsList() {
        ImmutableList<Integer> list = ContiguousSet.create(Range.closed(1, 3), integers()).asList();
        for (int i = 0; i < 3; i++) {
          assertEquals(i + 1, list.get(i).intValue());
        }
        assertEquals(ImmutableList.of(1, 2, 3), ImmutableList.copyOf(list.iterator()));
        assertEquals(ImmutableList.of(1, 2, 3), ImmutableList.copyOf(list.toArray(new Integer[0])));
      }
    
      @J2ktIncompatible
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  10. docs_src/python_types/tutorial011_py310.py

    from datetime import datetime
    
    from pydantic import BaseModel
    
    
    class User(BaseModel):
        id: int
        name: str = "John Doe"
        signup_ts: datetime | None = None
        friends: list[int] = []
    
    
    external_data = {
        "id": "123",
        "signup_ts": "2017-06-01 12:22",
        "friends": [1, "2", b"3"],
    }
    user = User(**external_data)
    print(user)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 02 15:56:35 GMT 2023
    - 461 bytes
    - Click Count (0)
Back to Top