Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 1,333 for CASE (0.04 sec)

  1. cmd/tier_gen.go

    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "Tiers":
    			var zb0002 uint32
    			zb0002, err = dc.ReadMapHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "Tiers")
    				return
    			}
    			if z.Tiers == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 20 00:53:08 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt

        @Throws(IOException::class)
        fun parse(responseHeaders: Headers): WebSocketExtensions {
          // Note that this code does case-insensitive comparisons, even though the spec doesn't specify
          // whether extension tokens and parameters are case-insensitive or not.
    
          var compressionEnabled = false
          var clientMaxWindowBits: Int? = null
          var clientNoContextTakeover = false
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. internal/grid/connection_test.go

    	h2 := StreamHandler{
    		Handle: func(ctx context.Context, payload []byte, request <-chan []byte, resp chan<- []byte) *RemoteErr {
    			gotCall <- struct{}{}
    			select {
    			case <-ctx.Done():
    				gotCall <- struct{}{}
    			case <-cleanReqs:
    				panic("should not be called")
    			}
    			return nil
    		},
    		OutCapacity: 1,
    		InCapacity:  1,
    	}
    	errFatal(remote.RegisterSingleHandler(handlerTest, h1))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 08 21:44:00 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. src/cmd/cgo/ast_go118.go

    	switch n := x.(type) {
    	default:
    		error_(token.NoPos, "unexpected type %T in walk", x)
    		panic("unexpected type")
    
    	case *ast.IndexListExpr:
    		f.walk(&n.X, ctxExpr, visit)
    		f.walk(n.Indices, ctxExpr, visit)
    	}
    }
    
    func funcTypeTypeParams(n *ast.FuncType) *ast.FieldList {
    	return n.TypeParams
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Nov 30 21:45:10 UTC 2022
    - 730 bytes
    - Viewed (0)
  5. docs_src/path_operation_advanced_configuration/tutorial002.py

        names.
    
        Should be called only after all routes have been added.
        """
        for route in app.routes:
            if isinstance(route, APIRoute):
                route.operation_id = route.name  # in this case, 'read_items'
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 572 bytes
    - Viewed (0)
  6. cmd/post-policy_test.go

    		malformedBody      bool
    	}{
    		// Success case.
    		{
    			objectName:         "test",
    			data:               []byte("Hello, World"),
    			expectedRespStatus: http.StatusNoContent,
    			expectedHeaders:    map[string]string{"X-Amz-Meta-Uuid": "1234"},
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			malformedBody:      false,
    		},
    		// Bad case invalid request.
    		{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  7. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java

            assertEquals(42, problem.getLineNumber());
    
            problem = new DefaultProblem(null, null, null, Integer.MAX_VALUE, -1, null);
            assertEquals(Integer.MAX_VALUE, problem.getLineNumber());
    
            // this case is not specified, might also return -1
            problem = new DefaultProblem(null, null, null, Integer.MIN_VALUE, -1, null);
            assertEquals(Integer.MIN_VALUE, problem.getLineNumber());
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. cmd/object-handlers.go

    		var targetSize int64
    
    		switch {
    		case isDstCompressed:
    			targetSize = -1
    		case !isSourceEncrypted && !isTargetEncrypted:
    			targetSize, _ = srcInfo.GetActualSize()
    		case isSourceEncrypted && isTargetEncrypted:
    			objInfo := ObjectInfo{Size: actualSize}
    			targetSize = objInfo.EncryptedSize()
    		case !isSourceEncrypted && isTargetEncrypted:
    			targetSize = srcInfo.EncryptedSize()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/UniAddress.java

                try {
                    switch( resolveOrder[i] ) {
                        case RESOLVER_LMHOSTS:
                            if(( addr = Lmhosts.getByName( hostname )) == null ) {
                                continue;
                            }
                            break;
                        case RESOLVER_WINS:
                            if( hostname == NbtAddress.MASTER_BROWSER_NAME ||
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 16.2K bytes
    - Viewed (0)
  10. src/bufio/export_test.go

    	if n < utf8.UTFMax || n > 1e9 {
    		panic("bad max token size")
    	}
    	if n < len(s.buf) {
    		s.buf = make([]byte, n)
    	}
    	s.maxTokenSize = n
    }
    
    // ErrOrEOF is like Err, but returns EOF. Used to test a corner case.
    func (s *Scanner) ErrOrEOF() error {
    	return s.err
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Nov 02 17:17:44 UTC 2017
    - 597 bytes
    - Viewed (0)
Back to top