Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 7,101 for expect (0.17 sec)

  1. cmd/signature-v4-utils.go

    		}
    		switch header {
    		case "expect":
    			// Golang http server strips off 'Expect' header, if the
    			// client sent this as part of signed headers we need to
    			// handle otherwise we would see a signature mismatch.
    			// `aws-cli` sets this as part of signed headers.
    			//
    			// According to
    			// http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.20
    			// Expect header is always of form:
    			//
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 18:56:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  2. cni/pkg/install/kubeconfig_test.go

    			}
    			result, err := createKubeConfig(cfg)
    			if err != nil {
    				if !c.expectedFailure {
    					t.Fatalf("did not expect failure: %v", err)
    				}
    				// Successful test case expecting failure
    				return
    			} else if c.expectedFailure {
    				t.Fatalf("expected failure")
    			}
    
    			goldenFilepath := "testdata/kubeconfig-tls"
    			if c.skipTLSVerify {
    				goldenFilepath = "testdata/kubeconfig-skip-tls"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 03:52:24 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/GsaConfigParserTest.java

            assertEscapePattern(".*\\.exe$", "regexp:\\.exe$");
            assertEscapePattern("index.html", "regexp:index.html");
        }
    
        private void assertEscapePattern(String expect, String value) {
            GsaConfigParser parser = new GsaConfigParser();
            assertEquals(expect, parser.getFilterPath(value));
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CompilerFacility.kt

                // Because the file to compile may be contained in a "common" multiplatform module, an `expect` declaration doesn't necessarily
                // have an obvious associated `actual` symbol. `shouldStubOrphanedExpectSymbols` generates stubs for such `expect` declarations.
                shouldStubOrphanedExpectSymbols = true,
    
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Fri Dec 01 13:22:55 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MultimapBuilder.java

       */
    
      private MultimapBuilder() {}
    
      private static final int DEFAULT_EXPECTED_KEYS = 8;
    
      /** Uses a hash table to map keys to value collections. */
      public static MultimapBuilderWithKeys<@Nullable Object> hashKeys() {
        return hashKeys(DEFAULT_EXPECTED_KEYS);
      }
    
      /**
       * Uses a hash table to map keys to value collections, initialized to expect the specified number
       * of keys.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  6. cni/pkg/plugin/plugin_test.go

    	mockIntercept := testDoAddRun(t, buildMockConf(false, ""), testNSName, pod, ns)
    
    	if len(mockIntercept.lastRedirect) == 0 {
    		t.Fatalf("expected nsenterFunc to be called")
    	}
    	r := mockIntercept.lastRedirect[len(mockIntercept.lastRedirect)-1]
    	if r.includeInboundPorts != "*" {
    		t.Fatalf("expect includeInboundPorts has value '*' set by istio, actual %v", r.includeInboundPorts)
    	}
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  7. src/bufio/scan_test.go

    		s := NewScanner(buf)
    		s.Split(ScanRunes)
    		var i, runeCount int
    		var expect rune
    		// Use a string range loop to validate the sequence of runes.
    		for i, expect = range test {
    			if !s.Scan() {
    				break
    			}
    			runeCount++
    			got, _ := utf8.DecodeRune(s.Bytes())
    			if got != expect {
    				t.Errorf("#%d: %d: expected %q got %q", n, i, expect, got)
    			}
    		}
    		if s.Scan() {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/body-multiple-params.md

    ## Embed a single body parameter
    
    Let's say you only have a single `item` body parameter from a Pydantic model `Item`.
    
    By default, **FastAPI** will then expect its body directly.
    
    But if you want it to expect a JSON with a key `item` and inside of it the model contents, as it does when you declare extra body parameters, you can use the special `Body` parameter `embed`:
    
    ```Python
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

     * {@link ClosingFuture} pipeline.
     */
    public abstract class AbstractClosingFutureTest extends TestCase {
      // TODO(dpb): Use Expect once that supports JUnit 3, or we can use JUnit 4.
      final List<AssertionError> failures = new ArrayList<>();
      final StandardSubjectBuilder expect =
          StandardSubjectBuilder.forCustomFailureStrategy(
              new FailureStrategy() {
                @Override
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  10. src/bytes/bytes_test.go

    	m := Map(maxRune, []byte(a))
    	expect := tenRunes(unicode.MaxRune)
    	if string(m) != expect {
    		t.Errorf("growing: expected %q got %q", expect, m)
    	}
    
    	// 2. Shrink
    	minRune := func(r rune) rune { return 'a' }
    	m = Map(minRune, []byte(tenRunes(unicode.MaxRune)))
    	expect = a
    	if string(m) != expect {
    		t.Errorf("shrinking: expected %q got %q", expect, m)
    	}
    
    	// 3. Rot13
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
Back to top