Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for data_ (0.07 sec)

  1. src/cmd/link/internal/ld/data.go

    	data[len(prefix)+1] = 0
    	if ctxt.Arch.ByteOrder == binary.BigEndian {
    		data[len(prefix)+1] = 1
    	}
    	data[len(prefix)+1] |= 2 // signals new pointer-free format
    	data = appendString(data, strdata["runtime.buildVersion"])
    	data = appendString(data, strdata["runtime.modinfo"])
    	// MacOS linker gets very upset if the size os not a multiple of alignment.
    	for len(data)%16 != 0 {
    		data = append(data, 0)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        assertFalse(compound.isDone());
        future1.set(DATA1);
        assertFalse(compound.isDone());
        future2.set(DATA2);
        assertFalse(compound.isDone());
        listener.expectCall();
        future3.set(DATA3);
        assertTrue(listener.wasCalled());
    
        List<String> results = getDone(compound);
        assertThat(results).containsExactly(DATA1, DATA2, DATA3).inOrder();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        assertFalse(compound.isDone());
        future1.set(DATA1);
        assertFalse(compound.isDone());
        future2.set(DATA2);
        assertFalse(compound.isDone());
        listener.expectCall();
        future3.set(DATA3);
        assertTrue(listener.wasCalled());
    
        List<String> results = getDone(compound);
        assertThat(results).containsExactly(DATA1, DATA2, DATA3).inOrder();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  4. src/net/http/server.go

    }
    
    func (w *response) WriteString(data string) (n int, err error) {
    	return w.write(len(data), nil, data)
    }
    
    // either dataB or dataS is non-zero.
    func (w *response) write(lenData int, dataB []byte, dataS string) (n int, err error) {
    	if w.conn.hijacked() {
    		if lenData > 0 {
    			caller := relevantCaller()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  5. src/cmd/trace/testdata/go122.test

    Strings
    String id=1
    	data="Not worker"
    String id=2
    	data="GC (dedicated)"
    String id=3
    	data="GC (fractional)"
    String id=4
    	data="GC (idle)"
    String id=5
    	data="unspecified"
    String id=6
    	data="forever"
    String id=7
    	data="network"
    String id=8
    	data="select"
    String id=9
    	data="sync.(*Cond).Wait"
    String id=10
    	data="sync"
    String id=11
    	data="chan send"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 17:15:58 UTC 2024
    - 166K bytes
    - Viewed (0)
  6. fastapi/applications.py

            @app.websocket("/ws")
            async def websocket_endpoint(websocket: WebSocket):
                await websocket.accept()
                while True:
                    data = await websocket.receive_text()
                    await websocket.send_text(f"Message text was: {data}")
            ```
            """
    
            def decorator(func: DecoratedCallable) -> DecoratedCallable:
                self.add_api_websocket_route(
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 00:48:03 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  7. cmd/object-handlers_test.go

    				r.Close()
    				t.Fatalf("Test %d: %s: Failed to fetch the copied object: <ERROR> %s", i+1, instanceType, err)
    			}
    			r.Close()
    			if !bytes.Equal(testCase.data, buffer.Bytes()) {
    				t.Errorf("Test %d: %s: Data Mismatch: Data fetched back from the uploaded object doesn't match the original one.", i+1, instanceType)
    			}
    		}
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  8. cmd/bucket-replication.go

    	case resyncMetaFormat:
    	default:
    		return brs, fmt.Errorf("resyncMeta: unknown format: %d", binary.LittleEndian.Uint16(data[0:2]))
    	}
    	switch binary.LittleEndian.Uint16(data[2:4]) {
    	case resyncMetaVersion:
    	default:
    		return brs, fmt.Errorf("resyncMeta: unknown version: %d", binary.LittleEndian.Uint16(data[2:4]))
    	}
    	// OK, parse data.
    	if _, err = brs.UnmarshalMsg(data[4:]); err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  9. src/debug/elf/elf.go

    func (i Class) GoString() string { return stringName(uint32(i), classStrings, true) }
    
    // Data is found in Header.Ident[EI_DATA] and Header.Data.
    type Data byte
    
    const (
    	ELFDATANONE Data = 0 /* Unknown data format. */
    	ELFDATA2LSB Data = 1 /* 2's complement little-endian. */
    	ELFDATA2MSB Data = 2 /* 2's complement big-endian. */
    )
    
    var dataStrings = []intName{
    	{0, "ELFDATANONE"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 00:01:16 UTC 2024
    - 134.6K bytes
    - Viewed (0)
  10. cmd/server_test.go

    	c.Assert(response.StatusCode, 200)
    
    	// Create a byte array of 5MB.
    	// content for the object to be uploaded.
    	data := bytes.Repeat([]byte("0123456789abcdef"), 5*humanize.MiByte/16)
    	// calculate etag of the data.
    	etagBase64 := getMD5HashBase64(data)
    
    	buffer1 := bytes.NewReader(data)
    	objectName := "test-1-object"
    	// HTTP request for the object to be uploaded.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 115.3K bytes
    - Viewed (0)
Back to top