Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 19 for ToEntry (0.05 seconds)

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

  1. internal/logger/message/audit/entry.go

    func NewEntry(deploymentID string) audit.Entry {
    	return audit.Entry{
    		Version:      Version,
    		DeploymentID: deploymentID,
    		Time:         time.Now().UTC(),
    	}
    }
    
    // ToEntry - constructs an audit entry from a http request
    func ToEntry(w http.ResponseWriter, r *http.Request, reqClaims map[string]any, deploymentID string) audit.Entry {
    	entry := NewEntry(deploymentID)
    
    	entry.RemoteHost = handlers.GetSourceIP(r)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  2. internal/logger/audit.go

    		return
    	}
    
    	var entry audit.Entry
    	if w != nil && r != nil {
    		reqInfo := GetReqInfo(ctx)
    		if reqInfo == nil {
    			return
    		}
    		reqInfo.RLock()
    		defer reqInfo.RUnlock()
    
    		entry = internalAudit.ToEntry(w, r, reqClaims, xhttp.GlobalDeploymentID)
    		// indicates all requests for this API call are inbound
    		entry.Trigger = "incoming"
    
    		for _, filterKey := range filterKeys {
    			delete(entry.ReqClaims, filterKey)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

            .inOrder();
        // backward map ordered by country
        assertThat(bimap.inverse().keySet())
            .containsExactly(Country.CANADA, Country.CHILE, Country.SWITZERLAND)
            .inOrder();
        // backward map ordered by country (even for currency values)
        assertThat(bimap.inverse().values())
            .containsExactly(Currency.DOLLAR, Currency.PESO, Currency.FRANC)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  4. schema/relationship_test.go

    					References: []Reference{
    						{PrimaryKey: "ID", PrimarySchema: "Country", ForeignKey: "CountryID", ForeignSchema: "Org"},
    					},
    				},
    			},
    		},
    		"NestedAddress": {
    			Relations: map[string]Relation{
    				"Country": {
    					Name: "Country", Type: schema.BelongsTo, Schema: "Org", FieldSchema: "Country",
    					References: []Reference{
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Aug 18 11:44:52 GMT 2025
    - 26.5K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

              immutableEntry(Country.JAPAN, "YEN"),
              immutableEntry(Country.SWITZERLAND, "FRANC"));
        }
    
        @SuppressWarnings("unchecked")
        @Override
        public Entry<Country, String>[] createArray(int length) {
          return (Entry<Country, String>[]) new Entry<?, ?>[length];
        }
    
        @Override
        public Iterable<Entry<Country, String>> order(List<Entry<Country, String>> insertionOrder) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/base/Enums.java

       * constant does not exist, {@link Optional#absent} is returned. A common use case is for parsing
       * user input or falling back to a default enum constant. For example, {@code
       * Enums.getIfPresent(Country.class, countryInput).or(Country.DEFAULT);}
       *
       * @since 12.0
       */
      public static <T extends Enum<T>> Optional<T> getIfPresent(Class<T> enumClass, String value) {
        checkNotNull(enumClass);
        checkNotNull(value);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 01 13:41:58 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/misc/LocaleUtil.java

                    locale = new Locale(localeStr);
                } else {
                    final String language = localeStr.substring(0, index);
                    final String country = localeStr.substring(index + 1);
                    locale = new Locale(language, country);
                }
            }
            return locale;
        }
    
        private static Supplier<Locale> defaultLocaleSupplier;
    
        /**
         * Returns the default locale.
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/ViewHelper.java

        }
    
        /**
         * Constructs a localized page path with language and country.
         *
         * @param page the page name
         * @param lang the language code
         * @param country the country code
         * @return the localized page path
         */
        private String getLocalizedPagePath(final String page, final String lang, final String country) {
            final StringBuilder buf = new StringBuilder(100);
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 52.6K bytes
    - Click Count (0)
  9. docs/pt/llm-prompt.md

    ---
    
    For the next terms, use the following translations:
    
    * «/// check»: «/// check | Verifique»
    * «/// danger»: «/// danger | Cuidado»
    * «/// info»: «/// info | Informação»
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  10. guava/src/com/google/common/graph/ImmutableGraph.java

       * A builder for creating {@link ImmutableGraph} instances, especially {@code static final}
       * graphs. Example:
       *
       * {@snippet :
       * static final ImmutableGraph<Country> COUNTRY_ADJACENCY_GRAPH =
       *     GraphBuilder.undirected()
       *         .<Country>immutable()
       *         .putEdge(FRANCE, GERMANY)
       *         .putEdge(FRANCE, BELGIUM)
       *         .putEdge(GERMANY, BELGIUM)
       *         .addNode(ICELAND)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 7.2K bytes
    - Click Count (0)
Back to Top