Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 538 for parseAI (0.13 sec)

  1. cmd/bucket-lifecycle_test.go

    		ongoingRestoreObj(),
    		completedRestoreObj(time.Now().UTC()),
    	}
    	for i, tc := range testCases {
    		actual, err := parseRestoreObjStatus(tc.String())
    		if err != nil {
    			t.Fatalf("Test %d: parse restore object failed: %v", i+1, err)
    		}
    		if actual.ongoing != tc.ongoing || actual.expiry.Format(http.TimeFormat) != tc.expiry.Format(http.TimeFormat) {
    			t.Fatalf("Test %d: got %v expected %v", i+1, actual, tc)
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 31 09:57:57 UTC 2022
    - 7K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/LifecycleProvider.java

     * leveraged using the {@link org.apache.maven.api.plugin.annotations.Execute}
     * annotation.  If a {@code META-INF/maven/lifecycle.xml} file is packaged
     * in the plugin, Maven will provide a default implementation that will parse
     * the file and return the contained lifecycle definitions.
     *
     * @since 4.0.0
     */
    @Experimental
    @Consumer
    public interface LifecycleProvider {
    
        List<Lifecycle> getLifecycles();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. internal/amztime/parse_test.go

    			"Tue, 10 Nov 2009 23:00:00 UTC",
    		},
    	}
    
    	for _, testCase := range testCases {
    		testCase := testCase
    		t.Run(testCase.timeStr, func(t *testing.T) {
    			gott, goterr := Parse(testCase.timeStr)
    			if !errors.Is(goterr, testCase.expectedErr) {
    				t.Errorf("expected %v, got %v", testCase.expectedErr, goterr)
    			}
    			if !gott.Equal(testCase.expectedTime) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 07 14:24:54 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  4. docs/auditlog/auditlog-echo.go

    	}
    
    	log.Printf(">>> %s %s\n", r.Method, r.URL.Path)
    	var out bytes.Buffer
    	json.Indent(&out, body, "", "    ")
    	log.Printf("%s\n", out.String())
    
    	w.WriteHeader(http.StatusOK)
    }
    
    func main() {
    	flag.Parse()
    	http.HandleFunc("/", mainHandler)
    
    	log.Printf("Listening on :%d\n", port)
    	log.Fatal(http.ListenAndServe(fmt.Sprintf(":%d", port), nil))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 21:31:13 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java

            assertEquals(4000, intervalControlHelper.getDelay());
        }
    
        private IntervalControlHelper createHelper(final String time, final int day) throws ParseException {
            final Date date = new SimpleDateFormat("HH:mm").parse(time);
            return new IntervalControlHelper() {
                @Override
                protected Calendar getCurrentCal() {
                    final Calendar cal = Calendar.getInstance();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. internal/config/identity/openid/openid.go

    			// Generate role ARN as combination of provider domain and
    			// prefix of client ID.
    			domain := configURLDomain
    			if domain == "" {
    				// Attempt to parse the JWKs URI.
    				domain = p.JWKS.URL.Hostname()
    				if domain == "" {
    					return c, config.Errorf("unable to parse a domain from the OpenID config")
    				}
    			}
    			if p.ClientID == "" {
    				return c, config.Errorf("client ID must not be empty")
    			}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 10 20:16:44 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. cmd/bucket-metadata.go

    			// Old bucket without bucket metadata. Hence we migrate existing settings.
    			if err = b.convertLegacyConfigs(ctx, objectAPI, configs); err != nil {
    				return b, err
    			}
    		}
    	}
    
    	if parse {
    		// nothing to update, parse and proceed.
    		if err = b.parseAllConfigs(ctx, objectAPI); err != nil {
    			return b, err
    		}
    	}
    
    	// migrate unencrypted remote targets
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  8. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java

     *
     * @since 4.0.0
     */
    @Immutable
    @Experimental
    public interface InvokerRequest<O extends Options> {
        /**
         * The parser request this instance was created from.
         */
        @Nonnull
        ParserRequest parserRequest();
    
        /**
         * Shorthand for {@link Logger} to use.
         */
        default Logger logger() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 17 08:06:47 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/log/exbhv/FavoriteLogBhv.java

        }
    
        @Override
        protected LocalDateTime toLocalDateTime(final Object value) {
            if (value != null) {
                try {
                    final Instant instant = Instant.from(DateTimeFormatter.ISO_INSTANT.parse(value.toString()));
                    return LocalDateTime.ofInstant(instant, ZoneId.systemDefault());
                } catch (final DateTimeParseException e) {
                    logger.debug("Invalid date format: {}", value, e);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/log/exbhv/UserInfoBhv.java

        }
    
        @Override
        protected LocalDateTime toLocalDateTime(final Object value) {
            if (value != null) {
                try {
                    final Instant instant = Instant.from(DateTimeFormatter.ISO_INSTANT.parse(value.toString()));
                    return LocalDateTime.ofInstant(instant, ZoneId.systemDefault());
                } catch (final DateTimeParseException e) {
                    logger.debug("Invalid date format: {}", value, e);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top