- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 551 for cons (0.05 sec)
-
docs_src/cors/tutorial001.py
from fastapi import FastAPI from fastapi.middleware.cors import CORSMiddleware app = FastAPI() origins = [ "http://localhost.tiangolo.com", "https://localhost.tiangolo.com", "http://localhost", "http://localhost:8080", ] app.add_middleware( CORSMiddleware, allow_origins=origins, allow_credentials=True, allow_methods=["*"], allow_headers=["*"], ) @app.get("/")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 459 bytes - Viewed (0) -
internal/grid/grid_test.go
})) // local to remote remoteConn := local.Connection(remoteHost) remoteConn.WaitForConnect(context.Background()) defer testlogger.T.SetErrorTB(t)() t.Run("localToRemote", func(t *testing.T) { const testPayload = "Hello Grid World!" start := time.Now() resp, err := remoteConn.Request(context.Background(), handlerTest, []byte(testPayload)) errFatal(err) if string(resp) != testPayload {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 36.4K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java
// works only in recent Maven4 Assumptions.assumeTrue( Files.isRegularFile(Paths.get(System.getProperty("maven.home")) .resolve("conf") .resolve("maven.properties")), "${maven.home}/conf/maven.properties must be a file"); Files.createDirectory(cwd.resolve(".mvn")); String pomString = """
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.8K bytes - Viewed (0) -
internal/http/response-recorder.go
headers bytes.Buffer body bytes.Buffer // Indicate if headers are written in the log headersLogged bool } // Hijack - hijacks the underlying connection func (lrw *ResponseRecorder) Hijack() (net.Conn, *bufio.ReadWriter, error) { hj, ok := lrw.ResponseWriter.(http.Hijacker) if !ok { return nil, nil, fmt.Errorf("response writer does not support hijacking. Type is %T", lrw.ResponseWriter) } return hj.Hijack() }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 17:13:00 UTC 2024 - 5.5K bytes - Viewed (0) -
apache-maven/src/assembly/component.xml
<include>mvnyjp</include> </includes> <lineEnding>unix</lineEnding> <fileMode>0755</fileMode> </fileSet> <fileSet> <directory>src/assembly/maven/conf</directory> <outputDirectory>conf</outputDirectory> </fileSet> <fileSet> <directory>src/assembly/maven/lib</directory> <outputDirectory>lib</outputDirectory> </fileSet> </fileSets>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Oct 24 12:01:35 UTC 2024 - 3.5K bytes - Viewed (0) -
internal/logger/target/types/targettype_string.go
// Re-run the stringer command to generate them again. var x [1]struct{} _ = x[TargetConsole-1] _ = x[TargetHTTP-2] _ = x[TargetKafka-3] } const _TargetType_name = "ConsoleHTTPKafka" var _TargetType_index = [...]uint8{0, 7, 11, 16} func (i TargetType) String() string { i -= 1 if i >= TargetType(len(_TargetType_index)-1) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Nov 10 18:20:21 UTC 2022 - 703 bytes - Viewed (0) -
cmd/decommetric_string.go
// Re-run the stringer command to generate them again. var x [1]struct{} _ = x[decomMetricDecommissionBucket-0] _ = x[decomMetricDecommissionObject-1] _ = x[decomMetricDecommissionRemoveObject-2] } const _decomMetric_name = "DecommissionBucketDecommissionObjectDecommissionRemoveObject" var _decomMetric_index = [...]uint8{0, 18, 36, 60} func (i decomMetric) String() string { if i >= decomMetric(len(_decomMetric_index)-1) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 10 19:46:45 UTC 2022 - 830 bytes - Viewed (0) -
internal/grid/debugmsg_string.go
_ = x[debugWaitForExit-3] _ = x[debugSetConnPingDuration-4] _ = x[debugSetClientPingDuration-5] _ = x[debugAddToDeadline-6] _ = x[debugIsOutgoingClosed-7] _ = x[debugBlockInboundMessages-8] } const _debugMsg_name = "debugShutdowndebugKillInbounddebugKillOutbounddebugWaitForExitdebugSetConnPingDurationdebugSetClientPingDurationdebugAddToDeadlinedebugIsOutgoingCloseddebugBlockInboundMessages"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 1K bytes - Viewed (0) -
cmd/metrics-v3-cluster-health.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import "context" const ( healthDrivesOfflineCount = "drives_offline_count" healthDrivesOnlineCount = "drives_online_count" healthDrivesCount = "drives_count" ) var (
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Mar 10 09:15:15 UTC 2024 - 3.9K bytes - Viewed (0) -
gorm.go
"context" "database/sql" "fmt" "reflect" "sort" "sync" "time" "gorm.io/gorm/clause" "gorm.io/gorm/logger" "gorm.io/gorm/schema" ) // for Config.cacheStore store PreparedStmtDB key const preparedStmtDBKey = "preparedStmt" // Config GORM config type Config struct { // GORM perform single create, update, delete operations in transactions by default to ensure database data integrity
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Oct 09 11:29:48 UTC 2024 - 12.1K bytes - Viewed (0)