Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 176 for chunkOf (0.16 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/GUtil.java

            while (matcher.find()) {
                String chunk = string.subSequence(pos, matcher.start()).toString();
                pos = matcher.end();
                if (chunk.isEmpty()) {
                    continue;
                }
                if (lower && first) {
                    chunk = StringUtils.uncapitalize(chunk);
                    first = false;
                } else {
                    chunk = StringUtils.capitalize(chunk);
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  2. src/net/http/h2_bundle.go

    		p = p[n:]
    		ntotal += n
    		b.r += n
    		b.size -= n
    		// If the first chunk has been consumed, advance to the next chunk.
    		if b.r == len(b.chunks[0]) {
    			http2putDataBufferChunk(b.chunks[0])
    			end := len(b.chunks) - 1
    			copy(b.chunks[:end], b.chunks[1:])
    			b.chunks[end] = nil
    			b.chunks = b.chunks[:end]
    			b.r = 0
    		}
    	}
    	return ntotal, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/main/java/org/gradle/util/GUtil.java

            while (matcher.find()) {
                String chunk = string.subSequence(pos, matcher.start()).toString();
                pos = matcher.end();
                if (chunk.isEmpty()) {
                    continue;
                }
                if (lower && first) {
                    chunk = StringUtils.uncapitalize(chunk);
                    first = false;
                } else {
                    chunk = StringUtils.capitalize(chunk);
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  4. src/image/png/writer.go

    	}
    	e.writeChunk(e.tmp[:3*len(p)], "PLTE")
    	if last != -1 {
    		e.writeChunk(e.tmp[3*256:3*256+1+last], "tRNS")
    	}
    }
    
    // An encoder is an io.Writer that satisfies writes by writing PNG IDAT chunks,
    // including an 8-byte header and 4-byte CRC checksum per Write call. Such calls
    // should be relatively infrequent, since writeIDATs uses a [bufio.Writer].
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:08:05 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  5. src/strings/strings.go

    			chunkMax = len(s)
    		}
    	}
    
    	var b Builder
    	b.Grow(n)
    	b.WriteString(s)
    	for b.Len() < n {
    		chunk := n - b.Len()
    		if chunk > b.Len() {
    			chunk = b.Len()
    		}
    		if chunk > chunkMax {
    			chunk = chunkMax
    		}
    		b.WriteString(b.String()[:chunk])
    	}
    	return b.String()
    }
    
    // ToUpper returns s with all Unicode letters mapped to their upper case.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:48:16 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

              contentLength = header.substring(15).trim().toLong()
            }
            if (lowercaseHeader.startsWith("transfer-encoding:") &&
              lowercaseHeader.substring(18).trim() == "chunked"
            ) {
              chunked = true
            }
          }
    
          val peek = dispatcher.peek()
          for (response in peek.informationalResponses) {
            writeHttpResponse(socket, sink, response)
          }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  7. src/runtime/arena_test.go

    		finalized.Store(true)
    	})
    
    	// Write three chunks worth of pointer data. Three gives us a
    	// high likelihood that when we write 2 later, we'll get the behavior
    	// we want.
    	a := NewUserArena()
    	for i := 0; i < int(UserArenaChunkBytes/goarch.PtrSize*3); i++ {
    		var x any
    		x = (*smallPointer)(nil)
    		a.New(&x)
    	}
    	a.Free()
    
    	// Recycle the arena chunks.
    	GC()
    	GC()
    
    	a = NewUserArena()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/util/proxy/streamtunnel_test.go

    		// write one chunk at a time
    		for i, chunk := range strings.Split(responseHeadersAndBody, "split") {
    			if i > 0 {
    				n, err := hic.Write([]byte("split"))
    				require.Equal(t, n, len("split"))
    				require.NoError(t, err)
    			}
    			n, err := hic.Write([]byte(chunk))
    			require.Equal(t, n, len(chunk))
    			require.NoError(t, err)
    		}
    		assert.True(t, hic.initialized)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 02:21:50 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  9. api/openapi-spec/v3/apis__networking.k8s.io__v1_openapi.json

                "in": "query",
                "name": "limit",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 324.8K bytes
    - Viewed (0)
  10. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

          .assertLogMatch(Regex("""Transfer-encoding: chunked"""))
          .assertLogEqual("<-- END HTTP (streaming)")
          .assertNoMoreLogs()
        applicationLogs
          .assertLogEqual("--> GET $url")
          .assertLogEqual("--> END GET")
          .assertLogMatch(Regex("""<-- 200 OK $url \(\d+ms\)"""))
          .assertLogEqual("Content-Type: text/event-stream")
          .assertLogMatch(Regex("""Transfer-encoding: chunked"""))
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 37.6K bytes
    - Viewed (0)
Back to top