Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 521 - 530 of 1,500 for PUT (0.03 seconds)

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

      }
    
      public void testIndex() {
        ImmutableListMultimap<Integer, String> expected =
            ImmutableListMultimap.<Integer, String>builder()
                .putAll(3, "one", "two")
                .put(5, "three")
                .put(4, "four")
                .build();
        ImmutableListMultimap<Integer, String> index =
            FluentIterable.from(asList("one", "two", "three", "four"))
                .index(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 31.2K bytes
    - Click Count (0)
  2. cmd/server_test.go

    	c.Assert(err, nil)
    
    	// execute the request.
    	response, err := s.client.Do(request)
    	c.Assert(err, nil)
    	// assert the http response status code.
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	// Put a new bucket policy.
    	request, err = newTestSignedRequest(http.MethodPut, getPutPolicyURL(s.endPoint, bucketName),
    		int64(len(bucketPolicyStr)), bytes.NewReader([]byte(bucketPolicyStr)), s.accessKey, s.secretKey, s.signer)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 118.1K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/security/simple-oauth2.md

    {* ../../docs_src/security/tutorial003_an_py310.py hl[3,79:81] *}
    
    ### Check the password { #check-the-password }
    
    At this point we have the user data from our database, but we haven't checked the password.
    
    Let's put that data in the Pydantic `UserInDB` model first.
    
    You should never save plaintext passwords, so, we'll use the (fake) password hashing system.
    
    If the passwords don't match, we return the same error.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  4. internal/dsync/dsync_test.go

    				acc0 -= 100
    				acc1 += 100
    				m.Unlock(b.Context())
    			} else {
    				for i := 0; i < len(data); i += 4 {
    					data[i]++
    				}
    				// Elaborate way to say runtime.Gosched
    				// that does not put the goroutine onto global runq.
    				go func() {
    					c <- true
    				}()
    				<-c
    			}
    		}
    	})
    }
    
    func BenchmarkMutexSpin(b *testing.B) {
    	b.ResetTimer()
    	b.ReportAllocs()
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  5. cmd/erasure-decode.go

    		readerToBuf:   r2b,
    		stashBuffer:   b,
    	}
    }
    
    // Done will release any resources used by the parallelReader.
    func (p *parallelReader) Done() {
    	if p.stashBuffer != nil {
    		globalBytePoolCap.Load().Put(p.stashBuffer)
    		p.stashBuffer = nil
    	}
    }
    
    // preferReaders can mark readers as preferred.
    // These will be chosen before others.
    func (p *parallelReader) preferReaders(prefer []bool) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 29 01:40:52 GMT 2024
    - 9.5K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

            boolean[] pbCallExecuted = { false };
    
            Consumer<ProcessBuilder> pbCall = pb -> {
                pb.redirectErrorStream(true);
                pb.environment().put("TEST_VAR", "test_value");
                pbCallExecuted[0] = true;
            };
    
            try {
                JobProcess jobProcess = processHelper.startProcess(sessionId, cmdList, pbCall);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16K bytes
    - Click Count (0)
  7. docs/ja/docs/tutorial/cors.md

    * `CORSMiddleware`をインポートします。
    * 許可されたオリジンのリストを (文字列として) 作成します。
    * これを「ミドルウェア」として **FastAPI** アプリケーションに追加します。
    
    以下も、バックエンドに許可させるかどうか指定できます:
    
    * クレデンシャル情報 (Authorizationヘッダー、Cookieなど) 。
    * 特定のHTTPメソッド (`POST`、`PUT`) またはワイルドカード `"*"` を使用してすべて許可。
    * 特定のHTTPヘッダー、またはワイルドカード `"*"`を使用してすべて許可。
    
    {* ../../docs_src/cors/tutorial001_py310.py hl[2,6:11,13:19] *}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

                // Test data preparation
                byte[] testData = "Test RDMA data transfer".getBytes();
                sendBuffer.getBuffer().put(testData);
                sendBuffer.getBuffer().flip();
                assertEquals(testData.length, sendBuffer.getBuffer().remaining(), "Buffer should contain test data");
    
                // Clean up
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 13.8K bytes
    - Click Count (0)
  9. docs/en/docs/features.md

    * [**OpenAPI**](https://github.com/OAI/OpenAPI-Specification) for API creation, including declarations of <dfn title="also known as: endpoints, routes">path</dfn> <dfn title="also known as HTTP methods, as POST, GET, PUT, DELETE">operations</dfn>, parameters, request bodies, security, etc.
    * Automatic data model documentation with [**JSON Schema**](https://json-schema.org/) (as OpenAPI itself is based on JSON Schema).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  10. .teamcity/src/main/kotlin/common/CommonExtensions.kt

     */
    fun Requirements.requiresNotSharedHost() {
        doesNotContain("agent.host.type", "shared")
    }
    
    /**
     * This is an undocumented location that forbids anonymous access.
     * We put artifacts here to avoid accidentally exposing sensitive information publicly.
     */
    const val HIDDEN_ARTIFACT_DESTINATION = ".teamcity/gradle-logs"
    
    fun BuildTypeSettings.setArtifactRules(rules: String) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 13 05:03:56 GMT 2026
    - 14.8K bytes
    - Click Count (0)
Back to Top