Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2561 - 2570 of 3,913 for getD (0.03 sec)

  1. tests/test_tutorial/test_schema_extra_example/test_tutorial004_an.py

                "description": "A very nice Item",
                "price": 35.4,
                "tax": 3.2,
            },
        )
        assert response.status_code == 200
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_request_files/test_tutorial001_03_an.py

        assert response.status_code == 200, response.text
        assert response.json() == {"filename": "test.txt"}
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 6K bytes
    - Viewed (0)
  3. cmd/object-api-options_test.go

    			},
    		},
    	}
    
    	for _, testCase := range testCases {
    		t.Run(testCase.name, func(t *testing.T) {
    			rec := httptest.NewRecorder()
    			req := httptest.NewRequest("GET", "/test", nil)
    			req.Header = testCase.headers
    
    			opts, _ := getAndValidateAttributesOpts(ctx, rec, req, bucket, "testobject")
    
    			if !reflect.DeepEqual(opts.ObjectAttributes, testCase.wantObjectAttrs) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 21:13:59 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. cmd/metrics-v3-scanner.go

    	m.Set(scannerObjectsScanned, float64(globalScannerMetrics.lifetime(scannerMetricScanObject)))
    	m.Set(scannerVersionsScanned, float64(globalScannerMetrics.lifetime(scannerMetricApplyVersion)))
    
    	dui, err := c.dataUsageInfo.Get()
    	if err != nil {
    		metricsLogIf(ctx, err)
    	} else {
    		m.Set(scannerLastActivitySeconds, time.Since(dui.LastUpdate).Seconds())
    	}
    
    	return nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 19:29:25 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. src/archive/zip/example_test.go

    	// Add some files to the archive.
    	var files = []struct {
    		Name, Body string
    	}{
    		{"readme.txt", "This archive contains some text files."},
    		{"gopher.txt", "Gopher names:\nGeorge\nGeoffrey\nGonzo"},
    		{"todo.txt", "Get animal handling licence.\nWrite more examples."},
    	}
    	for _, file := range files {
    		f, err := w.Create(file.Name)
    		if err != nil {
    			log.Fatal(err)
    		}
    		_, err = f.Write([]byte(file.Body))
    		if err != nil {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Jan 27 00:22:03 UTC 2016
    - 2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/normalizer/AnalyzerNormalizer.java

                final List<AnalyzeToken> termTokenList = termResponse.getTokens();
                if (termTokenList.isEmpty()) {
                    return text;
                }
    
                return termTokenList.get(0).getTerm();
            }
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/HostIntervalController.java

                }
                synchronized (lastTime) {
                    while (true) {
                        final long currentTime = SystemUtil.currentTimeMillis();
                        final long delayTime = lastTime.get() + delayMillisBeforeProcessing - currentTime;
                        if (delayTime <= 0) {
                            lastTime.set(currentTime);
                            break;
                        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/SmbRandomAccess.java

         * @return current position
         */
        long getFilePointer ();
    
    
        /**
         * Seek to new position
         * 
         * @param pos
         */
        void seek ( long pos );
    
    
        /**
         * Get the current file length
         * 
         * @return file length
         * @throws SmbException
         */
        long length () throws SmbException;
    
    
        /**
         * Expand/truncate file length
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.5K bytes
    - Viewed (0)
  9. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Lifecycle.java

        /**
         * Method addPhase.
         *
         * @param phase a phase object.
         */
        public void addPhase(Phase phase) {
            getPhases().add(phase);
        } // -- void addPhase( Phase )
    
        /**
         * Get the ID of this lifecycle, for identification in the mojo
         * descriptor.
         *
         * @return String
         */
        public String getId() {
            return this.id;
        } // -- String getId()
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadataGenerator.java

            for (Artifact artifact : artifacts) {
                if (artifact.isSnapshot()) {
                    Object key = LocalSnapshotMetadata.getKey(artifact);
                    LocalSnapshotMetadata snapshotMetadata = snapshots.get(key);
                    if (snapshotMetadata == null) {
                        snapshotMetadata = new LocalSnapshotMetadata(artifact, timestamp);
                        snapshots.put(key, snapshotMetadata);
                    }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top