Search Options

Results per page
Sort
Preferred Languages
Advance

Results 431 - 440 of 782 for passing (0.05 sec)

  1. internal/bucket/lifecycle/filter_test.go

    package lifecycle
    
    import (
    	"encoding/xml"
    	"fmt"
    	"testing"
    
    	"github.com/dustin/go-humanize"
    )
    
    // TestUnsupportedFilters checks if parsing Filter xml with
    // unsupported elements returns appropriate errors
    func TestUnsupportedFilters(t *testing.T) {
    	testCases := []struct {
    		inputXML    string
    		expectedErr error
    	}{
    		{ // Filter with And tags
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 27 00:01:20 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. errors.go

    	ErrInvalidTransaction = errors.New("invalid transaction")
    	// ErrNotImplemented not implemented
    	ErrNotImplemented = errors.New("not implemented")
    	// ErrMissingWhereClause missing where clause
    	ErrMissingWhereClause = errors.New("WHERE conditions required")
    	// ErrUnsupportedRelation unsupported relations
    	ErrUnsupportedRelation = errors.New("unsupported relations")
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Apr 26 02:53:17 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. internal/config/storageclass/storage-class_test.go

    		},
    		{
    			"EC:4:5",
    			StorageClass{
    				Parity: 4,
    			},
    			errors.New("Too many sections in EC:4:5"),
    		},
    		{
    			"EC:A",
    			StorageClass{
    				Parity: 4,
    			},
    			errors.New(`strconv.Atoi: parsing "A": invalid syntax`),
    		},
    		{
    			"AB",
    			StorageClass{
    				Parity: 4,
    			},
    			errors.New("Too few sections in AB"),
    		},
    	}
    	for i, tt := range tests {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_request_files/test_tutorial003_py39.py

        client = TestClient(app)
        return client
    
    
    file_required = {
        "detail": [
            {
                "loc": ["body", "files"],
                "msg": "field required",
                "type": "value_error.missing",
            }
        ]
    }
    
    
    @needs_py39
    def test_post_files(tmp_path, app: FastAPI):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
        path2 = tmp_path / "test2.txt"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/expr_test.go

    	{"3>>(1<<63)", "negative right shift count"},
    	{"(1<<63)>>2", "right shift of value with high bit set"},
    	{"(1<<62)>>2", ""},
    	{`'\x80'`, "illegal UTF-8 encoding for character constant"},
    	{"(23*4", "missing closing paren"},
    	{")23*4", "unexpected ) evaluating expression"},
    	{"18446744073709551616", "value out of range"},
    }
    
    func TestBadExpr(t *testing.T) {
    	for i, test := range badExprTests {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/fscc/FsctlPipeWaitRequest.java

            SMBUtil.writeInt4(this.nameBytes.length, dst, dstIndex);
            dstIndex += 4;
    
            dst[ dstIndex ] = (byte) ( this.timeoutSpecified ? 0x1 : 0x0 );
            dstIndex++;
            dstIndex++; // Padding
    
            System.arraycopy(this.nameBytes, 0, dst, dstIndex, this.nameBytes.length);
            dstIndex += this.nameBytes.length;
    
            return dstIndex - start;
        }
    
    
        /**
         * {@inheritDoc}
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  7. src/cmd/api/api_test.go

    		wanted := strings.Split(string(bs), "\n")
    		sort.Strings(wanted)
    		for _, feature := range wanted {
    			if feature == "" {
    				continue
    			}
    			_, ok := w.features[feature]
    			if !ok {
    				t.Errorf("package %s: missing feature %q", fi.Name(), feature)
    			}
    			delete(w.features, feature)
    		}
    
    		for _, feature := range w.Features() {
    			t.Errorf("package %s: extra feature not in golden file: %q", fi.Name(), feature)
    		}
    	}
    }
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jan 04 17:31:12 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. cmd/endpoint_test.go

    		{"http://server:8080/", Endpoint{}, -1, fmt.Errorf("empty or root path is not supported in URL endpoint")},
    		{"192.168.1.210:9000", Endpoint{}, -1, fmt.Errorf("invalid URL endpoint format: missing scheme http or https")},
    	}
    
    	for i, test := range testCases {
    		t.Run(fmt.Sprint("case-", i), func(t *testing.T) {
    			endpoint, err := NewEndpoint(test.arg)
    			if err == nil {
    				err = endpoint.UpdateIsLocal()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jan 13 07:53:03 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  9. docs/uk/docs/index.md

    * <abbr title="також відомий як: serialization, parsing, marshalling">Перетворення</abbr> вхідних даних: з мережі до даних і типів Python. Читання з:
        * JSON.
        * Параметрів шляху.
        * Параметрів запиту.
        * Cookies.
        * Headers.
        * Forms.
        * Файлів.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/ntlmssp/Type1Message.java

         *
         * @param material
         *            The raw Type-1 material used to construct this message.
         * @throws IOException
         *             If an error occurs while parsing the material.
         */
        public Type1Message ( byte[] material ) throws IOException {
            parse(material);
        }
    
    
        /**
         * Returns the default flags for a generic Type-1 message in the
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Sep 02 12:55:08 UTC 2018
    - 7.8K bytes
    - Viewed (0)
Back to top