Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 79 for 1234ef (0.05 sec)

  1. src/bytes/example_test.go

    	fmt.Println(string(bytes.TrimRightFunc([]byte("go-gopher!"), unicode.IsPunct)))
    	fmt.Println(string(bytes.TrimRightFunc([]byte("1234go-gopher!567"), unicode.IsNumber)))
    	// Output:
    	// go-
    	// go-gopher
    	// 1234go-gopher!
    }
    
    func ExampleToLower() {
    	fmt.Printf("%s", bytes.ToLower([]byte("Gopher")))
    	// Output: gopher
    }
    
    func ExampleToLowerSpecial() {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 07 17:22:36 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java

        ListMultimap<String, Integer> multimap = create();
        multimap.putAll("foo", asList(1, 2, 3, 4, 5));
        List<Integer> list = multimap.get("foo");
        assertThat(multimap.get("foo")).containsExactly(1, 2, 3, 4, 5).inOrder();
        List<Integer> sublist = list.subList(0, 5);
        assertThat(sublist).containsExactly(1, 2, 3, 4, 5).inOrder();
    
        sublist.clear();
        assertTrue(sublist.isEmpty());
        multimap.put("foo", 6);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

        assertEquals(asList(1, 2, 3, 4, 5, 6), Lists.newArrayList(result));
        assertEquals("[1, 2, 3, 4, 5, 6]", result.toString());
    
        result = FluentIterable.<Integer>from(asList(1, 2, 3)).append(4, 5, 6);
        assertEquals(asList(1, 2, 3, 4, 5, 6), Lists.newArrayList(result));
        assertEquals("[1, 2, 3, 4, 5, 6]", result.toString());
      }
    
      public void testAppend_toEmpty() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  4. src/archive/tar/tar_test.go

    	}, {
    		header:  &Header{ChangeTime: time.Unix(123, 456)},
    		paxHdrs: map[string]string{paxCtime: "123.000000456"},
    		formats: FormatPAX | FormatGNU,
    	}, {
    		header:  &Header{ChangeTime: time.Unix(123, 456), Format: FormatUSTAR},
    		paxHdrs: map[string]string{paxCtime: "123.000000456"},
    		formats: FormatUnknown,
    	}, {
    		header:  &Header{ChangeTime: time.Unix(123, 456), Format: FormatGNU},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/lex/lex_test.go

    		"",
    	},
    	{
    		"simple",
    		"1 (a)",
    		"1.(.a.)",
    	},
    	{
    		"simple define",
    		lines(
    			"#define A 1234",
    			"A",
    		),
    		"1234.\n",
    	},
    	{
    		"define without value",
    		"#define A",
    		"",
    	},
    	{
    		"macro without arguments",
    		"#define A() 1234\n" + "A()\n",
    		"1234.\n",
    	},
    	{
    		"macro with just parens as body",
    		"#define A () \n" + "A\n",
    		"(.).\n",
    	},
    	{
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        // Now change the inputs and see result dynamically change as well
    
        list1.add(2);
        List<Integer> list3 = newArrayList(3);
        input.add(1, list3);
    
        assertEquals(asList(1, 2, 3, 4), newArrayList(result));
        assertEquals("[1, 2, 3, 4]", result.toString());
      }
    
      public void testConcatVarargs() {
        List<Integer> list1 = newArrayList(1);
        List<Integer> list2 = newArrayList(4);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  7. internal/rest/client_test.go

    		target interface{}
    		want   bool
    	}{
    		{
    			name:   "url.Error",
    			err:    &url.Error{Op: "PUT", URL: "http://localhost/1234", Err: restError("remote server offline")},
    			target: &url.Error{},
    			want:   true,
    		},
    		{
    			name: "net.Error",
    			err:  &url.Error{Op: "PUT", URL: "http://localhost/1234", Err: restError("remote server offline")},
    			want: true,
    		},
    		{
    			name: "net.Error-unmatched",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 16 17:28:29 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/cache/ChainBenchmark.java

    /**
     * Benchmark for {@code LocalCache.Segment.removeEntryFromChain}.
     *
     * @author Charles Fry
     */
    @SuppressWarnings("CheckReturnValue")
    public class ChainBenchmark {
    
      @Param({"1", "2", "3", "4", "5", "6"})
      int length;
    
      private Segment<Object, Object> segment;
      private ReferenceEntry<Object, Object> head;
      private @Nullable ReferenceEntry<Object, Object> chain;
    
      @SuppressWarnings("GuardedBy")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:19:38 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/FunnelsTest.java

      }
    
      public void testForInts() {
        Integer value = 1234;
        PrimitiveSink primitiveSink = mock(PrimitiveSink.class);
        Funnels.integerFunnel().funnel(value, primitiveSink);
        verify(primitiveSink).putInt(1234);
      }
    
      public void testForInts_null() {
        assertNullsThrowException(Funnels.integerFunnel());
      }
    
      public void testForLongs() {
        Long value = 1234L;
        PrimitiveSink primitiveSink = mock(PrimitiveSink.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. .github/PULL_REQUEST_TEMPLATE

      really needed (ASCII art, table, or long link)
    + If there is a corresponding issue, add either `Fixes #1234` or `Updates #1234`
      (the latter if this is not a complete fix) to this comment
    + If referring to a repo other than `golang/go` you can use the
      `owner/repo#issue_number` syntax: `Fixes golang/tools#1234`
    + We do not use Signed-off-by lines in Go. Please don't add them.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Feb 21 02:07:46 UTC 2018
    - 1.2K bytes
    - Viewed (0)
Back to top