Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 1,494 for case1 (0.05 sec)

  1. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/HpackJsonUtil.kt

        fileSystem.read(file) {
          return readStory(this)
        }
      }
    
      /** Iterate through the hpack-test-case resources, only picking stories for the current draft.  */
      fun storiesForCurrentDraft(): Array<String> {
        val resource =
          HpackJsonUtil::class.java.getResource("/hpack-test-case")
            ?: return arrayOf()
    
        val testCaseDirectory = File(resource.toURI()).toOkioPath()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. cmd/data-scanner.go

    		}
    		switch tgtStatus {
    		case replication.Pending:
    			tgtSizeS.pendingCount++
    			tgtSizeS.pendingSize += oi.Size
    			sizeS.pendingCount++
    			sizeS.pendingSize += oi.Size
    		case replication.Failed:
    			tgtSizeS.failedSize += oi.Size
    			tgtSizeS.failedCount++
    			sizeS.failedSize += oi.Size
    			sizeS.failedCount++
    		case replication.Completed, replication.CompletedLegacy:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  3. cmd/policy_test.go

    		expectErr := (err != nil)
    
    		if expectErr != testCase.expectErr {
    			t.Fatalf("case %v: error: expected: %v, got: %v\n", i+1, testCase.expectErr, expectErr)
    		}
    
    		if !testCase.expectErr {
    			if !reflect.DeepEqual(result, testCase.expectedResult) {
    				t.Fatalf("case %v: result: expected: %+v, got: %+v\n", i+1, testCase.expectedResult, result)
    			}
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. internal/bucket/replication/rule_test.go

    import (
    	"bytes"
    	"fmt"
    	"testing"
    )
    
    func TestMetadataReplicate(t *testing.T) {
    	testCases := []struct {
    		inputConfig    string
    		opts           ObjectOpts
    		expectedResult bool
    	}{
    		// case 1 - rule with replica modification enabled; not a replica
    		{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  5. src/archive/tar/writer.go

    		}
    	}
    
    	n = len(b0) - len(b)
    	switch {
    	case err == ErrWriteTooLong:
    		return n, errMissData // Not possible; implies bug in validation logic
    	case err != nil:
    		return n, err
    	case sw.logicalRemaining() == 0 && sw.physicalRemaining() > 0:
    		return n, errUnrefData // Not possible; implies bug in validation logic
    	case overwrite:
    		return n, ErrWriteTooLong
    	default:
    		return n, nil
    	}
    }
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 14:22:59 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/PacSignature.java

                this.type = bufferStream.readInt();
                switch ( this.type ) {
                case KERB_CHECKSUM_HMAC_MD5:
                    this.checksum = new byte[16];
                    break;
                case HMAC_SHA1_96_AES128:
                case HMAC_SHA1_96_AES256:
                    this.checksum = new byte[12];
                    break;
                default:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.3K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/SimpleProblemCollector.java

            switch (req.getSeverity()) {
                case FATAL:
                    if (!fatals.contains(req.getMessage())) {
                        fatals.add(req.getMessage());
                    }
                    break;
                case ERROR:
                    if (!errors.contains(req.getMessage())) {
                        errors.add(req.getMessage());
                    }
                    break;
                case WARNING:
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/arch/arch.go

    	switch GOARCH {
    	case "386":
    		return archX86(&x86.Link386)
    	case "amd64":
    		return archX86(&x86.Linkamd64)
    	case "arm":
    		return archArm()
    	case "arm64":
    		return archArm64()
    	case "loong64":
    		return archLoong64(&loong64.Linkloong64)
    	case "mips":
    		return archMips(&mips.Linkmips)
    	case "mipsle":
    		return archMips(&mips.Linkmipsle)
    	case "mips64":
    		return archMips64(&mips.Linkmips64)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 24 12:32:56 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

            final JsonToken token = jsonParser.getCurrentToken();
            return switch (token) {
            case VALUE_STRING -> jsonParser.getText();
            case VALUE_NUMBER_INT -> jsonParser.getLongValue();
            case VALUE_NUMBER_FLOAT -> jsonParser.getDoubleValue();
            case VALUE_TRUE -> true;
            case VALUE_FALSE -> false;
            case VALUE_NULL -> null;
            default -> null; // Or throw an exception if unexpected token
            };
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  10. internal/auth/credentials.go

    	switch exp := expI.(type) {
    	case string:
    		expAt, err = strconv.ParseInt(exp, 10, 64)
    	case float64:
    		expAt, err = int64(exp), nil
    	case int64:
    		expAt, err = exp, nil
    	case int:
    		expAt, err = int64(exp), nil
    	case uint64:
    		expAt, err = int64(exp), nil
    	case uint:
    		expAt, err = int64(exp), nil
    	case json.Number:
    		expAt, err = exp.Int64()
    	case time.Duration:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top