Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,174 for _input_ (0.08 sec)

  1. istioctl/pkg/writer/pilot/status_test.go

    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			got := &bytes.Buffer{}
    			sw := XdsStatusWriter{Writer: got}
    			input := map[string]*discovery.DiscoveryResponse{}
    			for key, ss := range tt.input {
    				input[key] = ss
    			}
    
    			err := sw.PrintAll(input)
    			if tt.wantErr {
    				assert.Error(t, err)
    			} else {
    				assert.NoError(t, err)
    			}
    			want, _ := os.ReadFile(tt.want)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Aug 14 19:36:19 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. cmd/object-handlers_test.go

    	}
    	// iterate through the above set of inputs and upload the object.
    	for i, input := range putObjectInputs {
    		// uploading the object.
    		_, err := obj.PutObject(context.Background(), input.bucketName, input.objectName, mustGetPutObjReader(t, bytes.NewReader(input.textData), input.contentLength, input.metaData[""], ""), ObjectOptions{UserDefined: input.metaData})
    		// if object upload fails stop the test.
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  3. cmd/endpoint-ellipses_test.go

    	testCases := []struct {
    		args       []string
    		totalSizes []uint64
    		indexes    [][]uint64
    		success    bool
    	}{
    		// Invalid inputs.
    		{
    			[]string{"data{1...17}/export{1...52}"},
    			[]uint64{14144},
    			nil,
    			false,
    		},
    		// Valid inputs.
    		{
    			[]string{"data{1...3}"},
    			[]uint64{3},
    			[][]uint64{{3}},
    			true,
    		},
    		{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

      }
    
      private static void assertSip(String input, long expected) {
        assertEquals(expected, SIP_WITH_KEY.hashString(input, UTF_8).asLong());
        assertEquals(expected, SIP_WITH_KEY.newHasher().putString(input, UTF_8).hash().asLong());
        assertEquals(expected, SIP_WITHOUT_KEY.hashString(input, UTF_8).asLong());
        assertEquals(expected, SIP_WITHOUT_KEY.newHasher().putString(input, UTF_8).hash().asLong());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

      }
    
      private static void assertSip(String input, long expected) {
        assertEquals(expected, SIP_WITH_KEY.hashString(input, UTF_8).asLong());
        assertEquals(expected, SIP_WITH_KEY.newHasher().putString(input, UTF_8).hash().asLong());
        assertEquals(expected, SIP_WITHOUT_KEY.hashString(input, UTF_8).asLong());
        assertEquals(expected, SIP_WITHOUT_KEY.newHasher().putString(input, UTF_8).hash().asLong());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_request_form_models/test_tutorial002_an_py39.py

        assert response.json() == {
            "detail": [
                {
                    "type": "extra_forbidden",
                    "loc": ["body", "extra"],
                    "msg": "Extra inputs are not permitted",
                    "input": "extra",
                }
            ]
        }
    
    
    @needs_pydanticv2
    @needs_py39
    def test_post_body_form_no_password(client: TestClient):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 17:31:18 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_query_param_models/test_tutorial002.py

                            "msg": "Input should be less than or equal to 100",
                            "input": "150",
                            "ctx": {"le": 100},
                        },
                        {
                            "type": "greater_than_equal",
                            "loc": ["query", "offset"],
                            "msg": "Input should be greater than or equal to 0",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/HashFunction.java

       */
      HashCode hashBytes(byte[] input, int off, int len);
    
      /**
       * Shortcut for {@code newHasher().putBytes(input).hash()}. The implementation <i>might</i>
       * perform better than its longhand equivalent, but should not perform worse.
       *
       * @since 23.0
       */
      HashCode hashBytes(ByteBuffer input);
    
      /**
       * Shortcut for {@code newHasher().putUnencodedChars(input).hash()}. The implementation
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 25 18:22:59 UTC 2021
    - 10.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/HashFunction.java

       */
      HashCode hashBytes(byte[] input, int off, int len);
    
      /**
       * Shortcut for {@code newHasher().putBytes(input).hash()}. The implementation <i>might</i>
       * perform better than its longhand equivalent, but should not perform worse.
       *
       * @since 23.0
       */
      HashCode hashBytes(ByteBuffer input);
    
      /**
       * Shortcut for {@code newHasher().putUnencodedChars(input).hash()}. The implementation
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 25 18:22:59 UTC 2021
    - 10.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

      private static void assertMacHashing(
          byte[] input, String algorithm, SecretKey key, HashFunction hashFunc) throws Exception {
        Mac mac = Mac.getInstance(algorithm);
        mac.init(key);
        mac.update(input);
    
        assertEquals(HashCode.fromBytes(mac.doFinal()), hashFunc.hashBytes(input));
        assertEquals(HashCode.fromBytes(mac.doFinal(input)), hashFunc.hashBytes(input));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 13.8K bytes
    - Viewed (0)
Back to top