Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 360 for Localhost (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

    import okhttp3.internal.connection.RealRoutePlanner
    import okhttp3.internal.http.RealInterceptorChain
    import okhttp3.internal.http.RecordingProxySelector
    import okhttp3.tls.HandshakeCertificates
    import okhttp3.tls.internal.TlsUtil.localhost
    
    /**
     * OkHttp is usually tested with functional tests: these use public APIs to confirm behavior against
     * MockWebServer. In cases where logic is particularly tricky, we use unit tests. This class makes
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Oct 08 03:50:05 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  2. internal/grid/connection_test.go

    			handler.ServeHTTP(w, r)
    		})
    	}
    	connReady := make(chan struct{})
    	// We fake a local and remote server.
    	localHost := hosts[0]
    	remoteHost := hosts[1]
    	local, err := NewManager(t.Context(), ManagerOptions{
    		Dialer: ConnectWS(dialer.DialContext,
    			dummyNewToken,
    			nil),
    		Local:        localHost,
    		Hosts:        hosts,
    		AuthFn:       dummyNewToken,
    		AuthToken:    dummyTokenValidate,
    		BlockConnect: connReady,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt

              val domainName = fromSource.readUtf8(domainNameLength.toLong())
              // Resolve HOSTNAME_THAT_ONLY_THE_PROXY_KNOWS to localhost.
              when {
                domainName.equals(HOSTNAME_THAT_ONLY_THE_PROXY_KNOWS, ignoreCase = true) -> {
                  InetAddress.getByName("localhost")
                }
                else -> InetAddress.getByName(domainName)
              }
            }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  4. docs/extensions/s3zip/examples/boto3/main.py

    #!/usr/bin/env/python
    
    import boto3
    from botocore.client import Config
    
    s3 = boto3.client('s3',
            endpoint_url='http://localhost:9000',
            aws_access_key_id='YOUR-ACCESSKEYID',
            aws_secret_access_key='YOUR-SECRETACCESSKEY',
            config=Config(signature_version='s3v4'),
            region_name='us-east-1')
    
    
    def _add_header(request, **kwargs):
        request.headers.add_header('x-minio-extract', 'true')
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Aug 04 21:15:45 GMT 2021
    - 771 bytes
    - Click Count (0)
  5. scripts/playwright/separate_openapi_schemas/image01.py

        browser = playwright.chromium.launch(headless=False)
        # Update the viewport manually
        context = browser.new_context(viewport={"width": 960, "height": 1080})
        page = context.new_page()
        page.goto("http://localhost:8000/docs")
        page.get_by_text("POST/items/Create Item").click()
        page.get_by_role("tab", name="Schema").first.click()
        # Manually add the screenshot
        page.screenshot(
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Sep 13 09:14:46 GMT 2024
    - 974 bytes
    - Click Count (0)
  6. docs/sts/client-grants.py

                                       '0Z4VTG8uJBSekn42HE40DK9vQb4a'),
    )
    
    boto3_session = Session(botocore_session=bc_session)
    s3 = boto3_session.resource('s3', endpoint_url='http://localhost:9000')
    
    with open('/etc/hosts', 'rb') as data:
        s3.meta.client.upload_fileobj(data,
                                      'testbucket',
                                      'hosts',
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 1.2K bytes
    - Click Count (0)
  7. scripts/playwright/separate_openapi_schemas/image04.py

        browser = playwright.chromium.launch(headless=False)
        # Update the viewport manually
        context = browser.new_context(viewport={"width": 960, "height": 1080})
        page = context.new_page()
        page.goto("http://localhost:8000/docs")
        page.get_by_role("button", name="Item-Input").click()
        page.get_by_role("button", name="Item-Output").click()
        page.set_viewport_size({"width": 960, "height": 820})
        # Manually add the screenshot
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Sep 13 09:14:46 GMT 2024
    - 1K bytes
    - Click Count (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolverTest.java

        }
    
        public void test_resolve_hostname() throws UnknownHostException {
            IdnDnsResolver resolver = new IdnDnsResolver();
    
            // Test localhost hostname
            String host = "localhost";
            InetAddress[] addresses = resolver.resolve(host);
            assertNotNull(addresses);
            assertTrue(addresses.length > 0);
        }
    
        public void test_resolve_invalid_brackets() {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 06 07:24:43 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  9. docs_src/dependencies/tutorial014_an_py310.py

    from fastapi import Depends, FastAPI, HTTPException
    from fastapi.responses import StreamingResponse
    from sqlmodel import Field, Session, SQLModel, create_engine
    
    engine = create_engine("postgresql+psycopg://postgres:postgres@localhost/db")
    
    
    class User(SQLModel, table=True):
        id: int | None = Field(default=None, primary_key=True)
        name: str
    
    
    app = FastAPI()
    
    
    def get_session():
        with Session(engine) as session:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Sep 29 03:29:38 GMT 2025
    - 957 bytes
    - Click Count (0)
  10. internal/logger/help.go

    	"github.com/minio/minio/internal/config"
    )
    
    // Help template for logger http and audit
    var (
    	Help = config.HelpKVS{
    		config.HelpKV{
    			Key:         Endpoint,
    			Description: `HTTP(s) endpoint e.g. "http://localhost:8080/minio/logs/server"`,
    			Type:        "url",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         AuthToken,
    			Description: `opaque string or JWT authorization token`,
    			Optional:    true,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Sep 11 22:20:42 GMT 2024
    - 7.4K bytes
    - Click Count (0)
Back to Top