Search Options

Results per page
Sort
Preferred Languages
Advance

Results 681 - 690 of 1,367 for putA (0.03 sec)

  1. docs/en/docs/advanced/testing-dependencies.md

    For these cases, your **FastAPI** application has an attribute `app.dependency_overrides`, it is a simple `dict`.
    
    To override a dependency for testing, you put as a key the original dependency (a function), and as the value, your dependency override (another function).
    
    And then **FastAPI** will call that override instead of the original dependency.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/NbtAddress.java

            InetAddress localInetAddress;
            String localHostname;
            Name localName;
    
            /* Create an address to represent failed lookups and cache forever.
             */
    
            ADDRESS_CACHE.put(UNKNOWN_NAME, new CacheEntry(UNKNOWN_NAME, UNKNOWN_ADDRESS, FOREVER));
    
            /* Determine the InetAddress of the local interface
             * if one was not specified.
             */
            localInetAddress = CLIENT.laddr;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/systeminfo/AdminSysteminfoAction.java

         */
        protected static Map<String, String> createItem(final Object label, final Object value) {
            final Map<String, String> map = new HashMap<>(2);
            map.put(Constants.ITEM_LABEL, label != null ? label.toString() : StringUtil.EMPTY);
            map.put(Constants.ITEM_VALUE, value != null ? value.toString() : StringUtil.EMPTY);
            return map;
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            when(mockConnection.getConnectTimeout()).thenReturn(2000);
            when(mockConnection.getInstanceFollowRedirects()).thenReturn(true);
    
            Map<String, List<String>> properties = new HashMap<>();
            properties.put("Accept", Collections.singletonList("application/json"));
            when(mockConnection.getRequestProperties()).thenReturn(properties);
            // Need to mock getRequestProperty as well since it delegates to wrapped connection
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

                    foreignImports,
                    null /* artifacts */);
    
            Map<String, ClassLoader> apiV4Imports = new HashMap<>();
            apiV4Imports.put("org.apache.maven.api", containerRealm);
            apiV4Imports.put("org.slf4j", containerRealm);
            this.maven4ApiRealm = createRealm(API_V4_REALMID, RealmType.Core, null, null, apiV4Imports, null);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  6. internal/s3select/csv/reader.go

    	for len(r.current) <= r.recordsRead {
    		if r.err != nil {
    			return nil, r.err
    		}
    		// Move to next block
    		item, ok := <-r.queue
    		if !ok {
    			r.err = io.EOF
    			return nil, r.err
    		}
    
    		r.csvDstPool.Put(r.current)
    		r.current = <-item.dst
    		r.err = item.err
    		r.recordsRead = 0
    	}
    	csvRecord := r.current[r.recordsRead]
    	r.recordsRead++
    
    	// If no column names are set, use _(index)
    	if r.columnNames == nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  7. cmd/erasure-multipart-conditional_test.go

    	xl := z.serverPools[0].sets[0]
    
    	bucket := "test-bucket"
    	object := "test-object"
    
    	err = obj.MakeBucket(ctx, bucket, MakeBucketOptions{})
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Put an initial object so it exists
    	_, err = obj.PutObject(ctx, bucket, object,
    		mustGetPutObjReader(t, bytes.NewReader([]byte("initial-value")),
    			int64(len("initial-value")), "", ""), ObjectOptions{})
    	if err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:05:31 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/MavenBuildTimestampTest.java

    @Deprecated
    class MavenBuildTimestampTest {
        @Test
        void testMavenBuildTimestampUsesUTC() {
            Properties interpolationProperties = new Properties();
            interpolationProperties.put("maven.build.timestamp.format", "yyyyMMdd'T'HHmm'Z'");
            MavenBuildTimestamp timestamp = new MavenBuildTimestamp(new Date(), interpolationProperties);
            String formattedTimestamp = timestamp.formattedTimestamp();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

        testRequestMethod("POST", true, withOverride = true)
      }
    
      @Test
      fun requestMethodPutIsNotCached() {
        testRequestMethod("PUT", false)
      }
    
      @Test
      fun requestMethodPutIsNotCachedEvenWithOverride() {
        testRequestMethod("PUT", false, withOverride = true)
      }
    
      @Test
      fun requestMethodDeleteIsNotCached() {
        testRequestMethod("DELETE", false)
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 17:41:45 UTC 2025
    - 116.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                }
            }
    
            if (documentBoost > 0) {
                addBoostValue(map, documentBoost);
            }
    
            if (!map.containsKey(fessConfig.getIndexFieldDocId())) {
                map.put(fessConfig.getIndexFieldDocId(), systemHelper.generateDocId(map));
            }
    
            ComponentUtil.getLanguageHelper().updateDocument(map);
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 32.9K bytes
    - Viewed (0)
Back to top