Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 616 for _abc (0.04 sec)

  1. okhttp/src/test/java/okhttp3/ResponseCommonTest.kt

        assertThat(peekedBody.string()).isEqualTo("abc")
        assertThat(response.body.string()).isEqualTo("abcdef")
      }
    
      @Test fun peekLongerThanResponse() {
        val response = newResponse(responseBody("abc"))
        val peekedBody = response.peekBody(6)
        assertThat(peekedBody.string()).isEqualTo("abc")
        assertThat(response.body.string()).isEqualTo("abc")
      }
    
      @Test fun eachPeakIsIndependent() {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. src/strings/compare_test.go

    import (
    	"internal/testenv"
    	. "strings"
    	"testing"
    	"unsafe"
    )
    
    var compareTests = []struct {
    	a, b string
    	i    int
    }{
    	{"", "", 0},
    	{"a", "", 1},
    	{"", "a", -1},
    	{"abc", "abc", 0},
    	{"ab", "abc", -1},
    	{"abc", "ab", 1},
    	{"x", "ab", 1},
    	{"ab", "x", -1},
    	{"x", "a", 1},
    	{"b", "x", -1},
    	// test runtime·memeq's chunked implementation
    	{"abcdefgh", "abcdefgh", 0},
    	{"abcdefghi", "abcdefghi", 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 01:33:55 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  3. test/typeparam/issue48604.go

    package main
    
    type Foo[T any] interface {
    	CreateBar() Bar[T]
    }
    
    type Bar[T any] func() Bar[T]
    
    func (f Bar[T]) CreateBar() Bar[T] {
    	return f
    }
    
    func abc[R any]() {
    	var _ Foo[R] = Bar[R](nil)()
    }
    
    func main() {
    	abc[int]()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 396 bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/sample.kt

    package com.example
    
    
    fun Abc.body() {
        val myB = b()
    
        a = myB
        val myD = newD("shared")
    
        c(1) {
            x = f(y)
            d = myD
        }
        c(2) {
            x = f("another test")
            d = myD
        }
    }
    
    
    object Main {
        @JvmStatic
        fun main(args: Array<String>) {
            val receiver = Abc()
            receiver.body()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 13:30:30 UTC 2024
    - 425 bytes
    - Viewed (0)
  5. okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt

        this.server = server
      }
    
      @Test
      fun suspendCall() {
        runTest {
          server.enqueue(MockResponse(body = "abc"))
    
          val call = client.newCall(request)
    
          call.executeAsync().use {
            withContext(Dispatchers.IO) {
              assertThat(it.body.string()).isEqualTo("abc")
            }
          }
        }
      }
    
      @Test
      fun timeoutCall() {
        runTest {
          server.enqueue(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 18 01:24:38 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. pkg/apis/batch/validation/validation_test.go

    					Name:            "abc",
    					Namespace:       metav1.NamespaceDefault,
    					ResourceVersion: "1",
    				},
    				Status: batch.JobStatus{
    					Active:      1,
    					Succeeded:   2,
    					Failed:      3,
    					Terminating: pointer.Int32(4),
    				},
    			},
    			update: batch.Job{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:            "abc",
    					Namespace:       metav1.NamespaceDefault,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 124.3K bytes
    - Viewed (0)
  7. src/regexp/testdata/re2-search.txt

    -;-;-;-
    "(?:a)$"
    -;-;-;-
    -;-;-;-
    strings
    ""
    "abc"
    regexps
    "ABC"
    -;-;-;-
    -;-;-;-
    "^(?:ABC)$"
    -;-;-;-
    -;-;-;-
    "^(?:ABC)"
    -;-;-;-
    -;-;-;-
    "(?:ABC)$"
    -;-;-;-
    -;-;-;-
    strings
    ""
    "XABCY"
    regexps
    "abc"
    -;-;-;-
    -;-;-;-
    "^(?:abc)$"
    -;-;-;-
    -;-;-;-
    "^(?:abc)"
    -;-;-;-
    -;-;-;-
    "(?:abc)$"
    -;-;-;-
    -;-;-;-
    strings
    ""
    "xabcy"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 13 14:52:20 UTC 2021
    - 42.4K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/DefaultCopySpecTest.groovy

            copyAction instanceof MatchingCopyAction
            PatternMatcher matcher = copyAction.matcher
    
            ['/root/folder/abc', '/root/abc'].each {
                assertMatches matcher, it
            }
    
            ['/notRoot/abc', '/not/root/abc', 'root/bbc', 'notRoot/bbc'].each {
                assertMatches matcher.negate(), it
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 26 08:05:50 UTC 2023
    - 14.7K bytes
    - Viewed (0)
  9. test/typeparam/issue48617.go

    type Foo[T any] interface {
    	CreateBar() Bar[T]
    }
    
    type Bar[T any] func() Bar[T]
    
    func (f Bar[T]) CreateBar() Bar[T] {
    	return f
    }
    
    func abc[T any]() {
    	var b Bar[T] = func() Bar[T] {
    		var b Bar[T]
    		return b
    	}
    	var _ Foo[T] = b()
    }
    
    func main() {
    	abc[int]()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 446 bytes
    - Viewed (0)
  10. test/codegen/maps.go

    func AccessInt2(m map[int]int) bool {
    	// amd64:"MOV[LQ]\t[$]5"
    	_, ok := m[5]
    	return ok
    }
    
    func AccessString1(m map[string]int) int {
    	// amd64:`.*"abc"`
    	return m["abc"]
    }
    
    func AccessString2(m map[string]int) bool {
    	// amd64:`.*"abc"`
    	_, ok := m["abc"]
    	return ok
    }
    
    // ------------------- //
    //  String Conversion  //
    // ------------------- //
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 23 15:51:32 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top