Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for UA (0.04 sec)

  1. android/guava/src/com/google/common/net/HttpHeaders.java

      /**
       * The HTTP <a href="https://wicg.github.io/ua-client-hints/#sec-ch-ua-model">{@code
       * Sec-CH-UA-Model}</a> header field name.
       *
       * @since 30.0
       */
      public static final String SEC_CH_UA_MODEL = "Sec-CH-UA-Model";
      /**
       * The HTTP <a href="https://wicg.github.io/ua-client-hints/#sec-ch-ua-platform">{@code
       * Sec-CH-UA-Platform}</a> header field name.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 01 18:44:57 UTC 2024
    - 34.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/helpers_test.go

    	req.Header = http.Header{}
    
    	ua := "short-agent"
    	req.Header.Set("User-Agent", ua)
    	uaNotTruncated := &lazyTruncatedUserAgent{req}
    	assert.Equal(t, ua, fmt.Sprintf("%v", uaNotTruncated))
    
    	ua = ""
    	for i := 0; i < maxUserAgentLength*2; i++ {
    		ua = ua + "a"
    	}
    	req.Header.Set("User-Agent", ua)
    	uaTruncated := &lazyTruncatedUserAgent{req}
    	assert.NotEqual(t, ua, fmt.Sprintf("%v", uaTruncated))
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 03 15:25:35 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/net/HttpHeaders.java

      /**
       * The HTTP <a href="https://wicg.github.io/ua-client-hints/#sec-ch-ua-model">{@code
       * Sec-CH-UA-Model}</a> header field name.
       *
       * @since 30.0
       */
      public static final String SEC_CH_UA_MODEL = "Sec-CH-UA-Model";
      /**
       * The HTTP <a href="https://wicg.github.io/ua-client-hints/#sec-ch-ua-platform">{@code
       * Sec-CH-UA-Platform}</a> header field name.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 01 18:44:57 UTC 2024
    - 34.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/helpers.go

    type lazyTruncatedUserAgent struct {
    	req *http.Request
    }
    
    func (lazy *lazyTruncatedUserAgent) String() string {
    	ua := "unknown"
    	if lazy.req != nil {
    		ua = utilnet.GetHTTPClient(lazy.req)
    		if len(ua) > maxUserAgentLength {
    			ua = ua[:maxUserAgentLength] + userAgentTruncateSuffix
    		}
    	}
    	return ua
    }
    
    // LazyClientIP implements String() string and it will
    // calls GetClientIP() lazily only when required.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 03 15:25:35 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/audit/request_test.go

    func TestMaybeTruncateUserAgent(t *testing.T) {
    	req := &http.Request{}
    	req.Header = http.Header{}
    
    	ua := "short-agent"
    	req.Header.Set("User-Agent", ua)
    	assert.Equal(t, ua, maybeTruncateUserAgent(req))
    
    	ua = ""
    	for i := 0; i < maxUserAgentLength*2; i++ {
    		ua = ua + "a"
    	}
    	req.Header.Set("User-Agent", ua)
    	assert.NotEqual(t, ua, maybeTruncateUserAgent(req))
    }
    
    func TestCopyWithoutManagedFields(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 29 00:03:53 UTC 2022
    - 6.2K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

                if (entry.getKey().matcher(target).find()) {
                    final Directive directive = entry.getValue();
                    final String ua = directive.getUserAgent();
                    int uaLength = 0;
                    if (!ALL_BOTS.equals(ua)) {
                        uaLength = ua.length();
                    }
                    if (uaLength > maxUaLength) {
                        matchedDirective = directive;
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. okhttp/src/main/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz

    kddi ke keisen.fukuoka.jp keliweb.cloud kembuchi.hokkaido.jp kep.tr kepno.pl kerryhotels kerrylogistics kerryproperties ketrzyn.pl keymachine.de kfh kg kg.kr kh.ua khakassia.su kharkiv.ua kharkov.ua kherson.ua khmelnitskiy.ua khmelnytskyi.ua khplay.nl ki kia kibichuo.okayama.jp kicks-ass.net kicks-ass.org kids kids.museum kids.us kiev.ua kiho.mie.jp kihoku.ehime.jp kijo.miyazaki.jp kikirara.jp kikonai.hokkaido.jp kikuchi.kumamoto.jp kikugawa.shizuoka.jp kilatiron.com kill.jp kilo.jp kim kimino.wakayama.jp...
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 40.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/audit/request.go

    	}, nil
    }
    
    // truncate User-Agent if too long, otherwise return it directly.
    func maybeTruncateUserAgent(req *http.Request) string {
    	ua := req.UserAgent()
    	if len(ua) > maxUserAgentLength {
    		ua = ua[:maxUserAgentLength] + userAgentTruncateSuffix
    	}
    
    	return ua
    }
    
    // copyWithoutManagedFields will make a deep copy of the specified object and
    // will discard the managed fields from the copy.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 9K bytes
    - Viewed (0)
  9. src/math/big/int.go

    // if extended is true, it also updates the cosequence Ua, Ub.
    func euclidUpdate(A, B, Ua, Ub, q, r, s, t *Int, extended bool) {
    	q, r = q.QuoRem(A, B, r)
    
    	*A, *B, *r = *B, *r, *A
    
    	if extended {
    		// Ua, Ub = Ub, Ua - q*Ub
    		t.Set(Ub)
    		s.Mul(Ub, q)
    		Ub.Sub(Ua, s)
    		Ua.Set(t)
    	}
    }
    
    // lehmerGCD sets z to the greatest common divisor of a and b,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 17:02:38 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/net/HttpHeadersTest.java

            ImmutableBiMap.<String, String>builder()
                .put("CDN_LOOP", "CDN-Loop")
                .put("ETAG", "ETag")
                .put("SOURCE_MAP", "SourceMap")
                .put("SEC_CH_UA_WOW64", "Sec-CH-UA-WoW64")
                .put("SEC_WEBSOCKET_ACCEPT", "Sec-WebSocket-Accept")
                .put("SEC_WEBSOCKET_EXTENSIONS", "Sec-WebSocket-Extensions")
                .put("SEC_WEBSOCKET_KEY", "Sec-WebSocket-Key")
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 22 21:08:08 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top