Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 92 for Truong (0.77 sec)

  1. tests/test_tutorial/test_body/test_tutorial001.py

        assert response.status_code == 200, response.text
        assert response.json() == {
            "name": "Foo",
            "description": None,
            "price": 50.5,
            "tax": None,
        }
    
    
    def test_wrong_headers(client: TestClient):
        data = '{"name": "Foo", "price": 50.5}'
        response = client.post(
            "/items/", content=data, headers={"Content-Type": "text/plain"}
        )
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 14.7K bytes
    - Viewed (9)
  2. src/cmd/asm/internal/asm/endtoend_test.go

    			} else if err := errors[fileline]; err == "" {
    				t.Errorf("%s: missing error, want %s", fileline, all)
    			} else if !strings.Contains(err, mm[0][1]) {
    				t.Errorf("%s: wrong error for %s:\n%s", fileline, all, err)
    			}
    		} else {
    			if errors[fileline] != "" {
    				t.Errorf("unexpected error on %s: %v", fileline, errors[fileline])
    			}
    		}
    		delete(errors, fileline)
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  3. src/main/resources/fess_message_en.properties

    constraints.TypeDouble.message              = {item} should be numeric.
    constraints.TypeAny.message                 = {item} cannot convert as {propertyType}.
    constraints.UriType.message                 = {item} has wrong URI.
    constraints.CronExpression.message          = {item} is invalid cron expression.
    
    # ----------------------------------------------------------
    #                                      Application Exception
    Properties
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sat Mar 18 03:05:44 GMT 2023
    - 12.4K bytes
    - Viewed (0)
  4. cmd/object-api-utils_test.go

    func TestGetCompleteMultipartMD5(t *testing.T) {
    	testCases := []struct {
    		parts          []CompletePart
    		expectedResult string
    		expectedErr    string
    	}{
    		// Wrong MD5 hash string, returns md5um of hash
    		{[]CompletePart{{ETag: "wrong-md5-hash-string"}}, "0deb8cb07527b4b2669c861cb9653607-1", ""},
    
    		// Single CompletePart with valid MD5 hash string.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  5. maven-core/src/site/apt/offline-mode.apt

        <<online>> status, or else doesn't care.
    
      * Otherwise, don't bind the mojo. Log a debug message to indicate that it is
        sensitive the online state of the application, and that this state is
        currently wrong for execution.
    
        <<NOTE:>> Do we want to fail when we cannot bind a mojo to the lifecycle
        because of offline/online status? That would probably indicate that the user
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 18 00:24:53 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/lex/input.go

    		if tok == ')' {
    			break
    		}
    	}
    	// Zero-argument macros are tricky.
    	if len(macro.args) == 0 && len(args) == 1 && args[0] == nil {
    		args = nil
    	} else if len(args) != len(macro.args) {
    		in.Error("wrong arg count for macro", macro.name)
    	}
    	argMap := make(map[string][]Token)
    	for i, arg := range args {
    		argMap[macro.args[i]] = arg
    	}
    	return argMap
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  7. tensorflow/c/eager/immediate_execution_context.h

    class CustomDeviceOpHandler;
    class Device;
    
    // LINT.IfChange
    // Note: Keep in sync with exported copy of enum in eager/c_api.h.
    enum ContextDevicePlacementPolicy {
      // Running operations with input tensors on the wrong device will fail.
      DEVICE_PLACEMENT_EXPLICIT = 0,
      // Copy the tensor to the right device but log a warning.
      DEVICE_PLACEMENT_WARN = 1,
      // Silently copy the tensor, which has a performance cost since the operation
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

       *             -> pinnedIntermediate (trusted by CertificatePinner)
       *                 -> attackerSwitch (not a CA certificate!)
       *                     -> phonyVictim
       * ```
       *
       * But this chain is wrong because the attackerSwitch certificate is being used in a CA role even
       * though it is not a CA certificate. There are pinned certificates in the chain! The correct
       * chain is much shorter because it skips the non-CA certificate.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 23.8K bytes
    - Viewed (0)
  9. src/main/resources/fess_message.properties

    constraints.TypeDouble.message              = {item} should be numeric.
    constraints.TypeAny.message                 = {item} cannot convert as {propertyType}.
    constraints.UriType.message                 = {item} has wrong URI.
    constraints.CronExpression.message          = {item} is invalid cron expression.
    
    # ----------------------------------------------------------
    #                                      Application Exception
    Properties
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sat Mar 18 03:05:44 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  10. src/bufio/scan_test.go

    			if s.ErrOrEOF() != io.EOF {
    				t.Fatal("not testing EOF")
    			}
    			err = testError
    		}
    		return
    	}
    	s.Split(split)
    	for s.Scan() {
    	}
    	if s.Err() != testError {
    		t.Fatal("wrong error:", s.Err())
    	}
    }
    
    // Test for issue 5268.
    type alwaysError struct{}
    
    func (alwaysError) Read(p []byte) (int, error) {
    	return 0, io.ErrUnexpectedEOF
    }
    
    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)
Back to top