Search Options

Results per page
Sort
Preferred Languages
Advance

Results 831 - 840 of 1,494 for case1 (0.08 sec)

  1. cmd/copy-part-range_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import "testing"
    
    // Test parseCopyPartRange()
    func TestParseCopyPartRangeSpec(t *testing.T) {
    	// Test success cases.
    	successCases := []struct {
    		rangeString string
    		offsetBegin int64
    		offsetEnd   int64
    	}{
    		{"bytes=2-5", 2, 5},
    		{"bytes=2-9", 2, 9},
    		{"bytes=2-2", 2, 2},
    		{"bytes=0000-0006", 0, 6},
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  2. internal/bucket/replication/replication.go

    func (t Type) Valid() bool {
    	return t > 0
    }
    
    // IsDataReplication returns true if content being replicated
    func (t Type) IsDataReplication() bool {
    	switch t {
    	case ObjectReplicationType, HealReplicationType, ExistingObjectReplicationType:
    		return true
    	}
    	return false
    }
    
    // ObjectOpts provides information to deduce whether replication
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. lib/wasm/wasm_exec.js

    				}
    				this._goRefCounts[id]++;
    				let typeFlag = 0;
    				switch (typeof v) {
    					case "object":
    						if (v !== null) {
    							typeFlag = 1;
    						}
    						break;
    					case "string":
    						typeFlag = 2;
    						break;
    					case "symbol":
    						typeFlag = 3;
    						break;
    					case "function":
    						typeFlag = 4;
    						break;
    				}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Aug 30 19:15:21 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  4. cmd/signature-v2.go

    		keyval := strings.SplitN(query, "=", 2)
    		if len(keyval) != 2 {
    			return ErrInvalidQueryParams
    		}
    		switch keyval[0] {
    		case xhttp.AmzAccessKeyID:
    			accessKey = keyval[1]
    		case xhttp.AmzSignatureV2:
    			gotSignature = keyval[1]
    		case xhttp.Expires:
    			expires = keyval[1]
    		default:
    			filteredQueries = append(filteredQueries, query)
    		}
    	}
    
    	// Invalid values returns error.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationValuePreprocessor.java

     * under the License.
     */
    package org.apache.maven.configuration;
    
    /**
     * Preprocesses a value from a bean configuration before the bean configurator unmarshals it into a bean property. A
     * common use case for such preprocessing is the evaluation of variables within the configuration value.
     *
     */
    public interface BeanConfigurationValuePreprocessor {
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/test/resources/poms/inheritance/tricky-flat-artifactId-urls-expected.xml

      </parent>
    
      <groupId>inheritance</groupId>
      <artifactId>child-artifact-id</artifactId>
      <version>11-SNAPSHOT</version>
      <name>Model urls inheritance test child</name>
      <description>Flat directory structure case: module = ../child-artifact-id + child directory path != child-artifact-id</description>
    
      <!-- 5 inherited urls with ../${project.artifactId} added to parent -->
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/test/resources/poms/inheritance/urls-expected.xml

      </parent>
    
      <groupId>inheritance</groupId>
      <artifactId>child-artifact-id</artifactId>
      <version>11-SNAPSHOT</version>
      <name>Model urls inheritance test child</name>
      <description>Most classical case: child in direct subdirectory with directory name == child artifactId</description>
    
      <!-- 5 inherited urls with ${project.artifactId} added to parent -->
      <url>http://www.apache.org/path/to/parent/child-artifact-id/</url>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. internal/lock/lock_windows_test.go

    		// Short; unchanged:
    		{`C:\short.txt`, `C:\short.txt`},
    		{`C:\`, `C:\`},
    		{`C:`, `C:`},
    		// The "long" substring is replaced by a looooooong
    		// string which triggers the rewriting. Except in the
    		// cases below where it doesn't.
    		{`C:\long\foo.txt`, `\\?\C:\long\foo.txt`},
    		{`C:/long/foo.txt`, `\\?\C:\long\foo.txt`},
    		{`C:\long\foo\\bar\.\baz\\`, `\\?\C:\long\foo\bar\baz`},
    		{`\\unc\path`, `\\unc\path`},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. src/packaging/common/scripts/prerm

    #       $1=upgrade   : indicates an upgrade
    #
    #   On RedHat,
    #       $1=0         : indicates a removal
    #       $1=1         : indicates an upgrade
    
    
    
    STOP_REQUIRED=false
    
    case "$1" in
    
        # Debian ####################################################
        remove)
            STOP_REQUIRED=true
        ;;
        upgrade)
            if [ "$RESTART_ON_UPGRADE" = "true" ]; then
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 29 07:34:32 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/ProjectBuildFailureException.java

     * under the License.
     */
    package org.apache.maven;
    
    import org.apache.maven.plugin.MojoFailureException;
    
    /**
     * Exception which occurs when a normal (i.e. non-aggregator) mojo fails to
     * execute. In this case, the mojo failed while executing against a particular
     * project instance, so we can wrap the {@link MojoFailureException} with context
     * information including projectId that caused the failure.
     *
     *
     */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top