Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1511 - 1520 of 1,634 for byteEq (0.09 sec)

  1. cni/pkg/nodeagent/ztunnelserver_test.go

    		ztunClient *net.UnixConn
    		ztunServer *ztunnelServer
    	}{ztunClient: ztunClient, ztunServer: ztun}
    }
    
    func readRequest(t *testing.T, c *net.UnixConn) (*zdsapi.WorkloadRequest, []int) {
    	var oob [1024]byte
    	m, oobn, err := readProto[zdsapi.WorkloadRequest](c, time.Second, oob[:])
    	if err != nil {
    		panic(err)
    	}
    
    	receivedoob := oob[:oobn]
    	msgs, err := unix.ParseSocketControlMessage(receivedoob)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. internal/config/api/api.go

    	ObjectMaxVersions           int64         `json:"object_max_versions"`
    }
    
    // UnmarshalJSON - Validate SS and RRS parity when unmarshalling JSON.
    func (sCfg *Config) UnmarshalJSON(data []byte) error {
    	type Alias Config
    	aux := &struct {
    		*Alias
    	}{
    		Alias: (*Alias)(sCfg),
    	}
    	return json.Unmarshal(data, &aux)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 16 08:43:49 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. internal/config/certs_test.go

    func createTempFile(prefix, content string) (tempFile string, err error) {
    	var tmpfile *os.File
    
    	if tmpfile, err = os.CreateTemp("", prefix); err != nil {
    		return tempFile, err
    	}
    
    	if _, err = tmpfile.Write([]byte(content)); err != nil {
    		return tempFile, err
    	}
    
    	if err = tmpfile.Close(); err != nil {
    		return tempFile, err
    	}
    
    	tempFile = tmpfile.Name()
    	return tempFile, err
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 21.6K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

        )
        assertThat(webSocket.close(1000, null)).isFalse()
      }
    
      /**
       * There's no read timeout when reading the first byte of a new frame. But as soon as we start
       * reading a frame we enable the read timeout. In this test we have the server returning the first
       * byte of a frame but no more frames.
       */
      @Test
      fun readTimeoutAppliesWithinFrames() {
        webServer.dispatcher =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

      }
    
      public void testByteSource_size_ofSymlinkToRegularFile() throws IOException {
        try (FileSystem fs = Jimfs.newFileSystem(Configuration.unix())) {
          Path file = fs.getPath("file");
          Files.write(file, new byte[10]);
          Path link = fs.getPath("link");
          Files.createSymbolicLink(link, file);
    
          ByteSource source = MoreFiles.asByteSource(link);
    
          assertEquals(10L, (long) source.sizeIfKnown().get());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  6. istioctl/pkg/version/version.go

    					Info: istioVersion.BuildInfo{
    						Version: "MISSING CP ID",
    					},
    					Revision: "MISSING CP ID",
    				},
    			}, nil
    		}
    		cpID := xds.IstioControlPlaneInstance{}
    		err = json.Unmarshal([]byte(xdsResponse.ControlPlane.Identifier), &cpID)
    		if err != nil {
    			return nil, fmt.Errorf("could not parse CP Identifier: %w", err)
    		}
    		return &istioVersion.MeshInfo{
    			istioVersion.ServerInfo{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 29 21:11:35 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. docs/security/README.md

    (apart from the KMS-generated ones) is 256 bits long. The KMS-generated keys may be 256 bits but this depends on the KMS capabilities and configuration.
    
    The *Secure Channel* splits the object content into chunks of a fixed size of `65536` bytes. The last chunk may be smaller to avoid adding additional overhead and is treated specially to prevent truncation attacks. The nonce value is 96 bits long and generated randomly per object / multi-part part. The *Secure Channel* supports plaintexts...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Feb 12 00:51:25 UTC 2022
    - 13.8K bytes
    - Viewed (0)
  8. internal/event/target/postgresql.go

    			return err
    		}
    		key := eventData.S3.Bucket.Name + "/" + objectName
    
    		if eventData.EventName == event.ObjectRemovedDelete {
    			_, err = target.deleteStmt.Exec(key)
    		} else {
    			var data []byte
    			if data, err = json.Marshal(struct{ Records []event.Event }{[]event.Event{eventData}}); err != nil {
    				return err
    			}
    
    			_, err = target.updateStmt.Exec(key, data)
    		}
    		return err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. docs/uk/docs/index.md

    <div style="text-align: right; margin-right: 10%;">Brian Okken - <strong><a href="https://pythonbytes.fm/episodes/show/123/time-to-right-the-py-wrongs?time_in_sec=855" target="_blank">Python Bytes</a> podcast host</strong> <a href="https://twitter.com/brianokken/status/1112220079972728832" target="_blank"><small>(ref)</small></a></div>
    
    ---
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/TimeoutTest.java

                int soTimeout = ctx.getConfig().getSoTimeout();
                f.createNewFile();
                try {
                    try ( OutputStream os = f.getOutputStream() ) {
                        os.write(new byte[] {
                            1, 2, 3, 4, 5, 6, 7, 8
                        });
                    }
    
                    try ( InputStream is = f.getInputStream() ) {
                        for ( int i = 0; i < 8; i++ ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.4K bytes
    - Viewed (0)
Back to top