Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 1,392 for case1 (0.03 sec)

  1. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

                    switch (saveImage(input, outputFile)) {
                    case OK:
                        created = true;
                        break;
                    case FAILED:
                        logger.warn("Failed to create thumbnail: {} -> {}", thumbnailId, responseData.getUrl());
                        break;
                    case INVALID_SIZE:
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java

        for (Thread thread : blockedThreads) {
          AbstractFutureBenchmarks.awaitWaiting(thread);
        }
        switch (state) {
          case NOT_DONE:
            break;
          case FINISHED:
            f.set(null);
            break;
          case CANCELLED:
            f.cancel(false);
            break;
          case FAILED:
            f.setException(new Exception());
            break;
        }
        return f;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                switch (event) {
                    case ResolutionListener.TEST_ARTIFACT:
                        listener.testArtifact(node.getArtifact());
                        break;
                    case ResolutionListener.PROCESS_CHILDREN:
                        listener.startProcessChildren(node.getArtifact());
                        break;
                    case ResolutionListener.FINISH_PROCESSING_CHILDREN:
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. docs/debugging/pprofgoparser/main.go

    		skip, record bool
    	)
    
    	for s.Scan() {
    		line := s.Text()
    		switch {
    		case skip && line != "":
    		case skip && line == "":
    			skip = false
    		case record && line == "":
    			stackTrace := bf.String()
    			reset()
    			record = false
    			if searchRE == nil || searchRE.MatchString(stackTrace) {
    				ret[t] = append(ret[t], stackTrace)
    			}
    		case record:
    			save(line)
    		default:
    			z := goroutinesRE.FindStringSubmatch(line)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Mar 06 11:43:16 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. gradlew

        [ -h "$app_path" ]
    do
        ls=$( ls -ld "$app_path" )
        link=${ls#*' -> '}
        case $link in             #(
          /*)   app_path=$link ;; #(
          *)    app_path=$APP_HOME$link ;;
        esac
    done
    
    # This is normally unused
    # shellcheck disable=SC2034
    APP_BASE_NAME=${0##*/}
    # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 24 09:00:26 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  9. cmd/lock-rest-server.go

    	*dst = dsync.LockResp{Code: dsync.RespOK}
    	switch err {
    	case nil:
    	case errLockNotInitialized:
    		dst.Code = dsync.RespLockNotInitialized
    	case errLockConflict:
    		dst.Code = dsync.RespLockConflict
    	case errLockNotFound:
    		dst.Code = dsync.RespLockNotFound
    	default:
    		dst.Code = dsync.RespErr
    		dst.Err = err.Error()
    	}
    	return dst, nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

            switch (LM_COMPATIBILITY) {
            case 0:
            case 1:
                setLMResponse(getLMResponse(type2, password));
                setNTResponse(getNTResponse(type2, password));
                break;
            case 2:
                byte[] nt = getNTResponse(type2, password);
                setLMResponse(nt);
                setNTResponse(nt);
                break;
            case 3:
            case 4:
            case 5:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.9K bytes
    - Viewed (0)
Back to top