Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for cases (0.08 sec)

  1. src/bytes/bytes.go

    func Index(s, sep []byte) int {
    	n := len(sep)
    	switch {
    	case n == 0:
    		return 0
    	case n == 1:
    		return IndexByte(s, sep[0])
    	case n == len(s):
    		if Equal(sep, s) {
    			return 0
    		}
    		return -1
    	case n > len(s):
    		return -1
    	case n <= bytealg.MaxLen:
    		// Use brute force when s and sep both are small
    		if len(s) <= bytealg.MaxBruteForce {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

            PooledObject<String> pooledString = stringFactory.wrap(stringComponent);
            assertNotNull(pooledString);
            assertEquals("TestString", pooledString.getObject());
        }
    
        /**
         * Test edge cases for wrap method
         */
        public void test_wrap_edgeCases() {
            // Test with various object types
            TestComponent component = new TestComponent();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java

            assertEquals("instance1", transformer1.getName());
            assertEquals("changed2", transformer2.getName());
            assertEquals("instance3", transformer3.getName());
        }
    
        /**
         * Test name boundary cases
         */
        public void test_name_boundaryCases() {
            // Single character
            testTransformer.setName("a");
            assertEquals("a", testTransformer.getName());
    
            // Single space
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/TypeResolver.java

             * the JDK against TypeVariables returned by TypeResolver. To work with all JDK versions,
             * TypeResolver must return the appropriate TypeVariable implementation in each of the three
             * possible cases:
             *
             * 1. Under Android, the built-in TypeVariable implementation interoperates with ours.
             * Therefore, we can always create our own TypeVariable.
             *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

            Rule matchedRule = ruleManager.getRule(responseData);
    
            assertNotNull(matchedRule);
            assertEquals("rule2", matchedRule.getRuleId());
        }
    
        /**
         * Test edge cases for rule ID
         */
        public void test_ruleId_edgeCases() {
            // Very long rule ID
            StringBuilder longId = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  6. android/pom.xml

                </signature>
                <ignores>
                  <!-- Unsafe isn't part of the documented Android API, but it is available.
                       And in cases where it's not, we have fallbacks (except maybe Striped64 (b/307807965)?). -->
                  <ignore>sun.misc.Unsafe</ignore>
                </ignores>
              </configuration>
              <executions>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 24.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/reflect/TypeResolver.java

             * the JDK against TypeVariables returned by TypeResolver. To work with all JDK versions,
             * TypeResolver must return the appropriate TypeVariable implementation in each of the three
             * possible cases:
             *
             * 1. Under Android, the built-in TypeVariable implementation interoperates with ours.
             * Therefore, we can always create our own TypeVariable.
             *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  8. cmd/erasure-object.go

    				ok = etag != "" && etag == fi.Metadata["etag"]
    			}
    			if ok {
    				continue
    			}
    		} // in all other cases metadata is corrupt, do not read from it.
    
    		onlineMeta[i] = FileInfo{}
    		onlineDisks[i] = nil
    	}
    
    	select {
    	case mrfCheck <- fi.ShallowCopy():
    	case <-ctx.Done():
    		return fi, onlineMeta, onlineDisks, toObjectErr(ctx.Err(), bucket, object)
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
  9. docs/en/docs/release-notes.md

    * Improved **correctness** in corner cases.
    * **Safer** types.
    * Better **performance** and **less energy** consumption.
    * Better **extensibility**.
    * etc.
    
    ...all this while keeping the **same Python API**. In most of the cases, for simple models, you can simply upgrade the Pydantic version and get all the benefits. 🚀
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 12:48:45 UTC 2025
    - 544.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

    import java.util.Collections;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Test cases for {@link TypeToken}.
     *
     * @author Sven Mawson
     * @author Ben Yu
     */
    @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations?
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
Back to top