Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 401 - 410 of 1,360 for CASE (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava/src/com/google/common/cache/CacheBuilderSpec.java

            TimeUnit timeUnit;
            switch (lastChar) {
              case 'd':
                timeUnit = DAYS;
                break;
              case 'h':
                timeUnit = HOURS;
                break;
              case 'm':
                timeUnit = MINUTES;
                break;
              case 's':
                timeUnit = SECONDS;
                break;
              default:
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  2. internal/dsync/dsync_test.go

    		t.Fatal("GetLock() should be successful")
    	}
    
    	// Make it run twice.
    	timer := time.NewTimer(testDrwMutexRefreshInterval * 2)
    
    	select {
    	case <-ctx.Done():
    		t.Fatal("Lock context canceled which is not expected")
    	case <-timer.C:
    	}
    
    	// Should be safe operation in all cases
    	dm.Unlock(t.Context())
    }
    
    // Test canceling context while quorum servers report lock not found
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/extra-models.md

    In this case, you can use `dict`:
    
    {* ../../docs_src/extra_models/tutorial005_py310.py hl[6] *}
    
    ## Recap { #recap }
    
    Use multiple Pydantic models and inherit freely for each case.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  4. internal/kms/conn.go

    )
    
    // Type identifies the KMS type.
    type Type uint
    
    // String returns the Type's string representation
    func (t Type) String() string {
    	switch t {
    	case MinKMS:
    		return "MinIO KMS"
    	case MinKES:
    		return "MinIO KES"
    	case Builtin:
    		return "MinIO builtin"
    	default:
    		return "!INVALID:" + strconv.Itoa(int(t))
    	}
    }
    
    // Status describes the current state of a KMS.
    type Status struct {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Aug 18 06:43:03 GMT 2024
    - 5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java

         */
        public byte[] fromObjectToBinary(final Object obj) {
            final String serializer = getSerializerType();
            return switch (serializer) {
            case KRYO -> serializeWithKryo(obj);
            case JAVABIN -> SerializeUtil.fromObjectToBinary(obj);
            default -> throw new IllegalArgumentException("Unexpected value: " + serializer);
            };
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 01:54:09 GMT 2026
    - 10.5K bytes
    - Click Count (3)
  6. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

                    String pos = null;
                    switch (values.length) {
                    case 4:
                        pos = values[3];
                    case 3:
                        reading = values[2];
                    case 2:
                        segmentation = values[1];
                    case 1:
                        token = values[0];
                    default:
                        break;
                    }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/io/ReaderInputStream.java

        return bigger;
      }
    
      /** Handle the case of underflow caused by needing more input characters. */
      private void readMoreChars() throws IOException {
        // Possibilities:
        // 1) array has space available on right-hand side (between limit and capacity)
        // 2) array has space available on left-hand side (before position)
        // 3) array has no space available
        //
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:36:11 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  8. cmd/erasure-object-conditional_test.go

    		for i := range erasureDisks[:8] {
    			erasureDisks[i] = nil
    		}
    		return erasureDisks
    	}
    	z.serverPools[0].erasureDisksMu.Unlock()
    
    	t.Run("if-none-match with read quorum failure", func(t *testing.T) {
    		// Test Case 1: if-none-match (create only if doesn't exist)
    		// With if-none-match: *, this should only succeed if object doesn't exist.
    		// Since read quorum fails, we can't determine if object exists.
    		opts := ObjectOptions{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:05:31 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/suggest/settings/AnalyzerSettingsTest.java

                switch (term) {
                case "fess":
                    matchCount++;
                    assertEquals("fess", reading);
                    break;
                case "検索":
                    matchCount++;
                    assertEquals("ケンサク", reading);
                    break;
                case "無料":
                    matchCount++;
                    assertEquals("ムリョウ", reading);
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 8K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java

            assertEquals(1, dataMap.size());
            assertEquals("Z1", dataMap.get("z"));
        }
    
        /** Case 5: Overwrite processing for multiple fields, existing overwrite keys are also properly removed */
        @Test
        public void test_mergeResponseData_multipleOverwrite() {
            Map<String, Object> dataMap = new HashMap<>();
            // Case where the initial dataMap also contains overwrite keys
            dataMap.put("m", "M0");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 19.7K bytes
    - Click Count (0)
Back to Top