Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for rebear (0.2 sec)

  1. src/bytes/bytes_test.go

    func TestRepeat(t *testing.T) {
    	for _, tt := range RepeatTests {
    		tin := []byte(tt.in)
    		tout := []byte(tt.out)
    		a := Repeat(tin, tt.count)
    		if !Equal(a, tout) {
    			t.Errorf("Repeat(%q, %d) = %q; want %q", tin, tt.count, a, tout)
    			continue
    		}
    	}
    }
    
    func repeat(b []byte, count int) (err error) {
    	defer func() {
    		if r := recover(); r != nil {
    			switch v := r.(type) {
    			case error:
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  2. src/bufio/bufio_test.go

    	b0 := NewWriterSize(&w0, 1234)
    	b0.WriteString(strings.Repeat("x", 1000))
    	if w0 != 0 {
    		t.Fatalf("write 1000 'x's: got %d writes, want 0", w0)
    	}
    	b0.WriteString(strings.Repeat("x", 200))
    	if w0 != 0 {
    		t.Fatalf("write 1200 'x's: got %d writes, want 0", w0)
    	}
    	io.Copy(b0, onlyReader{strings.NewReader(strings.Repeat("x", 30))})
    	if w0 != 0 {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

      }
    
      @Test
      fun labelTooLongDueToAsciiExpansion() {
        val a60 = "a".repeat(60)
        assertThat(parse("http://\u2121$a60/").toString()).isEqualTo("http://tel$a60/")
        assertInvalid("http://a\u2121$a60/", "Invalid URL host: \"a\u2121$a60\"")
      }
    
      @Test
      fun hostnameTooLong() {
        val dotA126 = "a.".repeat(126)
        assertThat(parse("http://a$dotA126/").toString())
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFile.java

    import jcifs.util.Strings;
    
    
    /**
     * This class represents a resource on an SMB network. Mainly these
     * resources are files and directories however an <code>SmbFile</code>
     * may also refer to servers and workgroups. If the resource is a file or
     * directory the methods of <code>SmbFile</code> follow the behavior of
     * the well known {@link java.io.File} class. One fundamental difference
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

       * These interceptors must call [Interceptor.Chain.proceed] exactly once: it is an error for
       * a network interceptor to short-circuit or repeat a network request.
       */
      @get:JvmName("networkInterceptors")
      val networkInterceptors: List<Interceptor> =
        builder.networkInterceptors.toImmutableList()
    
      @get:JvmName("eventListenerFactory")
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

    import java.util.concurrent.TimeUnit
    import java.util.concurrent.atomic.AtomicInteger
    import kotlin.test.assertFailsWith
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.TestUtil.headerEntries
    import okhttp3.TestUtil.repeat
    import okhttp3.internal.EMPTY_BYTE_ARRAY
    import okhttp3.internal.EMPTY_HEADERS
    import okhttp3.internal.concurrent.TaskFaker
    import okhttp3.internal.concurrent.TaskRunner
    import okhttp3.internal.connection.Locks.withLock
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

    import okhttp3.Request
    import okhttp3.RequestBody
    import okhttp3.Response
    import okhttp3.Route
    import okhttp3.SimpleProvider
    import okhttp3.TestLogHandler
    import okhttp3.TestUtil.assumeNotWindows
    import okhttp3.TestUtil.repeat
    import okhttp3.TestUtil.threadFactory
    import okhttp3.internal.DoubleInetAddressDns
    import okhttp3.internal.EMPTY_REQUEST
    import okhttp3.internal.RecordingOkAuthenticator
    import okhttp3.internal.connection.RealConnection
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  8. src/cmd/cgo/gcc.go

    			// type and source locations of constant strings)
    			// like the second arg in the call below:
    			//
    			//     myfunction(42, "foo")
    			//
    			// If a var has no name we won't see attempts to
    			// refer to it via "C.<name>", so skip these vars
    			//
    			// See issue 53000 for more context.
    			if name == "" {
    				break
    			}
    			typOff, _ := e.Val(dwarf.AttrType).(dwarf.Offset)
    			if typOff == 0 {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

                argumentMapping[valueArgument] = parameterSymbol
            }
        }
    
        private fun FirExpression.findSourceKtExpressionForCallArgument(): KtExpression? {
            // For smart-casted expression, refer to the source of the original expression
            // For spread, named, and lambda arguments, the source is the KtValueArgument.
            // For other arguments (including array indices), the source is the KtExpression.
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 70.8K bytes
    - Viewed (1)
  10. android/guava/src/com/google/common/collect/Synchronized.java

     * Kotlin code. In this class, nothing is publicly visible (nor exposed indirectly through a
     * publicly visible subclass), and I doubt any of our current or future Kotlin extensions for the
     * package will refer to the class. Plus, @ParametricNullness is only a temporary workaround,
     * anyway, so we just need to get by without the annotations here until Kotlin better understands
     * our other nullness annotations.
     */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
Back to top