Search Options

Results per page
Sort
Preferred Languages
Advance

Results 731 - 740 of 1,494 for case1 (0.06 sec)

  1. android/guava-tests/test/com/google/common/collect/NewCustomTableTest.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.Supplier;
    import java.util.Map;
    import java.util.TreeMap;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Test cases for {@link Tables#newCustomTable}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class NewCustomTableTest extends AbstractTableTest<Character> {
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. tests/count_test.go

    		t.Errorf("count with join, got error: %v, count %v", err, count)
    	}
    
    	var count6 int64
    	if err := DB.Model(&User{}).Where("name in ?", []string{user1.Name, user2.Name, user3.Name}).Select(
    		"(CASE WHEN name=? THEN ? ELSE ? END) as name", "count-1", "main", "other",
    	).Count(&count6).Find(&users).Error; err != nil || count6 != 3 {
    		t.Fatalf(fmt.Sprintf("Count should work, but got err %v", err))
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  3. internal/config/notify/parse.go

    		}
    	case config.NotifyNSQSubSys:
    		nsqTargets, err := GetNotifyNSQ(cfg[config.NotifyNSQSubSys])
    		if err != nil {
    			return nil, err
    		}
    		for id, args := range nsqTargets {
    			if !args.Enable {
    				continue
    			}
    			t, err := target.NewNSQTarget(id, args, logOnceIf)
    			if err != nil {
    				return nil, err
    			}
    			targets = append(targets, t)
    		}
    	case config.NotifyPostgresSubSys:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 47K bytes
    - Viewed (0)
  4. internal/s3select/jstream/errors.go

    	if e.readerErr != nil {
    		s += "\nreader error: " + e.readerErr.Error()
    	}
    	return s
    }
    
    // quoteChar formats c as a quoted character literal
    func quoteChar(c byte) string {
    	// special cases - different from quoted strings
    	if c == '\'' {
    		return `'\''`
    	}
    	if c == '"' {
    		return `'"'`
    	}
    
    	// use quoted string with different quotation marks
    	s := strconv.Quote(string(c))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. doc/next/6-stdlib/99-minor/os/user/68312.md

    On Windows, [Current] has been made considerably faster when
    the current user is joined to a slow domain, which is the
    usual case for many corporate users. The new implementation
    performance is now in the order of milliseconds, compared to
    the previous implementation which could take several seconds,
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 21 19:59:22 UTC 2024
    - 332 bytes
    - Viewed (0)
  6. clause/returning_test.go

    				[]clause.Column{{Name: "name"}, {Name: "age"}},
    			}},
    			"SELECT * FROM `users` RETURNING `users`.`id`,`name`,`age`", nil,
    		},
    	}
    
    	for idx, result := range results {
    		t.Run(fmt.Sprintf("case #%v", idx), func(t *testing.T) {
    			checkBuildClauses(t, result.Clauses, result.Result, result.Vars)
    		})
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Jun 02 01:18:01 UTC 2020
    - 845 bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/main/java/jcifs/SID.java

         * be resolved in which case the numeric RID is returned. If this
         * SID is a domain SID, this method will return an empty String.
         * 
         * @return the account name
         */
        String getAccountName ();
    
    
        /**
         * Return the domain name of this SID unless it could not be
         * resolved in which case the numeric representation is returned.
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.1K bytes
    - Viewed (0)
  10. dockerscripts/download-static-curl.sh

    #!/bin/bash
    
    function download_arch_specific_executable {
    	curl -f -L -s -q \
    		https://github.com/moparisthebest/static-curl/releases/latest/download/curl-$1 \
    		-o /go/bin/curl || exit 1
    	chmod +x /go/bin/curl
    }
    
    case $TARGETARCH in
    "arm64")
    	download_arch_specific_executable aarch64
    	;;
    "s390x")
    	echo "Not downloading static cURL because it does not exist for the $TARGETARCH architecture."
    	;;
    *)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 15:45:19 UTC 2024
    - 461 bytes
    - Viewed (0)
Back to top