Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 1,182 for test (0.03 sec)

  1. internal/jwt/parser_test.go

    		0,
    	},
    }
    
    func mapClaimsToken(claims *MapClaims) string {
    	claims.SetAccessKey("test")
    	j := jwt.NewWithClaims(jwt.SigningMethodHS512, claims)
    	tk, _ := j.SignedString([]byte("HelloSecret"))
    	return tk
    }
    
    func standardClaimsToken(claims *StandardClaims) string {
    	claims.AccessKey = "test"
    	claims.Subject = "test"
    	j := jwt.NewWithClaims(jwt.SigningMethodHS512, claims)
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Nov 05 19:20:08 UTC 2021
    - 6K bytes
    - Viewed (0)
  2. cmd/xl-storage-format_test.go

    func TestIsXLMetaFormatValid(t *testing.T) {
    	tests := []struct {
    		name    int
    		version string
    		format  string
    		want    bool
    	}{
    		{1, "123", "fs", false},
    		{2, "123", xlMetaFormat, false},
    		{3, xlMetaVersion100, "test", false},
    		{4, xlMetaVersion101, "hello", false},
    		{5, xlMetaVersion100, xlMetaFormat, true},
    		{6, xlMetaVersion101, xlMetaFormat, true},
    	}
    	for _, tt := range tests {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. misc/go_android_exec/README

    make.bash. For example, to run the go1 benchmarks
    
    	export PATH=$GOROOT/bin:$PATH
    	cd $GOROOT/test/bench/go1/
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Mon May 01 14:45:55 UTC 2023
    - 732 bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/test/net/protocol/xxx3/Handler.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.test.net.protocol.xxx3;
    
    import java.io.IOException;
    import java.net.URL;
    import java.net.URLConnection;
    import java.net.URLStreamHandler;
    
    public class Handler extends URLStreamHandler {
    
        public static final String PROTOCOL_TYPE = "test";
    
        @Override
        protected URLConnection openConnection(URL u) throws IOException {
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Tue Jun 18 00:44:11 UTC 2024
    - 1007 bytes
    - Viewed (0)
  5. schema/field_test.go

    	"database/sql"
    	"reflect"
    	"sync"
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/schema"
    	"gorm.io/gorm/utils/tests"
    )
    
    func TestFieldValuerAndSetter(t *testing.T) {
    	var (
    		userSchema, _ = schema.Parse(&tests.User{}, &sync.Map{}, schema.NamingStrategy{})
    		user          = tests.User{
    			Model: gorm.Model{
    				ID:        10,
    				CreatedAt: time.Now(),
    				UpdatedAt: time.Now(),
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Sat Feb 19 09:02:53 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_request_files/test_tutorial001_02.py

        assert response.status_code == 200, response.text
        assert response.json() == {"file_size": 14}
    
    
    def test_post_upload_file(tmp_path):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    
        client = TestClient(app)
        with path.open("rb") as file:
            response = client.post("/uploadfile/", files={"file": file})
        assert response.status_code == 200, response.text
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_request_files/test_tutorial001_02_an_py310.py

        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    
        with path.open("rb") as file:
            response = client.post("/files/", files={"file": file})
        assert response.status_code == 200, response.text
        assert response.json() == {"file_size": 14}
    
    
    @needs_py310
    def test_post_upload_file(tmp_path: Path, client: TestClient):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  8. cmd/testdata/xl-meta-merge.zip

    You can also connect using any S3-compatible tool, such as the MinIO Client `mc` commandline tool. See [Test using MinIO Client `mc`](#test-using-minio-client-mc) for more information on using the `mc` commandline tool. For application developers, see <https://min.io/docs/minio/linux/developers/minio-drivers.html> to view MinIO SDKs for supported languages. > NOTE: Standalone MinIO servers are best suited for early development and evaluation. Certain features such as versioning, object locking, and...
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/view/admin/badword/admin_badword.jsp

                                </div>
                                <%-- List --%>
                                <c:if test="${badWordPager.allRecordCount == 0}">
                                    <div class="row">
                                        <div class="col-sm-12">
                                            <em class="fa fa-info-circle text-primary">
                                            <la:message key="labels.list_could_not_find_crud_table"/>
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Wed Feb 12 20:25:27 UTC 2020
    - 6.5K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/model/CIBuildModel.kt

        QUICK_FEEDBACK("Quick Feedback", "Run checks and functional tests (embedded executer, Windows)", "QuickFeedback"),
        PULL_REQUEST_FEEDBACK("Pull Request Feedback", "Run various functional tests", "PullRequestFeedback"),
        READY_FOR_NIGHTLY("Ready for Nightly", "Rerun tests in different environments / 3rd party components", "ReadyforNightly"),
    Registered: Wed Oct 30 11:36:09 UTC 2024
    - Last Modified: Wed Oct 16 06:14:14 UTC 2024
    - 22.9K bytes
    - Viewed (0)
Back to top