Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 498 for Bar (0.05 seconds)

  1. guava-tests/test/com/google/common/base/SplitterTest.java

      @AndroidIncompatible // Bug in older versions of Android we test against, since fixed.
      public void testPatternSplitWordBoundary() {
        String string = "foo<bar>bletch";
        Iterable<String> words = Splitter.on(Pattern.compile("\\b")).split(string);
        assertThat(words).containsExactly("foo", "<", "bar", ">", "bletch").inOrder();
      }
    
      @GwtIncompatible // java.util.regex.Pattern
      public void testPatternSplitWordBoundary_singleCharInput() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 29.7K bytes
    - Click Count (0)
  2. tests/associations_test.go

    	id := uint(100)
    	user := AssociationEmptyUser{
    		ID:   id,
    		Name: "jinzhu",
    		Pets: []AssociationEmptyPet{
    			{AssociationEmptyUserID: &id, Name: "bar"},
    			{AssociationEmptyUserID: &id, Name: "foo"},
    		},
    	}
    
    	err := DB.Session(&gorm.Session{FullSaveAssociations: true}).Create(&user).Error
    	if err != nil {
    		t.Fatalf("Failed to create, got error: %v", err)
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 12 04:33:27 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

        assertThat(call).contains("prompt=Bar")
        assertThat(call).contains("protocol=http")
        assertThat(call.lowercase(Locale.US))
          .contains("scheme=basic") // lowercase for the RI.
      }
    
      @Test
      fun allAttributesSetInProxyAuthenticationCallbacks() {
        val calls = authCallsForHeader("Proxy-Authenticate: Basic realm=\"Bar\"")
        assertThat(calls.size).isEqualTo(1)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 133.3K bytes
    - Click Count (0)
  4. docs/en/docs/python-types.md

    You can declare that a variable can be any of **several types**, for example, an `int` or a `str`.
    
    To define it you use the <dfn title='also called "bitwise or operator", but that meaning is not relevant here'>vertical bar (`|`)</dfn> to separate both types.
    
    This is called a "union", because the variable can be anything in the union of those two sets of types.
    
    ```Python hl_lines="1"
    {!> ../../docs_src/python_types/tutorial008b_py310.py!}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
  5. docs/zh-hant/docs/tutorial/response-model.md

    ///
    
    #### 對於有預設值欄位也有實際值的資料 { #data-with-values-for-fields-with-defaults }
    
    但如果你的資料在模型中對於有預設值的欄位也有實際值,例如 ID 為 `bar` 的項目:
    
    ```Python hl_lines="3  5"
    {
        "name": "Bar",
        "description": "The bartenders",
        "price": 62,
        "tax": 20.2
    }
    ```
    
    它們會被包含在回應中。
    
    #### 與預設值相同的資料 { #data-with-the-same-values-as-the-defaults }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 14.5K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

      public void testControlsArraySize() {
        ImmutableSet.Builder<String> builder = ImmutableSortedSet.naturalOrder();
        for (int i = 0; i < 10; i++) {
          builder.add("foo");
        }
        builder.add("bar");
        RegularImmutableSortedSet<String> set = (RegularImmutableSortedSet<String>) builder.build();
        RegularImmutableList<String> list = (RegularImmutableList<String>) set.elements;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 46.3K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/ImmutableTable.java

       *
       * {@snippet :
       * static final ImmutableTable<Integer, Character, String> SPREADSHEET =
       *     new ImmutableTable.Builder<Integer, Character, String>()
       *         .put(1, 'A', "foo")
       *         .put(1, 'B', "bar")
       *         .put(2, 'A', "baz")
       *         .buildOrThrow();
       * }
       *
       * <p>By default, the order in which cells are added to the builder determines the iteration
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  8. src/cmd/asm/internal/asm/operand_test.go

    	{"[X0-AX]", "[X0-AX]"},
    	{"[AX-X0]", "[AX-X0]"},
    	{"[):[o-FP", ""}, // Issue 12469 - asm hung parsing the o-FP range on non ARM platforms.
    }
    
    var amd64RuntimeOperandTests = []operandTest{
    	{"$bar<ABI0>(SB)", "$bar<ABI0>(SB)"},
    	{"$foo<ABIInternal>(SB)", "$foo<ABIInternal>(SB)"},
    }
    
    var amd64BadOperandTests = []badOperandTest{
    	{"[", "register list: expected ']', found EOF"},
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 23.9K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/ImmutableTable.java

       *
       * {@snippet :
       * static final ImmutableTable<Integer, Character, String> SPREADSHEET =
       *     new ImmutableTable.Builder<Integer, Character, String>()
       *         .put(1, 'A', "foo")
       *         .put(1, 'B', "bar")
       *         .put(2, 'A', "baz")
       *         .buildOrThrow();
       * }
       *
       * <p>By default, the order in which cells are added to the builder determines the iteration
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 17.4K bytes
    - Click Count (0)
  10. src/archive/zip/writer_test.go

    	Mode   fs.FileMode
    }
    
    var writeTests = []WriteTest{
    	{
    		Name:   "foo",
    		Data:   []byte("Rabbits, guinea pigs, gophers, marsupial rats, and quolls."),
    		Method: Store,
    		Mode:   0666,
    	},
    	{
    		Name:   "bar",
    		Data:   nil, // large data set in the test
    		Method: Deflate,
    		Mode:   0644,
    	},
    	{
    		Name:   "setuid",
    		Data:   []byte("setuid file"),
    		Method: Deflate,
    		Mode:   0755 | fs.ModeSetuid,
    	},
    	{
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Jan 28 04:20:09 GMT 2025
    - 14.4K bytes
    - Click Count (0)
Back to Top