Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 2,996 for switch (0.12 seconds)

  1. build-logic-commons/code-quality-rules/src/main/resources/checkstyle/checkstyle-api.xml

                <property name="scope" value="protected"/>
                <!-- Allow the use of unrecognized tags like @apiNote -->
                <property name="allowUnknownTags" value="true"/>
            </module>
    
            <!-- TODO - switch this on -->
            <!--<module name="JavadocMethod">-->
                <!--<property name="scope" value="package"/>-->
            <!--</module>-->
    
        </module>
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Nov 17 23:20:14 GMT 2022
    - 1.6K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractService.java

        }
        return this;
      }
    
      @CanIgnoreReturnValue
      @Override
      public final Service stopAsync() {
        if (monitor.enterIf(isStoppable)) {
          try {
            State previous = state();
            switch (previous) {
              case NEW:
                snapshot = new StateSnapshot(TERMINATED);
                enqueueTerminatedEvent(NEW);
                break;
              case STARTING:
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  3. src/cmd/asm/internal/lex/input.go

    		// need to keep track of nested #if[n]defs.
    		// We let #line through because it might affect errors.
    		switch in.Stack.Text() {
    		case "else", "endif", "ifdef", "ifndef", "line":
    			// Press on.
    		default:
    			return false
    		}
    	}
    	switch in.Stack.Text() {
    	case "define":
    		in.define()
    	case "else":
    		in.else_()
    	case "endif":
    		in.endif()
    	case "ifdef":
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Nov 12 03:59:40 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  4. cmd/warm-backend-s3.go

    		return nil, errors.New("AWS Role cannot be activated with static credentials or the web identity token file")
    	case conf.Bucket == "":
    		return nil, errors.New("no bucket name was provided")
    	}
    
    	// Credentials initialization
    	var creds *credentials.Credentials
    	switch {
    	case conf.AWSRole:
    		creds = credentials.New(&credentials.IAM{
    			Client: &http.Client{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Jun 08 16:13:30 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  5. internal/config/scanner/scanner.go

    	excessFolders, err := strconv.ParseInt(env.Get(EnvExcessFolders, kvs.GetWithDefault(ExcessFolders, DefaultKVS)), 10, 64)
    	if err != nil {
    		return cfg, err
    	}
    	cfg.ExcessFolders = excessFolders
    
    	switch idleSpeed := env.Get(EnvIdleSpeed, kvs.GetWithDefault(IdleSpeed, DefaultKVS)); idleSpeed {
    	case "", config.EnableOn:
    		cfg.IdleMode = 0
    	case config.EnableOff:
    		cfg.IdleMode = 1
    	default:
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 24 23:05:23 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  6. .teamcity/scripts/update_wrapper_and_create_pr.sh

        
        if git diff --cached --quiet; then
            echo "No changes to commit"
            exit 0
        fi
        
        BRANCH_NAME="devprod/update-wrapper-$(date +%Y%m%d-%H%M%S)"
        git switch -c $BRANCH_NAME
        git commit --signoff --author="bot-gradle <******@****.***>" -m "Update Gradle wrapper to version $WRAPPER_VERSION"
        git push https://${GITHUB_TOKEN}@github.com/gradle/gradle.git $BRANCH_NAME
        
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jul 29 03:20:20 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  7. tests/connection_test.go

    	}
    
    	if actualName != expectedName {
    		t.Errorf("WithSingleConnection() method should get correct value, expect: %v, got %v", expectedName, actualName)
    	}
    }
    
    func getSetSQL(driverName string) (string, string) {
    	switch driverName {
    	case mysql.Dialector{}.Name():
    		return "SET @testName := ?", "SELECT @testName"
    	default:
    		return "", ""
    	}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 943 bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/text/JsonUtil.java

            char c;
            final int len = value.length();
            final StringBuilder buf = new StringBuilder(len * 2);
    
            for (int i = 0; i < len; i++) {
                c = value.charAt(i);
                String escaped = switch (c) {
                case '\\', '"' -> "\\" + c;
                case '/' -> "\\/";
                case '\b' -> "\\b";
                case '\t' -> "\\t";
                case '\n' -> "\\n";
                case '\f' -> "\\f";
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 24 01:52:43 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  9. cmd/metacache-set.go

    			return ctx.Err()
    		}
    		for i, r := range readers {
    			if errs[i] != nil {
    				hasErr++
    				continue
    			}
    			entry, err := r.peek()
    			switch err {
    			case io.EOF:
    				atEOF++
    				continue
    			case nil:
    			default:
    				switch err.Error() {
    				case errFileNotFound.Error():
    					atEOF++
    					fnf++
    					continue
    				case errVolumeNotFound.Error():
    					atEOF++
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 30.7K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/io/FileBackedOutputStream.java

     *   <li>this stream (or, more precisely, its {@link #asByteSource} view) is garbage collected,
     *       <strong>AND</strong> this stream was constructed with {@linkplain
     *       #FileBackedOutputStream(int, boolean) the two-arg constructor} with {@code true} for the
     *       second parameter. Relying on this second approach is discouraged.
     * </ul>
     *
     * <p>This class is thread-safe.
     *
     * @author Chris Nokleberg
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 17:30:49 GMT 2026
    - 12.4K bytes
    - Click Count (0)
Back to Top