Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 451 - 460 of 1,673 for CASE (0.09 seconds)

  1. benchmarks/src/main/java/org/elasticsearch/benchmark/script/ScriptScoreBenchmark.java

        public void setupScript() {
            switch (script) {
                case "expression":
                    factory = scriptModule.engines.get("expression").compile("test", "doc['n'].value", ScoreScript.CONTEXT, Map.of());
                    break;
                case "metal":
                    factory = bareMetalScript();
                    break;
                case "painless_cast":
                    factory = scriptModule.engines.get("painless")
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 20 13:45:50 GMT 2021
    - 8.1K bytes
    - Click Count (0)
  2. cmd/admin-heal-ops.go

    			// unconsumedTimer fires.
    			select {
    			// Check after a second
    			case <-time.After(time.Second):
    				h.mutex.Unlock()
    				continue
    
    			case <-h.ctx.Done():
    				h.mutex.Unlock()
    				// discard result and return.
    				return errHealStopSignalled
    
    			// Timeout if no results consumed for too long.
    			case <-unconsumedTimer.C:
    				h.mutex.Unlock()
    				return errHealIdleTimeout
    			}
    		}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  3. internal/kms/secret-key.go

    	var aead cipher.AEAD
    	switch keyType {
    	case kms.AES256:
    		mac := hmac.New(sha256.New, s.key)
    		mac.Write(iv)
    		sealingKey := mac.Sum(nil)
    
    		block, err := aes.NewCipher(sealingKey)
    		if err != nil {
    			return nil, err
    		}
    		aead, err = cipher.NewGCM(block)
    		if err != nil {
    			return nil, err
    		}
    	case kms.ChaCha20:
    		sealingKey, err := chacha20.HChaCha20(s.key, iv)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Apr 21 16:23:51 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/security/first-steps.md

    /// info
    
    A "bearer" token is not the only option.
    
    But it's the best one for our use case.
    
    And it might be the best for most use cases, unless you are an OAuth2 expert and know exactly why there's another option that better suits your needs.
    
    In that case, **FastAPI** also provides you with the tools to build it.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  5. cmd/handler-api.go

    		t.staleUploadsCleanupInterval = cfg.StaleUploadsCleanupInterval
    
    		// signal that cleanup interval has changed
    		select {
    		case staleUploadsCleanupIntervalChangedCh <- struct{}{}:
    		default: // in case the channel is blocked...
    		}
    	}
    }
    
    func (t *apiConfig) odirectEnabled() bool {
    	t.mu.RLock()
    	defer t.mu.RUnlock()
    
    	return t.enableODirect
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java

                assertEquals("An error occurred during the deferred computation.", e.getMessage());
            }
        }
    
        // ============================================================
        // Edge case tests for timeout handling
        // ============================================================
    
        @Test
        public void test_getResponseTimeout() throws Exception {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 21.1K bytes
    - Click Count (0)
  7. dbflute_fess/dfprop/basicInfoMap.dfprop

        # /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        # o isTableNameCamelCase: (NotRequired - Default false)
        #  Is the table name camel case?
        #  Basically you don't need this if the style of table name is like 'FOO_STATUS'.
        #    [true]
        #      The table name is camel case.
        #      e.g. If the table name is 'OrderDetail', the class name is 'OrderDetail'.
        #
        #    [false]
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Oct 31 23:35:14 GMT 2015
    - 9.2K bytes
    - Click Count (0)
  8. src/main/java/jcifs/SmbResourceLocator.java

    public interface SmbResourceLocator {
    
        /**
         * Returns the last component of the target URL. This will
         * effectively be the name of the file or directory represented by this
         * <code>SmbFile</code> or in the case of URLs that only specify a server
         * or workgroup, the server or workgroup will be returned. The name of
         * the root URL <code>smb://</code> is also <code>smb://</code>. If this
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.4K bytes
    - Click Count (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
            };
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Dec 14 01:18:25 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/RestTestsFromSnippetsTask.groovy

                    current.println("        - warnings")
                    if (test.testEnv != null) {
                        switch (test.testEnv) {
                        case 'basic':
                        case 'gold':
                        case 'platinum':
                        case 'enterprise':
                            current.println("        - xpack")
                            break;
                        default:
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 19.5K bytes
    - Click Count (0)
Back to Top