Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 721 - 730 of 819 for throws (0.15 seconds)

  1. tests/generics_test.go

    		t.Fatalf("Create failed: %v", err)
    	}
    	rows, err := gorm.G[User](DB).Raw("SELECT name FROM users WHERE id IN ?", []uint{user.ID, user2.ID}).Rows(ctx)
    	if err != nil {
    		t.Fatalf("Rows failed: %v", err)
    	}
    
    	count := 0
    	for rows.Next() {
    		var name string
    		if err := rows.Scan(&name); err != nil {
    			t.Fatalf("rows.Scan failed: %v", err)
    		}
    		count++
    	}
    	if count != 2 {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Nov 02 14:09:18 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

                        ? registry.stream().collect(Collectors.toMap(lf -> lf.id(), lf -> new Lifecycle(registry, lf)))
                        : Map.of();
            } catch (LookupException e) {
                throw new IllegalStateException("Unable to lookup lifecycles from the plexus container", e);
            }
        }
    
        public String getLifecyclePhaseList() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  3. prepare_stmt.go

    }
    
    func (db *PreparedStmtDB) QueryContext(ctx context.Context, query string, args ...interface{}) (rows *sql.Rows, err error) {
    	stmt, err := db.prepare(ctx, db.ConnPool, false, query)
    	if err == nil {
    		rows, err = stmt.QueryContext(ctx, args...)
    		if errors.Is(err, driver.ErrBadConn) {
    			db.Stmts.Delete(query)
    		}
    	}
    	return rows, err
    }
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Apr 25 08:22:26 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/scopes/Maven4ScopeManagerConfiguration.java

                    MavenArtifactProperties.LOCAL_PATH));
    
            // == sanity check
            if (result.size() != org.apache.maven.api.DependencyScope.values().length - 1) { // sans "undefined"
                throw new IllegalStateException("Maven4 API dependency scope mismatch");
            }
    
            return result;
        }
    
        @Override
        public Collection<org.eclipse.aether.scope.ResolutionScope> buildResolutionScopes(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 9.2K bytes
    - Click Count (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBadMultiLangSnippets.java

                    for (Error err : e.getValue()) {
                        sb.append("    line ").append(err.line).append(": ").append(err.message).append("\n");
                    }
                }
                throw new GradleException(sb.toString());
            }
        }
    
        private static final java.util.regex.Pattern SOURCE_LANG_PATTERN =
            java.util.regex.Pattern.compile(
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Aug 29 10:12:17 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/index.md

    # Tutorial - User Guide { #tutorial-user-guide }
    
    This tutorial shows you how to use **FastAPI** with most of its features, step by step.
    
    Each section gradually builds on the previous ones, but it's structured to separate topics, so that you can go directly to any specific one to solve your specific API needs.
    
    It is also built to work as a future reference so you can come back and see exactly what you need.
    
    ## Run the code { #run-the-code }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilder.java

            Document doc;
            try {
                doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument();
            } catch (ParserConfigurationException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
    
            LinkRenderer linkRenderer = new LinkRenderer(doc, model);
            for (Map.Entry<String, ClassDoc> entry : extensionDoc.getExtensionClasses().entrySet()) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.9K bytes
    - Click Count (0)
  8. docs/distributed/DECOMMISSION.md

    λ mc admin decommission status alias/ http://minio{1...2}/data{1...4}
    Decommission of pool http://minio{1...2}/data{1...4} is complete, you may now remove it from server command line
    ```
    
    ### A pool not under decommissioning will throw an error
    
    ```
    λ mc admin decommission status alias/ http://minio{1...2}/data{1...4}
    ERROR: This pool is not scheduled for decommissioning currently.
    ```
    
    ## Canceling a decommission
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Jul 11 14:59:49 GMT 2022
    - 8.3K bytes
    - Click Count (0)
  9. callbacks/delete.go

    					}
    				}
    
    				return
    			}
    
    			if rows, err := db.Statement.ConnPool.QueryContext(db.Statement.Context, db.Statement.SQL.String(), db.Statement.Vars...); db.AddError(err) == nil {
    				gorm.Scan(rows, db, mode)
    
    				if db.Statement.Result != nil {
    					db.Statement.Result.RowsAffected = db.RowsAffected
    				}
    				db.AddError(rows.Close())
    			}
    		}
    	}
    }
    
    func AfterDelete(db *gorm.DB) {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  10. cmd/healthcheck-handler.go

    		ctx, cancel := context.WithTimeout(r.Context(), defaultContextTimeout)
    		defer cancel()
    		if _, err := globalEtcdClient.Get(ctx, "health"); err != nil {
    			// etcd unreachable throw an error..
    			switch r.Method {
    			case http.MethodHead:
    				apiErr := toAPIError(r.Context(), err)
    				writeResponse(w, apiErr.HTTPStatusCode, nil, mimeNone)
    			case http.MethodGet:
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Jun 26 07:44:34 GMT 2024
    - 6.9K bytes
    - Click Count (0)
Back to Top