Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1561 - 1570 of 2,114 for GET (0.09 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

        private String determineTargetModelVersion(UpgradeContext context) {
            UpgradeOptions options = getOptions(context);
    
            if (options.modelVersion().isPresent()) {
                return options.modelVersion().get();
            } else if (options.all().orElse(false)) {
                return MODEL_VERSION_4_1_0;
            } else {
                return MODEL_VERSION_4_0_0;
            }
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

                pluginContextsByProjectAndPluginKey = new ConcurrentHashMap<>();
    
        public void setProjects(List<MavenProject> projects) {
            if (!projects.isEmpty()) {
                MavenProject first = projects.get(0);
                this.currentProject = ThreadLocal.withInitial(() -> first);
                this.topLevelProject = projects.stream()
                        .filter(project -> project.isExecutionRoot())
                        .findFirst()
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  3. tests/scan_test.go

    	}
    
    	type Result struct {
    		Name string
    		Age  int
    	}
    
    	var results []Result
    	for rows.Next() {
    		var result Result
    		if err := DB.ScanRows(rows, &result); err != nil {
    			t.Errorf("should get no error, but got %v", err)
    		}
    		results = append(results, result)
    	}
    
    	sort.Slice(results, func(i, j int) bool {
    		return strings.Compare(results[i].Name, results[j].Name) <= -1
    	})
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed Jun 12 10:57:36 GMT 2024
    - 10.9K bytes
    - Click Count (0)
  4. cmd/format-erasure_test.go

    	if ok := formatErasureV3ThisEmpty(formats); !ok {
    		t.Fatalf("expected value true, got %t", ok)
    	}
    }
    
    // Tests xl format migration.
    func TestFormatErasureMigrate(t *testing.T) {
    	// Get test root.
    	rootPath := t.TempDir()
    
    	m := &formatErasureV1{}
    	m.Format = formatBackendErasure
    	m.Version = formatMetaVersionV1
    	m.Erasure.Version = formatErasureVersionV1
    	m.Erasure.Disk = mustGetUUID()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  5. migrator/migrator.go

    				return err
    			}
    		} else {
    			if err := m.RunWithValue(value, func(stmt *gorm.Statement) error {
    
    				if stmt.Schema == nil {
    					return errors.New("failed to get schema")
    				}
    
    				columnTypes, err := queryTx.Migrator().ColumnTypes(value)
    				if err != nil {
    					return err
    				}
    				var (
    					parseIndexes          = stmt.Schema.ParseIndexes()
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Oct 26 12:31:09 GMT 2025
    - 29.7K bytes
    - Click Count (0)
  6. docs/ru/docs/alternatives.md

    Пользоваться им очень просто. Например, чтобы сделать запрос `GET`, вы бы написали:
    
    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    Соответствующая в FastAPI API-операция пути могла бы выглядеть так:
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
        return {"message": "Hello World"}
    ```
    
    Посмотрите, насколько похожи `requests.get(...)` и `@app.get(...)`.
    
    /// check | Вдохновило **FastAPI** на
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  7. cmd/endpoint.go

    				if err != nil {
    					port = serverAddrPort
    				}
    				localPortSet.Add(port)
    
    				localEndpointCount++
    			}
    		}
    
    		reverseProxy := (env.Get("_MINIO_REVERSE_PROXY", "") != "") && ((env.Get("MINIO_CI_CD", "") != "") || (env.Get("CI", "") != ""))
    		// If not orchestrated
    		// and not setup in reverse proxy
    		if !orchestrated && !reverseProxy {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenPropertiesLoader.java

            return configProps;
        }
    
        private static void loadIncludes(Path configProp, MavenProperties configProps, UnaryOperator<String> callback)
                throws IOException {
            String includes = configProps.get(INCLUDES_PROPERTY);
            if (includes != null) {
                includes = substVars(includes, INCLUDES_PROPERTY, configProps, callback);
                StringTokenizer st = new StringTokenizer(includes, "?\",", true);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  9. docs/en/docs/advanced/async-tests.md

    Then we can create an `AsyncClient` with the app, and send async requests to it, using `await`.
    
    {* ../../docs_src/async_tests/app_a_py39/test_main.py hl[9:12] *}
    
    This is the equivalent to:
    
    ```Python
    response = client.get('/')
    ```
    
    ...that we used to make our requests with the `TestClient`.
    
    /// tip
    
    Note that we're using async/await with the new `AsyncClient` - the request is asynchronous.
    
    ///
    
    /// warning
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/settings/PomConstructionWithSettingsTest.java

            String localRepoPath = System.getProperty(
                    "maven.repo.local",
                    System.getProperty("user.home") + File.separator + ".m2" + File.separator + "repository");
            Path absolutePath = Paths.get(localRepoPath).toAbsolutePath();
            config.setLocalRepository(MavenRepositorySystem.createArtifactRepository(
                    "local", absolutePath, new DefaultRepositoryLayout(), null, null));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 5.5K bytes
    - Click Count (0)
Back to Top