Search Options

Results per page
Sort
Preferred Languages
Advance

Results 781 - 790 of 3,211 for Gist (0.04 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultDependencyManagementInjector.java

                    Dependency target,
                    Dependency source,
                    boolean sourceDominant,
                    Map<Object, Object> context) {
                List<Exclusion> tgt = target.getExclusions();
                if (tgt.isEmpty()) {
                    List<Exclusion> src = source.getExclusions();
                    builder.exclusions(src);
                }
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/eventbus/outside/AnnotatedAndAbstractInSuperclassTest.java

        public abstract void overriddenInSubclass(Object o);
      }
    
      static class SubClass extends SuperClass {
        final List<Object> overriddenAndAnnotatedInSubclassEvents = Lists.newArrayList();
        final List<Object> overriddenInSubclassEvents = Lists.newArrayList();
    
        @Subscribe
        @Override
        public void overriddenAndAnnotatedInSubclass(Object o) {
          overriddenAndAnnotatedInSubclassEvents.add(o);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 08 21:35:40 UTC 2022
    - 2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/eventbus/outside/AnnotatedAndAbstractInSuperclassTest.java

        public abstract void overriddenInSubclass(Object o);
      }
    
      static class SubClass extends SuperClass {
        final List<Object> overriddenAndAnnotatedInSubclassEvents = Lists.newArrayList();
        final List<Object> overriddenInSubclassEvents = Lists.newArrayList();
    
        @Subscribe
        @Override
        public void overriddenAndAnnotatedInSubclass(Object o) {
          overriddenAndAnnotatedInSubclassEvents.add(o);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 08 21:35:40 UTC 2022
    - 2K bytes
    - Viewed (0)
  4. tests/test_validate_response.py

    from typing import List, Optional, Union
    
    import pytest
    from fastapi import FastAPI
    from fastapi.exceptions import ResponseValidationError
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: Optional[float] = None
        owner_ids: Optional[List[int]] = None
    
    
    @app.get("/items/invalid", response_model=Item)
    def get_invalid():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. tests/test_ws_dependencies.py

    import json
    from typing import List
    
    from fastapi import APIRouter, Depends, FastAPI, WebSocket
    from fastapi.testclient import TestClient
    from typing_extensions import Annotated
    
    
    def dependency_list() -> List[str]:
        return []
    
    
    DepList = Annotated[List[str], Depends(dependency_list)]
    
    
    def create_dependency(name: str):
        def fun(deps: DepList):
            deps.append(name)
    
        return Depends(fun)
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Jun 11 20:35:39 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/index/contents/ContentsParser.java

                ReadingConverter readingConverter, Normalizer normalizer, SuggestAnalyzer analyzer, String[] langs);
    
        List<SuggestItem> parseQueryLog(QueryLog queryLog, String[] fields, String[] tagFieldNames, String roleFieldName,
                ReadingConverter readingConverter, Normalizer normalizer);
    
        List<SuggestItem> parseDocument(Map<String, Object> document, String[] fields, String[] tagFieldNames, String roleFieldName,
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. tests/test_response_model_invalid.py

    from typing import List
    
    import pytest
    from fastapi import FastAPI
    from fastapi.exceptions import FastAPIError
    
    
    class NonPydanticModel:
        pass
    
    
    def test_invalid_response_model_raises():
        with pytest.raises(FastAPIError):
            app = FastAPI()
    
            @app.get("/", response_model=NonPydanticModel)
            def read_root():
                pass  # pragma: nocover
    
    
    def test_invalid_response_model_sub_type_raises():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Feb 29 13:04:35 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/extensions/v1beta1/generated.proto

      // traffic matches at least one item in the from list.
      // +optional
      repeated NetworkPolicyPeer from = 2;
    }
    
    // DEPRECATED 1.9 - This group version of NetworkPolicyList is deprecated by networking/v1/NetworkPolicyList.
    // Network Policy List is a list of NetworkPolicy objects.
    message NetworkPolicyList {
      // Standard list metadata.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/kerberos/KerberosAuthData.java

    import java.util.ArrayList;
    import java.util.List;
    import java.util.Map;
    
    import javax.security.auth.kerberos.KerberosKey;
    
    import jcifs.pac.PACDecodingException;
    
    
    @SuppressWarnings ( "javadoc" )
    public abstract class KerberosAuthData {
    
        public static List<KerberosAuthData> parse ( int authType, byte[] token, Map<Integer, KerberosKey> keys ) throws PACDecodingException {
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  10. cmd/metacache-bucket.go

    func (b *bucketMetacache) deleteCache(id string) {
    	b.mu.Lock()
    	c, ok := b.caches[id]
    	if ok {
    		// Delete from root map.
    		list := b.cachesRoot[c.root]
    		for i, lid := range list {
    			if id == lid {
    				list = append(list[:i], list[i+1:]...)
    				break
    			}
    		}
    		b.cachesRoot[c.root] = list
    		delete(b.caches, id)
    		b.updated = true
    	}
    	b.mu.Unlock()
    	if ok {
    		c.delete(context.Background())
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top