Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 329 for chunkOf (0.21 sec)

  1. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/declarations/KotlinFileBasedDeclarationProvider.kt

                while (!tasks.isEmpty()) {
                    val (chunks, element) = tasks.removeFirst()
                    assert(chunks.isNotEmpty())
    
                    if (element !is KtNamedDeclaration || element.nameAsName != chunks[0]) {
                        continue
                    }
    
                    if (chunks.size == 1) {
                        yieldIfNotNull(element as? KtClassLikeDeclaration)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. src/runtime/malloc_test.go

    	}
    	const N = 16
    	var v [N]unsafe.Pointer
    	for i := range v {
    		v[i] = unsafe.Pointer(new(byte))
    	}
    
    	chunks := make(map[uintptr]bool, N)
    	for _, p := range v {
    		chunks[uintptr(p)&^7] = true
    	}
    
    	if len(chunks) == N {
    		t.Fatal("no bytes allocated within the same 8-byte chunk")
    	}
    }
    
    type obj12 struct {
    	a uint64
    	b uint32
    }
    
    func TestTinyAllocIssue37262(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  3. src/net/http/readrequest_test.go

    	{
    		"GET  HTTP/1.1\r\n" +
    			"Host: test\r\n\r\n",
    		nil,
    		noBodyStr,
    		noTrailer,
    		`parse "": empty url`,
    	},
    
    	// Tests chunked body with trailer:
    	{
    		"POST / HTTP/1.1\r\n" +
    			"Host: foo.com\r\n" +
    			"Transfer-Encoding: chunked\r\n\r\n" +
    			"3\r\nfoo\r\n" +
    			"3\r\nbar\r\n" +
    			"0\r\n" +
    			"Trailer-Key: Trailer-Value\r\n" +
    			"\r\n",
    		&Request{
    			Method: "POST",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 14 22:23:32 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/symbolDeclarationOverridesProvider/AbstractOverriddenDeclarationProviderTest.kt

                        else -> null
                    }
    
                    if (qualifiedName != null) {
                        chunks += qualifiedName
                        continue
                    }
                }
    
                chunks += (parent as? KaNamedSymbol)?.name?.asString() ?: "<no name>"
            }
    
            return chunks.joinToString(".")
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. src/path/match.go

    // getEsc gets a possibly-escaped character from chunk, for a character class.
    func getEsc(chunk string) (r rune, nchunk string, err error) {
    	if len(chunk) == 0 || chunk[0] == '-' || chunk[0] == ']' {
    		err = ErrBadPattern
    		return
    	}
    	if chunk[0] == '\\' {
    		chunk = chunk[1:]
    		if len(chunk) == 0 {
    			err = ErrBadPattern
    			return
    		}
    	}
    	r, n := utf8.DecodeRuneInString(chunk)
    	if r == utf8.RuneError && n == 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 23 17:33:57 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  6. src/net/writev_test.go

    		writeLog.log = append(writeLog.log, size)
    		writeLog.Unlock()
    	}
    	var want bytes.Buffer
    	for i := 0; i < chunks; i++ {
    		want.WriteByte(byte(i))
    	}
    
    	withTCPConnPair(t, func(c *TCPConn) error {
    		buffers := make(Buffers, chunks)
    		for i := range buffers {
    			buffers[i] = want.Bytes()[i : i+1]
    		}
    		var n int64
    		var err error
    		if useCopy {
    			n, err = io.Copy(c, &buffers)
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/BaseEncoding.java

          for (int remaining = len; remaining >= 3; remaining -= 3) {
            int chunk = (bytes[i++] & 0xFF) << 16 | (bytes[i++] & 0xFF) << 8 | bytes[i++] & 0xFF;
            target.append(alphabet.encode(chunk >>> 18));
            target.append(alphabet.encode((chunk >>> 12) & 0x3F));
            target.append(alphabet.encode((chunk >>> 6) & 0x3F));
            target.append(alphabet.encode(chunk & 0x3F));
          }
          if (i < off + len) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Mar 15 16:33:32 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  8. src/path/filepath/match.go

    			match := false
    			nrange := 0
    			for {
    				if len(chunk) > 0 && chunk[0] == ']' && nrange > 0 {
    					chunk = chunk[1:]
    					break
    				}
    				var lo, hi rune
    				if lo, chunk, err = getEsc(chunk); err != nil {
    					return "", false, err
    				}
    				hi = lo
    				if chunk[0] == '-' {
    					if hi, chunk, err = getEsc(chunk[1:]); err != nil {
    						return "", false, err
    					}
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modindex/build.go

    	srcdir = filepath.ToSlash(srcdir)
    
    	chunks := strings.Split(str, "${SRCDIR}")
    	if len(chunks) < 2 {
    		return str, safeCgoName(str)
    	}
    	ok := true
    	for _, chunk := range chunks {
    		ok = ok && (chunk == "" || safeCgoName(chunk))
    	}
    	ok = ok && (srcdir == "" || safeCgoName(srcdir))
    	res := strings.Join(chunks, srcdir)
    	return res, ok && res != ""
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 17:39:23 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  10. src/internal/saferio/io.go

    		return nil, io.ErrUnexpectedEOF
    	}
    
    	if n < chunk {
    		buf := make([]byte, n)
    		_, err := io.ReadFull(r, buf)
    		if err != nil {
    			return nil, err
    		}
    		return buf, nil
    	}
    
    	var buf []byte
    	buf1 := make([]byte, chunk)
    	for n > 0 {
    		next := n
    		if next > chunk {
    			next = chunk
    		}
    		_, err := io.ReadFull(r, buf1[:next])
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 00:34:05 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top