Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 840 for f$ (0.32 sec)

  1. tests/test_tutorial/test_extra_data_types/test_tutorial001_an_py39.py

        expected_response.update(
            {
                "start_process": "2018-12-22T14:05:00+00:00",
                "duration": 176_100,
                "item_id": item_id,
            }
        )
        response = client.put(f"/items/{item_id}", json=data)
        assert response.status_code == 200, response.text
        assert response.json() == expected_response
    
    
    @needs_py39
    def test_openapi_schema(client: TestClient):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Apr 19 00:11:40 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    		return nil, time.Time{}, ctx.Err()
    	}
    
    	if err := checkPathLength(itemPath); err != nil {
    		return nil, time.Time{}, err
    	}
    
    	f, err := OpenFile(itemPath, readMode, 0o666)
    	if err != nil {
    		return nil, time.Time{}, err
    	}
    	defer f.Close()
    	stat, err := f.Stat()
    	if err != nil {
    		return nil, time.Time{}, err
    	}
    	if stat.IsDir() {
    		return nil, time.Time{}, &os.PathError{
    			Op:   "open",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  3. src/main/webapp/WEB-INF/orig/view/searchResults.jsp

    				<ul class="list-group mb-2">
    					<li class="list-group-item text-uppercase"><la:message
    							key="${facetQueryView.title}" /></li>
    					<c:set var="facetFound" value="F"/>
    					<c:forEach var="queryEntry" items="${facetQueryView.queryMap}">
    						<c:if test="${facetResponse.queryCountMap[queryEntry.value] > 0}">
    							<li class="list-group-item"><la:link
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jun 09 04:29:42 UTC 2022
    - 9K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_cookie_param_models/test_tutorial002.py

            pytest.param("tutorial002_pv1_an_py310", marks=[needs_py310, needs_pydanticv1]),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.cookie_param_models.{request.param}")
    
        client = TestClient(mod.app)
        return client
    
    
    def test_cookie_param_model(client: TestClient):
        with client as c:
            c.cookies.set("session_id", "123")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. cmd/streaming-signature-v4.go

    		// a size of 16 is encoded as `10` while a size of 64 KB
    		// is `10000`.
    		switch {
    		case b >= '0' && b <= '9':
    			size = size<<4 | int(b-'0')
    		case b >= 'a' && b <= 'f':
    			size = size<<4 | int(b-('a'-10))
    		case b >= 'A' && b <= 'F':
    			size = size<<4 | int(b-('A'-10))
    		default:
    			cr.err = errMalformedEncoding
    			return n, cr.err
    		}
    		if size > maxChunkSize {
    			cr.err = errChunkTooBig
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  6. internal/disk/directio_unsupported.go

    func OpenFileDirectIO(filePath string, flag int, perm os.FileMode) (*os.File, error) {
    	return os.OpenFile(filePath, flag, perm)
    }
    
    // DisableDirectIO is a no-op
    func DisableDirectIO(f *os.File) error {
    	return nil
    }
    
    // AlignedBlock simply returns an unaligned buffer
    // for systems that do not support DirectIO.
    func AlignedBlock(blockSize int) []byte {
    	return make([]byte, blockSize)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

        underlying.put("a", 1);
        underlying.put("b", 2);
        underlying.put("c", 3);
        underlying.put("d", 4);
        underlying.put("e", 5);
        underlying.put("f", 6);
        underlying.put("g", 7);
        Map<String, String> map = transformValues(underlying, Functions.toStringFunction());
    
        map.remove("a");
        assertFalse(underlying.containsKey("a"));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. src/bytes/reader_test.go

    	}
    	if got, want := r.Len(), 0; got != want {
    		t.Errorf("r.Len(): got %d, want %d", got, want)
    	}
    }
    
    var UnreadRuneErrorTests = []struct {
    	name string
    	f    func(*Reader)
    }{
    	{"Read", func(r *Reader) { r.Read([]byte{0}) }},
    	{"ReadByte", func(r *Reader) { r.ReadByte() }},
    	{"UnreadRune", func(r *Reader) { r.UnreadRune() }},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 8K bytes
    - Viewed (0)
  9. cmd/bucket-replication-metrics.go

    func newXferStats() *XferStats {
    	return &XferStats{
    		measure: newRateMeasurement(time.Now()),
    		sma:     newSMA(50),
    	}
    }
    
    func (rx *XferStats) String() string {
    	return fmt.Sprintf("curr=%f avg=%f, peak=%f", rx.curr(), rx.Avg, rx.Peak)
    }
    
    func (rx *XferStats) curr() float64 {
    	if rx.measure == nil {
    		return 0.0
    	}
    	return rx.measure.getExpMovingAvgBytesPerSecond()
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  10. cmd/format-erasure.go

    		DistributionAlgo string `json:"distributionAlgo"`
    	} `json:"xl"`
    	Info DiskInfo `json:"-"`
    }
    
    func (f *formatErasureV3) Drives() (drives int) {
    	for _, set := range f.Erasure.Sets {
    		drives += len(set)
    	}
    	return drives
    }
    
    func (f *formatErasureV3) Clone() *formatErasureV3 {
    	b, err := json.Marshal(f)
    	if err != nil {
    		panic(err)
    	}
    	var dst formatErasureV3
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
Back to top