Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 951 - 960 of 3,558 for Gist (0.02 seconds)

  1. internal/logger/targets.go

    }
    
    type targetsList struct {
    	list []Target
    	mu   sync.RWMutex
    }
    
    func newTargetsList() *targetsList {
    	return &targetsList{}
    }
    
    func (tl *targetsList) get() []Target {
    	tl.mu.RLock()
    	defer tl.mu.RUnlock()
    
    	return tl.list
    }
    
    func (tl *targetsList) add(t Target) {
    	tl.mu.Lock()
    	defer tl.mu.Unlock()
    
    	tl.list = append(tl.list, t)
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 6K bytes
    - Click Count (0)
  2. docs_src/response_model/tutorial001_01_py310.py

    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: list[str] = []
    
    
    @app.post("/items/")
    async def create_item(item: Item) -> Item:
        return item
    
    
    @app.get("/items/")
    async def read_items() -> list[Item]:
        return [
            Item(name="Portal Gun", price=42.0),
            Item(name="Plumbus", price=32.0),
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 07 13:45:48 GMT 2023
    - 469 bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/AdminDuplicatehostAction.java

         *
         * @param form the search form
         * @return HTML response for the duplicate host list page
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index(final SearchForm form) {
            return asListHtml();
        }
    
        /**
         * Displays the duplicate host list with pagination.
         *
         * @param pageNumber the page number to display
         * @param form the search form
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

            protected void mergePluginContainer_Plugins(
                    PluginContainer target, PluginContainer source, boolean sourceDominant, Map<Object, Object> context) {
                List<Plugin> src = source.getPlugins();
                if (!src.isEmpty()) {
                    List<Plugin> tgt = target.getPlugins();
                    Map<Object, Plugin> master = new LinkedHashMap<>(src.size() * 2);
    
                    for (Plugin element : src) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/exentity/CrawlingInfo.java

     */
    package org.codelibs.fess.opensearch.config.exentity;
    
    import java.util.List;
    
    import org.codelibs.fess.opensearch.config.bsentity.BsCrawlingInfo;
    
    /**
     * @author ESFlute (using FreeGen)
     */
    public class CrawlingInfo extends BsCrawlingInfo {
    
        private static final long serialVersionUID = 1L;
    
        private List<CrawlingInfoParam> crawlingInfoParamList;
    
        public CrawlingInfo() {
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  6. .ci/jobs.t/elastic+elasticsearch+pull-request+packaging-tests-windows.yml

        triggers:
          - github-pull-request:
              org-list:
                - elastic
              allow-whitelist-orgs-as-admins: true
              trigger-phrase: '.*run\W+elasticsearch-ci/packaging-tests-windows.*'
              github-hooks: true
              status-context: elasticsearch-ci/packaging-tests-windows
              cancel-builds-on-update: true
              white-list-target-branches:
                - master
              excluded-regions:
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Aug 24 18:50:27 GMT 2021
    - 2.1K bytes
    - Click Count (0)
  7. scripts/people.py

    
    class Replies(BaseModel):
        totalCount: int
        nodes: list[CommentsNode]
    
    
    class DiscussionsCommentsNode(CommentsNode):
        minimizedReason: LowerStr | None = None
        replies: Replies
    
    
    class DiscussionsComments(BaseModel):
        totalCount: int
        nodes: list[DiscussionsCommentsNode]
    
    
    class DiscussionsNode(BaseModel):
        number: int
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 13:51:24 GMT 2026
    - 15K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalDistributionArchiveCheckPlugin.java

                        final List<String> expectedLines = extension.expectedMlLicenses.get();
                        final Path noticePath = checkExtraction.get()
                            .getDestinationDir()
                            .toPath()
                            .resolve("elasticsearch-" + VersionProperties.getElasticsearch() + "/modules/x-pack-ml/NOTICE.txt");
                        final List<String> actualLines;
                        try {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 10.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java

            });
        }
    
        /**
         * Display the stopwords list with pagination.
         *
         * @param pageNumber the page number to display
         * @param form the search form
         * @return HTML response for the list page
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse list(final OptionalThing<Integer> pageNumber, final SearchForm form) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilter.java

    import java.nio.file.PathMatcher;
    import java.util.List;
    import java.util.function.Predicate;
    import java.util.stream.Collectors;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.model.Exclusion;
    
    /**
     * Filter to exclude from a list of artifact patterns.
     */
    public class ExclusionArtifactFilter implements ArtifactFilter {
    
        private final List<Exclusion> exclusions;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3K bytes
    - Click Count (0)
Back to Top