Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3051 - 3060 of 3,709 for onex (0.03 seconds)

  1. guava/src/com/google/common/collect/ImmutableMap.java

       * ("constant maps"). Example:
       *
       * {@snippet :
       * static final ImmutableMap<String, Integer> WORD_TO_INT =
       *     new ImmutableMap.Builder<String, Integer>()
       *         .put("one", 1)
       *         .put("two", 2)
       *         .put("three", 3)
       *         .buildOrThrow();
       * }
       *
       * <p>For <i>small</i> immutable maps, the {@code ImmutableMap.of()} methods are even more
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 44.7K bytes
    - Click Count (0)
  2. tests/update_test.go

    		t.Errorf("should only update one record, but got %v", rowsAffected)
    	}
    
    	if rowsAffected := DB.Model(users).Where("age > 0").Update("name", "jinzhu").RowsAffected; rowsAffected != 3 {
    		t.Errorf("should only update one record, but got %v", rowsAffected)
    	}
    }
    
    func TestUpdates(t *testing.T) {
    	users := []*User{
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/primitives/IntsTest.java

        // need explicit type parameter to avoid javac warning!?
        List<Integer> none = Arrays.<Integer>asList();
        assertThat(Ints.toArray(none)).isEqualTo(EMPTY);
    
        List<Integer> one = Arrays.asList((int) 1);
        assertThat(Ints.toArray(one)).isEqualTo(ARRAY1);
    
        int[] array = {(int) 0, (int) 1, (int) 0xdeadbeef};
    
        List<Integer> three = Arrays.asList((int) 0, (int) 1, (int) 0xdeadbeef);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  4. cmd/erasure-object.go

    			}(i, disk)
    		}
    
    		wg.Wait()
    		xioutil.SafeClose(done)
    
    		fi, ok := <-mrfCheck
    		if !ok {
    			return
    		}
    
    		if fi.Deleted {
    			return
    		}
    
    		// if one of the disk is offline, return right here no need
    		// to attempt a heal on the object.
    		if countErrs(errs, errDiskNotFound) > 0 {
    			return
    		}
    
    		var missingBlocks int
    		for i := range errs {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:05:31 GMT 2025
    - 80.4K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/ImmutableList.java

       *
       * <p>Builder instances can be reused; it is safe to call {@link #build} multiple times to build
       * multiple lists in series. Each new list contains all the elements of the ones created before
       * it.
       *
       * @since 2.0
       */
      public static final class Builder<E> extends ImmutableCollection.Builder<E> {
        // The first `size` elements are non-null.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 30.6K bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

                set(value) = Unit
    
            operator fun String.invoke(p: String, block: String.() -> Unit) = Unit
    
            ${""/* For Kotlin DSL, we generate sources with collection types mapped to the Kotlin ones. See `org.gradle.kotlin.dsl.internal.sharedruntime.codegen.ApiTypeProviderKt#mappedTypeStrings` */}
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jun 06 17:52:09 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  7. docs/ja/docs/advanced/additional-responses.md

    これらはすべて結合されて OpenAPI に含まれ、API ドキュメントに表示されます:
    
    <img src="/img/tutorial/additional-responses/image01.png">
    
    ## 事前定義レスポンスとカスタムの組み合わせ { #combine-predefined-responses-and-custom-ones }
    
    多くの *path operations* に適用できる事前定義のレスポンスを用意しつつ、各 *path operation* ごとに必要なカスタムレスポンスと組み合わせたい場合があります。
    
    そのような場合、Python の `**dict_to_unpack` による `dict` の「アンパック」テクニックを使えます:
    
    ```Python
    old_dict = {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 10K bytes
    - Click Count (0)
  8. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/runtimes/CheckTargetRuntimes.kt

     * in the Gradle build.
     *
     * Each project may require a set of "target runtimes" that it must be able to run on.
     * Each target runtime reflects a runtime environment where code is executed. For one
     * project to be able to run in a given runtime, all of its dependencies must also
     * support running in that runtime.
     *
     * Some projects have a strict set of runtimes they must support. For example, a
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:40:18 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

                  }
                })
            .named("singleton")
            .withFeatures(
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.ALLOWS_NULL_VALUES,
                CollectionSize.ONE)
            .suppressing(suppressForSingletonSet())
            .createTestSuite();
      }
    
      public Test testsForHashSet() {
        return SetTestSuiteBuilder.using(
                new TestStringSetGenerator() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 19.8K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/TestThread.java

    import java.util.concurrent.TimeoutException;
    import junit.framework.AssertionFailedError;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A helper for concurrency testing. One or more {@code TestThread} instances are instantiated in a
     * test with reference to the same "lock-like object", and then their interactions with that object
     * are choreographed via the various methods on this class.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 11.5K bytes
    - Click Count (0)
Back to Top