Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 43 for AAAA (0.04 sec)

  1. test/typeparam/slices.go

    func TestMax() {
    	s1 := []int{1, 2, 3, -5}
    	if got, want := _SliceMax(s1), 3; got != want {
    		panic(fmt.Sprintf("_Max(%v) = %d, want %d", s1, got, want))
    	}
    
    	s2 := []string{"aaa", "a", "aa", "aaaa"}
    	if got, want := _SliceMax(s2), "aaaa"; got != want {
    		panic(fmt.Sprintf("_Max(%v) = %q, want %q", s2, got, want))
    	}
    
    	if got, want := _SliceMax(s2[:0]), ""; got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  2. cmd/utils_test.go

    		}
    	}
    }
    
    // Test queries()
    func TestQueries(t *testing.T) {
    	testCases := []struct {
    		keys      []string
    		keyvalues []string
    	}{
    		{
    			[]string{"aaaa", "bbbb"},
    			[]string{"aaaa", "{aaaa:.*}", "bbbb", "{bbbb:.*}"},
    		},
    	}
    
    	for i, test := range testCases {
    		keyvalues := restQueries(test.keys...)
    		for j := range keyvalues {
    			if keyvalues[j] != test.keyvalues[j] {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Feb 23 21:28:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/PatternFilenameFilterTest.java

      }
    
      public void testAccept() {
        File dir = new File("foo");
        FilenameFilter filter = new PatternFilenameFilter("a+");
        assertTrue(filter.accept(dir, "a"));
        assertTrue(filter.accept(dir, "aaaa"));
        assertFalse(filter.accept(dir, "b"));
    
        // Show that dir is ignored
        assertTrue(filter.accept(null, "a"));
      }
    
      public void testNulls() throws Exception {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/PatternFilenameFilterTest.java

      }
    
      public void testAccept() {
        File dir = new File("foo");
        FilenameFilter filter = new PatternFilenameFilter("a+");
        assertTrue(filter.accept(dir, "a"));
        assertTrue(filter.accept(dir, "aaaa"));
        assertFalse(filter.accept(dir, "b"));
    
        // Show that dir is ignored
        assertTrue(filter.accept(null, "a"));
      }
    
      public void testNulls() throws Exception {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. okhttp-android/src/main/kotlin/okhttp3/android/AndroidAsyncDns.kt

    import java.util.concurrent.Executors
    import okhttp3.AsyncDns
    import okhttp3.ExperimentalOkHttpApi
    
    /**
     * DNS implementation based on android.net.DnsResolver, which submits a request for
     * A or AAAA records, and returns the addresses or exception.
     *
     * Two instances must be used to get all results for an address.
     *
     * @param network network to use, if not selects the default network.
     */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 01 10:07:48 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/AsyncDns.kt

      )
    
      /**
       * Callback to receive results from the DNS Queries.
       */
      @ExperimentalOkHttpApi
      interface Callback {
        /**
         * Return addresses for a dns query for a single class of IPv4 (A) or IPv6 (AAAA).
         * May be an empty list indicating that the host is unreachable.
         */
        fun onResponse(
          hostname: String,
          addresses: List<InetAddress>,
        )
    
        /**
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. src/net/dnsclient_unix_test.go

    			continue
    		}
    	}
    }
    
    var goLookupIPWithResolverConfigTests = []struct {
    	name  string
    	lines []string // resolver configuration lines
    	error
    	a, aaaa bool // whether response contains A, AAAA-record
    }{
    	// no records, transport timeout
    	{
    		"jgahvsekduiv9bw4b3qhn4ykdfgj0493iohkrjfhdvhjiu4j",
    		[]string{
    			"options timeout:1 attempts:1",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  8. pilot/pkg/model/network.go

    			return
    		}
    		for _, rr := range res.Answer {
    			switch record := rr.(type) {
    			case *dns.A:
    				out = append(out, record.A.String())
    			case *dns.AAAA:
    				out = append(out, record.AAAA.String())
    			}
    		}
    		if nextTTL := minimalTTL(res); nextTTL < ttl {
    			ttl = nextTTL
    		}
    	}
    
    	wg.Add(2)
    	go doResolve(dns.TypeA)
    	go doResolve(dns.TypeAAAA)
    	wg.Wait()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 24 03:31:28 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  9. src/encoding/base64/base64_test.go

    	}{
    		{"", -1},
    		{"\n", -1},
    		{"AAA=\n", -1},
    		{"AAAA\n", -1},
    		{"!!!!", 0},
    		{"====", 0},
    		{"x===", 1},
    		{"=AAA", 0},
    		{"A=AA", 1},
    		{"AA=A", 2},
    		{"AA==A", 4},
    		{"AAA=AAAA", 4},
    		{"AAAAA", 4},
    		{"AAAAAA", 4},
    		{"A=", 1},
    		{"A==", 1},
    		{"AA=", 3},
    		{"AA==", -1},
    		{"AAA=", -1},
    		{"AAAA", -1},
    		{"AAAAAA=", 7},
    		{"YWJjZA=====", 8},
    		{"A!\n", 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Sep 03 18:57:29 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  10. src/net/dnsclient_unix.go

    						cname = h.Name
    					}
    
    				case dnsmessage.TypeAAAA:
    					aaaa, err := result.p.AAAAResource()
    					if err != nil {
    						lastErr = &DNSError{
    							Err:    errCannotUnmarshalDNSMessage.Error(),
    							Name:   name,
    							Server: result.server,
    						}
    						break loop
    					}
    					addrs = append(addrs, IPAddr{IP: IP(aaaa.AAAA[:])})
    					if cname.Length == 0 && h.Name.Length != 0 {
    						cname = h.Name
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 24.5K bytes
    - Viewed (0)
Back to top