- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 331 for tcap (0.04 sec)
-
cmd/bootstrap-peer-server_gen.go
return } case "CmdLines": var zb0002 uint32 zb0002, err = dc.ReadArrayHeader() if err != nil { err = msgp.WrapError(err, "CmdLines") return } if cap(z.CmdLines) >= int(zb0002) { z.CmdLines = (z.CmdLines)[:zb0002] } else { z.CmdLines = make([]string, zb0002) } for za0001 := range z.CmdLines { z.CmdLines[za0001], err = dc.ReadString()
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 6.9K bytes - Viewed (0) -
samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/TunnelingUnixSocket.java
import java.net.SocketAddress; import jnr.unixsocket.UnixSocket; import jnr.unixsocket.UnixSocketAddress; import jnr.unixsocket.UnixSocketChannel; /** * Subtype UNIX socket for a higher-fidelity impersonation of TCP sockets. This is named "tunneling" * because it assumes the ultimate destination has a hostname and port. */ final class TunnelingUnixSocket extends UnixSocket { private final File path;
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Feb 12 16:33:52 UTC 2019 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java
import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import jcifs.internal.smb2.rdma.tcp.TcpMemoryRegion; /** * Unit tests for RDMA buffer manager */ public class RdmaBufferManagerTest { @Mock private RdmaProvider mockProvider; private RdmaBufferManager bufferManager;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.1K bytes - Viewed (0) -
src/builtin/builtin.go
// capacity" section for details. func len(v Type) int // The cap built-in function returns the capacity of v, according to its type: // // - Array: the number of elements in v (same as len(v)). // - Pointer to array: the number of elements in *v (same as len(v)). // - Slice: the maximum length the slice can reach when resliced; // if v is nil, cap(v) is zero. // - Channel: the channel buffer capacity, in units of elements;
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Mon Dec 30 23:59:23 UTC 2024 - 12.8K bytes - Viewed (0) -
scan.go
update = false if isArrayKind { db.Statement.ReflectValue.Set(reflect.Zero(reflectValue.Type())) } else { // if the slice cap is externally initialized, the externally initialized slice is directly used here if reflectValue.Cap() == 0 { db.Statement.ReflectValue.Set(reflect.MakeSlice(reflectValue.Type(), 0, 20)) } else { reflectValue.SetLen(0)Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 10.4K bytes - Viewed (0) -
tests/lru_test.go
t.Fatalf("should be empty") } if ok { t.Fatalf("should be false") } } func TestLRURemoveOldest(t *testing.T) { lc := lru.NewLRU[string, string](2, nil, 0) if lc.Cap() != 2 { t.Fatalf("expect cap is 2") } k, v, ok := lc.RemoveOldest() if k != "" { t.Fatalf("should be empty") } if v != "" { t.Fatalf("should be empty") } if ok {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Sep 08 09:19:22 UTC 2025 - 10.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SpnegoContextTest.java
verify(this.mechContext, times(1)).getFlags(); ArgumentCaptor<byte[]> cap = ArgumentCaptor.forClass(byte[].class); verify(this.mechContext, times(1)).initSecContext(cap.capture(), eq(0), eq(0)); assertEquals(0, cap.getValue().length, "Optimistic token must be zero-length"); } @ParameterizedTest @ValueSource(bytes = { 0x00, 0x7F, (byte) 0xFF })
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportInternal.java
/** * Checks if the transport supports the specified capability. * * @param cap the capability flag to check * @return whether the transport has the given capability * @throws SmbException if an error occurs checking capabilities */ boolean hasCapability(int cap) throws SmbException; /** * Checks if the transport has been disconnected. *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
internal/http/check_port_linux.go
} }) return nil }, } ctx, cancel := context.WithTimeout(context.Background(), time.Second) defer cancel() l, err := lc.Listen(ctx, "tcp", net.JoinHostPort(host, port)) if err != nil { return err } // As we are able to listen on this network, the port is not in use. // Close the listener and continue check other networks. return l.Close()
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed May 03 21:12:25 UTC 2023 - 1.9K bytes - Viewed (0) -
cmd/xl-storage-format-v2_gen.go
return } case "EcDist": var zb0003 uint32 zb0003, err = dc.ReadArrayHeader() if err != nil { err = msgp.WrapError(err, "ErasureDist") return } if cap(z.ErasureDist) >= int(zb0003) { z.ErasureDist = (z.ErasureDist)[:zb0003] } else { z.ErasureDist = make([]uint8, zb0003) } for za0003 := range z.ErasureDist {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 55.8K bytes - Viewed (0)