Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 702 for switch_a (0.14 sec)

  1. internal/lock/lock_windows.go

    		return path
    	}
    
    	const prefix = `\\?`
    
    	pathbuf := make([]byte, len(prefix)+len(path)+len(`\`))
    	copy(pathbuf, prefix)
    	n := len(path)
    	r, w := 0, len(prefix)
    	for r < n {
    		switch {
    		case os.IsPathSeparator(path[r]):
    			// empty block
    			r++
    		case path[r] == '.' && (r+1 == n || os.IsPathSeparator(path[r+1])):
    			// /./
    			r++
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

     * Computes the 24 byte ANSI password hash given the 8 byte server challenge.
     */
        public byte[] getAnsiHash( byte[] challenge ) {
            if( hashesExternal ) {
                return ansiHash;
            }
            switch (LM_COMPATIBILITY) {
            case 0:
            case 1:
                return getPreNTLMResponse( password, challenge );
            case 2:
                return getNTLMResponse( password, challenge );
            case 3:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.5K bytes
    - Viewed (0)
  3. cmd/batch-replicate.go

    type BatchJobReplicateResourceType string
    
    // Validate validates if the replicate resource type is recognized and supported
    func (t BatchJobReplicateResourceType) Validate() error {
    	switch t {
    	case BatchJobReplicateResourceMinIO:
    	case BatchJobReplicateResourceS3:
    	default:
    		return errInvalidArgument
    	}
    	return nil
    }
    
    func (t BatchJobReplicateResourceType) isMinio() bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

                    return false;
                }
                boolean created = false;
                try (ImageInputStream input = ImageIO.createImageInputStream(responseData.getResponseBody())) {
                    switch (saveImage(input, outputFile)) {
                    case OK:
                        created = true;
                        break;
                    case FAILED:
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. cmd/net_test.go

    		expectedIPList set.StringSet
    		expectedErr    error
    	}{
    		{"localhost", set.CreateStringSet("127.0.0.1"), nil},
    	}
    
    	for _, testCase := range testCases {
    		ipList, err := getHostIP(testCase.host)
    		switch {
    		case testCase.expectedErr == nil:
    			if err != nil {
    				t.Fatalf("error: expected = <nil>, got = %v", err)
    			}
    		case err == nil:
    			t.Fatalf("error: expected = %v, got = <nil>", testCase.expectedErr)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 19 08:43:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. cmd/veeam-sos-api.go

    	capacityXMLObject = ".system-d26a9498-cb7c-4a87-a44a-8ae204f5ba6c/capacity.xml"
    	veeamAgentSubstr  = "APN/1.0 Veeam/1.0"
    )
    
    func isVeeamSOSAPIObject(object string) bool {
    	switch object {
    	case systemXMLObject, capacityXMLObject:
    		return true
    	default:
    		return false
    	}
    }
    
    // isVeeamClient - returns true if the request is from Veeam client.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 00:34:56 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. internal/event/target/webhook.go

    	// <Key> <Token> like format, if this is
    	// already present we can blindly use the
    	// authToken as is instead of adding 'Bearer'
    	tokens := strings.Fields(target.args.AuthToken)
    	switch len(tokens) {
    	case 2:
    		req.Header.Set("Authorization", target.args.AuthToken)
    	case 1:
    		req.Header.Set("Authorization", "Bearer "+target.args.AuthToken)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  8. internal/bucket/replication/replication.go

    )
    
    // Valid returns true if replication type is set
    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)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/Utils.java

                }
                return null;
            };
        }
    
        public static int toMavenExecutionRequestLoggingLevel(Slf4jConfiguration.Level level) {
            requireNonNull(level, "level");
            return switch (level) {
                case DEBUG -> MavenExecutionRequest.LOGGING_LEVEL_DEBUG;
                case INFO -> MavenExecutionRequest.LOGGING_LEVEL_INFO;
                case ERROR -> MavenExecutionRequest.LOGGING_LEVEL_ERROR;
            };
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/arch/riscv64.go

    	"cmd/internal/obj/riscv"
    )
    
    // IsRISCV64AMO reports whether the op (as defined by a riscv.A*
    // constant) is one of the AMO instructions that requires special
    // handling.
    func IsRISCV64AMO(op obj.As) bool {
    	switch op {
    	case riscv.ASCW, riscv.ASCD, riscv.AAMOSWAPW, riscv.AAMOSWAPD, riscv.AAMOADDW, riscv.AAMOADDD,
    		riscv.AAMOANDW, riscv.AAMOANDD, riscv.AAMOORW, riscv.AAMOORD, riscv.AAMOXORW, riscv.AAMOXORD,
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sun Mar 15 08:13:28 UTC 2020
    - 943 bytes
    - Viewed (0)
Back to top