Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 100 for while_1 (0.13 sec)

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

                }
              } else {
                val buf = ByteArray(if (writeKind == WriteKind.SMALL_BUFFERS) 256 else 64 * 1024)
                Arrays.fill(buf, 'x'.code.toByte())
                var i = 0
                while (i < n) {
                  sink.write(buf, 0, Math.min(buf.size, n - i))
                  i += buf.size
                }
              }
            }
          }
        val response =
          getResponse(
            Request(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  2. src/net/http/serve_test.go

    				t.Errorf("server timed out reading request body: got err %v; want os.ErrDeadlineExceeded", err)
    			}
    			res.Write([]byte(respBody))
    		}), func(ts *httptest.Server) {
    			ts.Config.ReadHeaderTimeout = -1 // don't time out while reading headers
    			ts.Config.ReadTimeout = timeout
    			t.Logf("Server.Config.ReadTimeout = %v", timeout)
    		})
    
    		var retries atomic.Int32
    		cst.c.Transport.(*Transport).Proxy = func(*Request) (*url.URL, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/windows/types_windows.go

    //
    // Pointer-typed fields may point to one of many different types. It's
    // up to the caller to provide a pointer to the appropriate type, cast
    // to Pointer. The caller must obey the unsafe.Pointer rules while
    // doing so.
    type Pointer *struct{}
    
    // Invented values to support what package os expects.
    type Timeval struct {
    	Sec  int32
    	Usec int32
    }
    
    func (tv *Timeval) Nanoseconds() int64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 104.1K bytes
    - Viewed (0)
  4. src/reflect/all_test.go

    				{Name: "F2", Type: ArrayOf(3, t1)},
    			},
    		},
    		{
    			shouldPanic: true, // overflow while aligning F2
    			fields: []StructField{
    				{Name: "F1", Type: bigType},
    				{Name: "F2", Type: t4},
    			},
    		},
    		{
    			shouldPanic: true, // overflow while adding trailing byte for zero-sized fields
    			fields: []StructField{
    				{Name: "F1", Type: bigType},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CallTest.kt

          override fun contentLength(): Long {
            return if (chunked) -1L else size
          }
    
          override fun writeTo(sink: BufferedSink) {
            var count = 0
            while (count < size) {
              sink.write(buffer, 0, Math.min(size - count, writeSize.toLong()).toInt())
              count += writeSize
            }
          }
        }
      }
    
      @Test
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/ops.mlir

    }
    
    func.func @main(%arg0: tensor<i32>, %arg1: tensor<1xf32>) -> tensor<i32> {
      // expected-error @+1 {{number of operands does not match number of results}}
      %0:1 = "tfl.while"(%arg0, %arg1) ({
      ^bb0(%arg2: tensor<*xi32>, %arg3: tensor<*xf32>):
        %1 = func.call @WhileOp_cond(%arg2, %arg3) : (tensor<*xi32>, tensor<*xf32>) -> tensor<i1>
        "tfl.yield"(%1) : (tensor<i1>) -> ()
      },  {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  7. cmd/server_test.go

    	c.Assert(putMD5, getMD5)
    }
    
    // TestGetPartialObjectMisAligned - tests get object partially miss-aligned.
    // create a large buffer of miss-aligned data and upload it.
    // then make partial range requests to while fetching it back and assert the response content.
    func (s *TestSuiteCommon) TestGetPartialObjectMisAligned(c *check) {
    	// generate a random bucket name.
    	bucketName := getRandomBucketName()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 115.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go

    		t.Name.goString(indent+2, "Name: "), args)
    }
    
    // TemplateParam is a template parameter.  The Template field is
    // filled in while parsing the demangled string.  We don't normally
    // see these while printing--they are replaced by the simplify
    // function.
    type TemplateParam struct {
    	Index    int
    	Template *Template
    }
    
    func (tp *TemplateParam) print(ps *printState) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 105.8K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/resources/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/report/uikit.min.js

    D(t)&&t.match(Tt)}var _t=/.*?[^\\](?:,|$)/g;var Ct=Element.prototype,Nt=Ct.matches||Ct.webkitMatchesSelector||Ct.msMatchesSelector;function Mt(t,e){return V(t).some(function(t){return Nt.call(t,e)})}var zt=Ct.closest||function(t){var e=this;do{if(Mt(e,t))return e}while(e=Pt(e))};function Dt(t,e){return w(e,">")&&(e=e.slice(1)),N(t)?zt.call(t,e):V(t).map(function(t){return Dt(t,e)}).filter(Boolean)}function Pt(t){return(t=W(t))&&N(t.parentNode)&&t.parentNode}function Bt(t,e){for(var i=[];t=Pt(t);)e&&!Mt(t,e)||i.push(t);return...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 130.5K bytes
    - Viewed (0)
  10. src/cmd/go/internal/work/exec.go

    	return ""
    }
    
    // gccSupportsFlag checks to see if the compiler supports a flag.
    func (b *Builder) gccSupportsFlag(compiler []string, flag string) bool {
    	// We use the background shell for operations here because, while this is
    	// triggered by some Action, it's not really about that Action, and often we
    	// just get the results from the global cache.
    	sh := b.BackgroundShell()
    
    	key := [2]string{compiler[0], flag}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
Back to top