Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 562 for hoist (0.02 sec)

  1. docs/pt/docs/tutorial/debugging.md

    $ python myapp.py
    ```
    
    </div>
    
    então a variável interna `__name__` no seu arquivo, criada automaticamente pelo Python, terá como valor a string `"__main__"`.
    
    Então, a seção:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    vai executar.
    
    ---
    
    Isso não acontecerá se você importar esse módulo (arquivo).
    
    Então, se você tiver outro arquivo `importer.py` com:
    
    ```Python
    from myapp import app
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. cmd/event-notification.go

    			},
    			Object: event.Object{
    				Key:       keyName,
    				VersionID: args.Object.VersionID,
    				Sequencer: uniqueID,
    			},
    		},
    		Source: event.Source{
    			Host:      args.Host,
    			UserAgent: args.UserAgent,
    		},
    	}
    
    	isRemovedEvent := args.EventName == event.ObjectRemovedDelete ||
    		args.EventName == event.ObjectRemovedDeleteMarkerCreated ||
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. docs/fr/docs/tutorial/debugging.md

    ```
    
    </div>
    
    alors la variable interne `__name__` de votre fichier, créée automatiquement par Python, aura pour valeur la chaîne de caractères `"__main__"`.
    
    Ainsi, la section :
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    va s'exécuter.
    
    ---
    
    Cela ne se produira pas si vous importez ce module (fichier).
    
    Par exemple, si vous avez un autre fichier `importer.py` qui contient :
    
    ```Python
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Oct 27 17:31:14 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. cmd/signature-v4-parser_test.go

    			expectedErrCode:       ErrMissingSignHeadersTag,
    		},
    		// Test case - 3.
    		// Test case with valid inputs.
    		{
    			inputSignElement:      "SignedHeaders=host;x-amz-content-sha256;x-amz-date",
    			expectedSignedHeaders: []string{"host", "x-amz-content-sha256", "x-amz-date"},
    			expectedErrCode:       ErrNone,
    		},
    	}
    
    	for i, testCase := range testCases {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 27.4K bytes
    - Viewed (0)
  5. cmd/generic-handlers.go

    		}
    	}
    	// Date header missing.
    	return time.Time{}, ErrMissingDateHeader
    }
    
    func hasBadHost(host string) error {
    	if globalIsCICD && strings.TrimSpace(host) == "" {
    		// under CI/CD test setups ignore empty hosts as invalid hosts
    		return nil
    	}
    	_, err := xnet.ParseHost(host)
    	return err
    }
    
    // Check if the incoming path has bad path components,
    // such as ".." and "."
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.7K bytes
    - Viewed (1)
  6. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                        this.addresses = this.ctx.getNameServiceClient().getAllByName(host, true);
                    } else {
                        this.addresses = this.ctx.getNameServiceClient().getAllByName(host, false);
                    }
                } catch (final UnknownHostException e) {
                    throw new CIFSException("Failed to lookup address for name " + host, e);
                }
            }
    
            return getNextAddress();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/Lmhosts.java

         * throw on a regular basis here.
         *
         * @param host the hostname to resolve
         * @param tc the CIFS context
         * @return resolved name, null if not found
         */
        public synchronized NbtAddress getByName(final String host, final CIFSContext tc) {
            return getByName(new Name(tc.getConfig(), host, 0x20, null), tc);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

            .url("/")
            .newBuilder()
            .host("any-host-name")
            .port(port)
            .build()
        val request = Request(url)
        val response = client.newCall(request).execute()
        assertThat(response.body.string()).isEqualTo("response body")
        val connect = server.takeRequest()
        assertThat(connect.requestLine).isEqualTo("CONNECT any-host-name:$port HTTP/1.1")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbTransportPool.java

         * @param exclusive whether to acquire an unshared connection
         * @param forceSigning whether to enforce SMB signing
         * @return a connected transport
         * @throws UnknownHostException if the host cannot be resolved
         * @throws IOException if an I/O error occurs
         */
        SmbTransport getSmbTransport(CIFSContext tf, String name, int port, boolean exclusive, boolean forceSigning)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  10. cmd/server-main.go

    			return
    		}
    		ip := "127.0.0.1"
    		host, _ := mustSplitHostPort(globalLocalNodeName)
    		if host != "" {
    			if net.ParseIP(host) != nil {
    				ip = host
    			} else {
    				ctx, cancel := context.WithTimeout(context.Background(), 2*time.Second)
    				defer cancel()
    
    				haddrs, err := globalDNSCache.LookupHost(ctx, host)
    				if err == nil {
    					ip = haddrs[0]
    				}
    			}
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:18:36 UTC 2025
    - 35.9K bytes
    - Viewed (4)
Back to top