Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 103 for laddr (0.18 seconds)

  1. cmd/admin-handlers.go

    	anonAddr := func(addr string) string {
    		if anonParam != anonymizeStrict {
    			return addr
    		}
    		newAddr, found := hostAnonymizer[addr]
    		if found {
    			return newAddr
    		}
    
    		// If we reach here, it means that the given addr doesn't contain any of the hosts.
    		// Return it as is. Can happen for drive paths in non-distributed mode
    		return addr
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 99.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/config/PropertyConfigurationTest.java

        void testNetworkProperties() throws CIFSException {
            // Given
            Properties props = new Properties();
            props.setProperty("jcifs.netbios.wins", "192.168.1.1");
            props.setProperty("jcifs.netbios.baddr", "192.168.1.255");
            props.setProperty("jcifs.resolveOrder", "WINS,BCAST,DNS");
    
            // When
            PropertyConfiguration testConfig = new PropertyConfiguration(props);
    
            // Then
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  3. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                bind.decode_out(mockBuffer);
    
                // Then
                verify(mockBuffer, times(5)).dec_ndr_short(); // max xmit, max recv, addr len, result, final short
                verify(mockBuffer).dec_ndr_long(); // assoc group
                verify(mockBuffer).advance(10); // secondary addr (length 10)
                verify(mockBuffer, times(2)).align(4); // alignment calls
                verify(mockBuffer).dec_ndr_small(); // num results
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/netbios/NbtSocket.java

        }
    
        @Override
        public int getLocalPort() {
            return super.getLocalPort();
        }
    
        @Override
        public String toString() {
            return "NbtSocket[addr=" + address + ",port=" + super.getPort() + ",localport=" + super.getLocalPort() + "]";
        }
    
        private void connect() throws IOException {
            final byte[] buffer = new byte[BUFFER_SIZE];
            int type;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  5. cmd/metrics-v3-cache.go

    		m := collectLocalMetrics(types, collectMetricsOpts{
    			hosts: map[string]struct{}{
    				globalLocalNodeName: {},
    			},
    		})
    
    		for _, hm := range m.ByHost {
    			if hm.Mem != nil && len(hm.Mem.Info.Addr) > 0 {
    				v = hm.Mem.Info
    				break
    			}
    		}
    
    		return v, err
    	}
    
    	return cachevalue.NewFromFunc(1*time.Minute,
    		cachevalue.Opts{ReturnLastGood: true},
    		loadMemoryMetrics)
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/SmbResourceLocatorTest.java

                assertEquals("server/", root.getName());
            }
        }
    
        @Mock
        DfsReferralData dfs;
        @Mock
        Address addr;
    
        @Test
        @DisplayName("Mockito interaction – dependent objects are called appropriately")
        void testInteractionsWithStubbedDependencies() throws Exception {
            String url = "smb://server/share/";
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/smb1/SmbSession.java

        static NbtAddress[] dc_list = null;
        static long dc_list_expiration;
        static int dc_list_counter;
    
        private static NtlmChallenge interrogate(final NbtAddress addr) throws SmbException {
            final UniAddress dc = new UniAddress(addr);
            final SmbTransport trans = SmbTransport.getSmbTransport(dc, 0);
            if (USERNAME == null) {
                trans.connect();
                if (LogStream.level >= 3) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  8. src/main/java/jcifs/NetbiosAddress.java

     * a member of the group(a.k.a workgroup and domain) <code>BILLING-NY</code>. To
     * obtain an {@link java.net.InetAddress} for a host one might do:
     *
     * <pre>
     *
     * InetAddress addr = NbtAddress.getByName("jmorris2").getInetAddress();
     * </pre>
     *
     *  * From a UNIX platform with Samba installed you can perform similar
     * diagnostics using the <code>nmblookup</code> utility.
     *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

                    while (addresses.hasMoreElements()) {
                        InetAddress addr = addresses.nextElement();
    
                        // Estimate link speed (would need platform-specific code for actual speed)
                        int linkSpeed = ni.isVirtual() ? 100 : 1000; // Default 1Gbps
    
                        NetworkInterfaceInfo info = new NetworkInterfaceInfo(addr, linkSpeed);
                        if (info.isUsableForChannel()) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 20K bytes
    - Click Count (0)
  10. scan.go

    	for idx, field := range fields {
    		if field != nil {
    			values[idx] = field.NewValuePool.Get()
    		} else if len(fields) == 1 {
    			if reflectValue.CanAddr() {
    				values[idx] = reflectValue.Addr().Interface()
    			} else {
    				values[idx] = reflectValue.Interface()
    			}
    		}
    	}
    
    	db.RowsAffected++
    	db.AddError(rows.Scan(values...))
    	joinedNestedSchemaMap := make(map[string]interface{})
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 10.4K bytes
    - Click Count (0)
Back to Top