Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 251 for wrong (0.16 sec)

  1. internal/handlers/proxy_test.go

    	}
    	for _, v := range headers {
    		req := &http.Request{
    			Header: http.Header{
    				v.key: []string{v.val},
    			},
    		}
    		res := GetSourceScheme(req)
    		if res != v.expected {
    			t.Errorf("wrong header for %s: got %s want %s", v.key, res,
    				v.expected)
    		}
    	}
    }
    
    // TestGetSourceIP - check the source ip of a request is parsed correctly.
    func TestGetSourceIP(t *testing.T) {
    	headers := []headerTest{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 22 00:56:55 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java

         * matching mirror will pass through unchanged. Note: This method must be called before
         * {@link #injectAuthentication(List, List)} or the repositories will end up with the wrong credentials.
         *
         * @param repositories The repositories into which to inject the mirror information, may be {@code null}.
         * @param mirrors The available mirrors, may be {@code null}.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  3. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

                assertEquals(it.unitTests, File(dir, "src/test").isDirectory, "${it.name}'s unitTests is wrong!")
                assertEquals(it.functionalTests, File(dir, "src/integTest").isDirectory, "${it.name}'s functionalTests is wrong!")
                assertEquals(it.crossVersionTests, File(dir, "src/crossVersionTest").isDirectory, "${it.name}'s crossVersionTests is wrong!")
            }
        }
    
        @Test
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Jan 02 10:00:06 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/SessionTest.java

                }
            }
        }
    
    
        @Test
        public void testAuthErrorNoConnLeak () throws Exception {
            CIFSContext cifsContext = getNewContext().withCredentials(new NtlmPasswordAuthenticator("wrong", "wrong", "wrong"));
            try ( SmbFile f = new SmbFile("smb://" + getTestServer() + "/IPC$/test", cifsContext); ) {
                f.connect();
                assertFalse(true);
            }
            catch ( SmbAuthException e ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 15.8K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDataClassConverters.kt

                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirErrors.WRONG_ANNOTATION_TARGET) { firDiagnostic ->
            WrongAnnotationTargetImpl(
                firDiagnostic.a,
                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirErrors.WRONG_ANNOTATION_TARGET_WITH_USE_SITE_TARGET) { firDiagnostic ->
            WrongAnnotationTargetWithUseSiteTargetImpl(
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 24 09:49:26 GMT 2024
    - 208.3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsAllTester.java

      }
    
      public void testContainsAll_wrongType() {
        Collection<WrongType> wrong = MinimalCollection.of(WrongType.VALUE);
        try {
          assertFalse(
              "containsAll(wrongType) should return false or throw", collection.containsAll(wrong));
        } catch (ClassCastException tolerated) {
        }
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  7. istioctl/pkg/multicluster/remote_secret_test.go

    			},
    			objs: []runtime.Object{
    				makeServiceAccount("wrong-secret"),
    				secret,
    			},
    			wantErrStr: `secrets "wrong-secret" not found`,
    		},
    		{
    			name: "success",
    			opts: RemoteSecretOptions{
    				ServiceAccountName: testServiceAccountName,
    				KubeOptions: KubeOptions{
    					Namespace: testNamespace,
    				},
    				ManifestsPath: filepath.Join(env.IstioSrc, "manifests"),
    			},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 20.6K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

                  // we reached EOF
                  return new String(buffer, 0, bufIndex);
                }
                // otherwise we got the size wrong.  This can happen if the size changes between when
                // we called sizeIfKnown and when we started reading the file (or I guess if
                // maxCharsPerByte is wrong)
                // Fallback to an incremental approach
                StringBuilder builder = new StringBuilder(bufIndex + 32);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

                  // we reached EOF
                  return new String(buffer, 0, bufIndex);
                }
                // otherwise we got the size wrong.  This can happen if the size changes between when
                // we called sizeIfKnown and when we started reading the file (or I guess if
                // maxCharsPerByte is wrong)
                // Fallback to an incremental approach
                StringBuilder builder = new StringBuilder(bufIndex + 32);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  10. internal/crypto/error.go

    	// ErrCustomerKeyMD5Mismatch indicates that the SSE-C key MD5 does not match the
    	// computed MD5 sum. This means that the client provided either the wrong key for
    	// a certain MD5 checksum or the wrong MD5 for a certain key.
    	ErrCustomerKeyMD5Mismatch = Errorf("The provided SSE-C key MD5 does not match the computed MD5 of the SSE-C key")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 4.4K bytes
    - Viewed (0)
Back to top