Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1211 - 1220 of 2,461 for Case (0.06 sec)

  1. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionTest.java

         *
         * Generates random UUID string based versions and tries to sort them. While this test is not as reliable
         * as {@link #testCompareUuidVersionStringStream()}, it covers broader range and in case it fails it records
         * the failed array, so we can investigate more.
         */
        @Test
        void testCompareUuidRandom() {
            for (int j = 0; j < 32; j++) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

     * the License.
     */
    
    package com.google.common.io;
    
    import static com.google.common.io.Files.simplifyPath;
    import static java.nio.charset.StandardCharsets.UTF_8;
    
    import com.google.common.base.CharMatcher;
    import com.google.common.base.Splitter;
    import java.io.IOException;
    import java.net.URL;
    import java.util.Iterator;
    import junit.framework.TestCase;
    
    /**
     * Unit tests for {@link Files#simplifyPath}.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

     * the License.
     */
    
    package com.google.common.io;
    
    import static com.google.common.io.Files.simplifyPath;
    import static java.nio.charset.StandardCharsets.UTF_8;
    
    import com.google.common.base.CharMatcher;
    import com.google.common.base.Splitter;
    import java.io.IOException;
    import java.net.URL;
    import java.util.Iterator;
    import junit.framework.TestCase;
    
    /**
     * Unit tests for {@link Files#simplifyPath}.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/InterruptibleTask.java

              //            (__)\       )\/\
              //                ||----w |
              //                ||     ||
              // We need to clear the interrupted bit prior to calling park and maintain it in case we
              // wake up spuriously.
              restoreInterruptedBit = Thread.interrupted() || restoreInterruptedBit;
              LockSupport.park(blocker);
            }
          } else {
            Thread.yield();
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. tests/helper_test.go

    				"Birthday", "CompanyID", "ManagerID", "Active")
    		}
    	})
    }
    
    func tidbSkip(t *testing.T, reason string) {
    	if isTiDB() {
    		t.Skipf("This test case skipped, because of TiDB '%s'", reason)
    	}
    }
    
    func isTiDB() bool {
    	return os.Getenv("GORM_DIALECT") == "tidb"
    }
    
    func isMysql() bool {
    	return os.Getenv("GORM_DIALECT") == "mysql"
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. docs/lambda/README.md

    		r = requests.get(s3_url)
    		original_object = r.content.decode('utf-8')
    
    		# Transform all text in the original object to uppercase
    		# You can replace it with your custom code based on your use case
    		transformed_object = original_object.upper()
    
    		# Write object back to S3 Object Lambda
    		# response sends the transformed data
    		# back to MinIO and then to the user
    		resp = make_response(transformed_object, 200)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Apr 04 19:15:28 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  7. istioctl/pkg/metrics/metrics.go

    	if err != nil {
    		return 0, fmt.Errorf("query() failure for '%s': %v", query, err)
    	}
    
    	log.Debugf("executing query: %s  result:%s", query, val)
    
    	switch v := val.(type) {
    	case model.Vector:
    		if v.Len() < 1 {
    			log.Debugf("no values for query: %s", query)
    			return 0, nil
    		}
    
    		return float64(v[0].Value), nil
    	default:
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. docs/en/docs/async.md

    ///
    
    ---
    
    If you are using a third party library that communicates with something (a database, an API, the file system, etc.) and doesn't have support for using `await`, (this is currently the case for most database libraries), then declare your *path operation functions* as normally, with just `def`, like:
    
    ```Python hl_lines="2"
    @app.get('/')
    def results():
        results = some_library()
        return results
    ```
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Aug 28 23:33:37 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/Futures.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Function;
    import com.google.common.base.MoreObjects;
    import com.google.common.base.Preconditions;
    import com.google.common.collect.ImmutableList;
    import com.google.common.util.concurrent.CollectionFuture.ListFuture;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

     * limitations under the License.
     */
    
    package com.google.common.testing;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Throwables.throwIfUnchecked;
    import static com.google.common.testing.NullPointerTester.isNullable;
    
    import com.google.common.annotations.GwtIncompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 32.7K bytes
    - Viewed (0)
Back to top