Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 5,196 for stringy (0.06 sec)

  1. internal/config/heal/heal.go

    }
    
    const minimumBitrotCycleInMonths = 1
    
    func parseBitrotConfig(s string) (time.Duration, error) {
    	// Try to parse as a boolean
    	enabled, err := config.ParseBool(s)
    	if err == nil {
    		switch enabled {
    		case true:
    			return 0, nil
    		case false:
    			return -1, nil
    		}
    	}
    
    	// Try to parse as a number of months
    	if !strings.HasSuffix(s, "m") {
    		return -1, errors.New("unknown format")
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

    @Experimental
    public interface ParserRequest {
        String MVN_CMD = "mvn";
        String MVN_NAME = "Maven";
    
        String MVNENC_CMD = "mvnenc";
        String MVNENC_NAME = "Maven Password Encrypting Tool";
    
        /**
         * Returns the Maven command to be executed. This command is used in some invokers (ie forked) but also to
         * present help to user.
         *
         * @return the command string
         */
        @Nonnull
        String command();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 04 12:23:10 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_schema_extra_example/test_tutorial005_an.py

                                "items": {
                                    "anyOf": [{"type": "string"}, {"type": "integer"}]
                                },
                            },
                            "msg": {"title": "Message", "type": "string"},
                            "type": {"title": "Error Type", "type": "string"},
                        },
                    },
                }
            },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 26 18:03:13 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_schema_extra_example/test_tutorial005_py310.py

                                "items": {
                                    "anyOf": [{"type": "string"}, {"type": "integer"}]
                                },
                            },
                            "msg": {"title": "Message", "type": "string"},
                            "type": {"title": "Error Type", "type": "string"},
                        },
                    },
                }
            },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 26 18:03:13 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  5. cmd/object-api-multipart_test.go

    	testCases := []struct {
    		bucketName      string
    		objName         string
    		uploadID        string
    		PartID          int
    		inputReaderData string
    		inputMd5        string
    		inputSHA256     string
    		inputDataSize   int64
    		// flag indicating whether the test should pass.
    		shouldPass bool
    		// expected error output.
    		expectedMd5   string
    		expectedError error
    	}{
    		// Test case  1-4.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  6. internal/config/compress/compress.go

    package compress
    
    import (
    	"fmt"
    	"strings"
    
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/pkg/v3/env"
    )
    
    // Config represents the compression settings.
    type Config struct {
    	Enabled        bool     `json:"enabled"`
    	AllowEncrypted bool     `json:"allow_encryption"`
    	Extensions     []string `json:"extensions"`
    	MimeTypes      []string `json:"mime-types"`
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. cmd/auth-handler.go

    			authNLogIf(GlobalContext, err, logger.ErrorKind)
    			return nil, errAuthentication
    		}
    		claims.MapClaims[sessionPolicyNameExtracted] = string(spBytes)
    	}
    
    	return claims, nil
    }
    
    // Fetch claims in the security token returned by the client.
    func getClaimsFromToken(token string) (map[string]interface{}, error) {
    	jwtClaims, err := getClaimsFromTokenWithSecret(token, globalActiveCred.SecretKey)
    	if err != nil {
    		return nil, err
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/net/MediaType.java

      private final String type;
      private final String subtype;
      private final ImmutableListMultimap<String, String> parameters;
    
      @LazyInit @CheckForNull private String toString;
    
      @LazyInit private int hashCode;
    
      @LazyInit @CheckForNull private Optional<Charset> parsedCharset;
    
      private MediaType(String type, String subtype, ImmutableListMultimap<String, String> parameters) {
        this.type = type;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 26 19:15:09 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

            protected String sessionId;
    
            @Option(name = "-n", aliases = "--name", metaVar = "name", usage = "Name")
            protected String name;
    
            @Option(name = "-p", aliases = "--properties", metaVar = "properties", usage = "Properties File")
            protected String propertiesPath;
    
            protected Options() {
                // nothing
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. tests/hooks_test.go

    	}
    }
    
    type Product2 struct {
    	gorm.Model
    	Name  string
    	Code  string
    	Price int64
    	Owner string
    }
    
    func (s Product2) BeforeCreate(tx *gorm.DB) (err error) {
    	if !strings.HasSuffix(s.Name, "_clone") {
    		newProduft := s
    		newProduft.Price *= 2
    		newProduft.Name += "_clone"
    		err = tx.Create(&newProduft).Error
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 17 03:59:06 UTC 2024
    - 16.7K bytes
    - Viewed (0)
Back to top