Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 3,545 for getE (0.07 sec)

  1. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        assertNull(segment.get(key, hash));
    
        // count == 0
        segment.setTableEntryForTesting(index, entry);
        assertNull(segment.get(key, hash));
        assertFalse(segment.containsKey(key, hash));
        assertFalse(segment.containsValue(value));
    
        // count == 1
        segment.count++;
        assertSame(value, segment.get(key, hash));
        assertTrue(segment.containsKey(key, hash));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  2. cmd/common-main.go

    	if !certsSet && configSet {
    		globalCertsDir = &ConfigDir{path: filepath.Join(globalConfigDir.Get(), certsDir)}
    	}
    
    	globalCertsCADir = &ConfigDir{path: filepath.Join(globalCertsDir.Get(), certsCADir)}
    
    	logger.FatalIf(mkdirAllIgnorePerm(globalCertsCADir.Get()), "Unable to create certs CA directory at %s", globalCertsCADir.Get())
    }
    
    func runDNSCache(ctx *cli.Context) {
    	dnsTTL := ctx.Duration("dns-cache-ttl")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  3. tests/test_response_model_invalid.py

        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():
        with pytest.raises(FastAPIError):
            app = FastAPI()
    
            @app.get("/", response_model=List[NonPydanticModel])
            def read_root():
                pass  # pragma: nocover
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Feb 29 13:04:35 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/SparseImmutableTable.java

          Cell<R, C, V> cell = cellList.get(i);
          R rowKey = cell.getRowKey();
          C columnKey = cell.getColumnKey();
          V value = cell.getValue();
    
          /*
           * These requireNonNull calls are safe because we construct the maps to hold all the provided
           * cells.
           */
          cellRowIndices[i] = requireNonNull(rowIndex.get(rowKey));
          Map<C, V> thisRow = requireNonNull(rows.get(rowKey));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  5. tests/test_additional_responses_response_class.py

        status: str
        title: str
    
    
    class JsonApiError(BaseModel):
        errors: typing.List[Error]
    
    
    @app.get(
        "/a",
        response_class=JsonApiResponse,
        responses={500: {"description": "Error", "model": JsonApiError}},
    )
    async def a():
        pass  # pragma: no cover
    
    
    @app.get("/b", responses={500: {"description": "Error", "model": Error}})
    async def b():
        pass  # pragma: no cover
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  6. tests/test_local_docs.py

    
    def test_strings_in_generated_swagger():
        sig = inspect.signature(get_swagger_ui_html)
        swagger_js_url = sig.parameters.get("swagger_js_url").default  # type: ignore
        swagger_css_url = sig.parameters.get("swagger_css_url").default  # type: ignore
        swagger_favicon_url = sig.parameters.get("swagger_favicon_url").default  # type: ignore
        html = get_swagger_ui_html(openapi_url="/docs", title="title")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Dec 20 18:50:00 UTC 2020
    - 2.4K bytes
    - Viewed (0)
  7. internal/kms/config.go

    			Type:       MinKMS,
    			DefaultKey: env.Get(EnvKMSDefaultKey, ""),
    			conn: &kmsConn{
    				enclave:    env.Get(EnvKMSEnclave, ""),
    				defaultKey: env.Get(EnvKMSDefaultKey, ""),
    				client:     client,
    			},
    			latencyBuckets: defaultLatencyBuckets,
    			latency:        make([]atomic.Uint64, len(defaultLatencyBuckets)),
    		}, nil
    	case lookup(EnvKESEndpoint):
    		rawEndpoint := env.Get(EnvKESEndpoint, "")
    		if rawEndpoint == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 11:46:39 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/aether/LegacyRepositorySystemSessionExtender.java

                        p.setUserName(authCtx.get(AuthenticationContext.USERNAME));
                        p.setPassword(authCtx.get(AuthenticationContext.PASSWORD));
                        p.setNtlmDomain(authCtx.get(AuthenticationContext.NTLM_DOMAIN));
                        p.setNtlmHost(authCtx.get(AuthenticationContext.NTLM_WORKSTATION));
                        authCtx.close();
                    }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java

              @Override
              public Object get(Object key) throws ExecutionException {
                Object v = valueRef.get();
                if (v == null) {
                  throw new ExecutionException(cause);
                }
                return v;
              }
    
              @Override
              public @Nullable Object getIfPresent(Object key) {
                return valueRef.get();
              }
            };
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/mylasta/action/FessUserBean.java

        }
    
        public boolean hasRole(final String role) {
            return stream(user.getRoleNames()).get(stream -> stream.anyMatch(s -> s.equals(role)));
        }
    
        public boolean hasRoles(final String[] acceptedRoles) {
            return stream(user.getRoleNames())
                    .get(stream -> stream.anyMatch(s1 -> stream(acceptedRoles).get(s3 -> s3.anyMatch(s2 -> s2.equals(s1)))));
        }
    
        public boolean hasGroup(final String group) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top