Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 471 - 480 of 1,500 for PUT (0.04 seconds)

  1. internal/crypto/key_test.go

    			t.Errorf("Test %d should fail but passed successfully", i)
    		} else if err != nil && test.ShouldPass {
    			t.Errorf("Test %d should pass put failed: %v", i, err)
    		}
    	}
    
    	// Test legacy InsecureSealAlgorithm
    	var extKey, iv [32]byte
    	key := GenerateKey(extKey[:], rand.Reader)
    	sealedKey := key.Seal(extKey[:], iv, "SSE-S3", "bucket", "object")
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jul 12 20:51:54 GMT 2024
    - 6.7K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/math/StatsTest.java

        byte[] buffer = MANY_VALUES_STATS_VARARGS.toByteArray();
        byte[] tooLongByteArray =
            ByteBuffer.allocate(buffer.length + 2)
                .order(ByteOrder.LITTLE_ENDIAN)
                .put(buffer)
                .putChar('.')
                .array();
        assertThrows(IllegalArgumentException.class, () -> Stats.fromByteArray(tooLongByteArray));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 33.4K bytes
    - Click Count (0)
  3. docs/zh/docs/tutorial/cors.md

    你可以在 **FastAPI** 应用中使用 `CORSMiddleware` 来配置它。
    
    * 导入 `CORSMiddleware`。
    * 创建一个允许的源列表(由字符串组成)。
    * 将其作为「中间件」添加到你的 **FastAPI** 应用中。
    
    你也可以指定后端是否允许:
    
    * 凭证(Authorization 请求头、Cookies 等)。
    * 特定的 HTTP 方法(`POST`,`PUT`)或者使用通配符 `"*"` 允许所有方法。
    * 特定的 HTTP 请求头或者使用通配符 `"*"` 允许所有请求头。
    
    {* ../../docs_src/cors/tutorial001_py310.py hl[2,6:11,13:19] *}
    
    默认情况下,这个 `CORSMiddleware` 实现所使用的默认参数较为保守,所以你需要显式地启用特定的源、方法或者 headers,以便浏览器能够在跨域上下文中使用它们。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

         * valueEquivalence.
         */
    
        @Override
        public V setValue(V newValue) {
          put(getKey(), newValue);
          return super.setValue(newValue); // done after put() so that it happens only if put() succeeds
        }
      }
    
      final class EntryIterator extends HashIterator<Entry<K, V>> {
    
        @Override
        public Entry<K, V> next() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

                    allProjects.forEach(project -> map.computeIfAbsent(project.getGroupId(), k -> new HashMap<>())
                            .computeIfAbsent(project.getArtifactId(), k -> new HashMap<>())
                            .put(project.getVersion(), project));
                    this.allProjects = map;
                } else {
                    return Collections.emptyMap();
                }
            }
            return allProjects;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Dec 15 11:20:38 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  6. internal/bucket/object/lock/lock.go

    	ErrUnknownWORMModeDirective = errors.New("unknown WORM mode directive")
    	// ErrObjectLockMissingContentMD5 - indicates missing Content-MD5 header for put object requests with locking
    	ErrObjectLockMissingContentMD5 = errors.New("content-MD5 HTTP header is required for Put Object requests with Object Lock parameters")
    	// ErrObjectLockInvalidHeaders indicates that object lock headers are missing
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  7. docs/zh/docs/tutorial/first-steps.md

    这里的「操作」指的是一种 HTTP「方法」。
    
    下列之一:
    
    * `POST`
    * `GET`
    * `PUT`
    * `DELETE`
    
    ...以及更少见的几种:
    
    * `OPTIONS`
    * `HEAD`
    * `PATCH`
    * `TRACE`
    
    在 HTTP 协议中,你可以使用以上的其中一种(或多种)「方法」与每个路径进行通信。
    
    ---
    
    在开发 API 时,你通常使用特定的 HTTP 方法去执行特定的行为。
    
    通常使用:
    
    * `POST`:创建数据。
    * `GET`:读取数据。
    * `PUT`:更新数据。
    * `DELETE`:删除数据。
    
    因此,在 OpenAPI 中,每一个 HTTP 方法都被称为「操作」。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  8. cmd/mrf.go

    	closed  int32
    	closing int32
    	wg      sync.WaitGroup
    }
    
    func newMRFState() mrfState {
    	return mrfState{
    		opCh: make(chan PartialOperation, mrfOpsQueueSize),
    	}
    }
    
    // Add a partial S3 operation (put/delete) when one or more disks are offline.
    func (m *mrfState) addPartialOp(op PartialOperation) {
    	if m == nil {
    		return
    	}
    
    	if atomic.LoadInt32(&m.closed) == 1 {
    		return
    	}
    
    	m.wg.Add(1)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  9. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

        public void activateBatchMode(boolean ciEnv, String[] cliArgs, boolean isBatchMode) throws Exception {
            CliRequest request = new CliRequest(cliArgs, null);
            if (ciEnv) {
                request.getSystemProperties().put("env.CI", "true");
            }
            cli.cli(request);
    
            boolean batchMode = !cli.populateRequest(request).isInteractiveMode();
    
            assertEquals(isBatchMode, batchMode);
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 30.9K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

                  Object value = new Object();
                  result.put(key, value);
                }
                result.put(extraKey, extraValue);
                result.put(extraValue, null);
                return result;
              }
            };
        LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().build(loader);
        cache.asMap().put(extraKey, extraKey);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 91K bytes
    - Click Count (0)
Back to Top