Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 856 for isInvalid (0.32 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java

            when(mockNdrBuffer.dec_ndr_long()).thenReturn(1, 2);
            when(mockDeferredNdrBuffer.dec_ndr_long()).thenReturn(-1, 0, 5); // Invalid _name_buffers
    
            assertThrows(NdrException.class, () -> domainInfo.decode(mockNdrBuffer));
        }
    
        // Test for LsarDnsDomainInfo
        @Test
        void testLsarDnsDomainInfoEncode() throws NdrException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 60.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/PacMac.java

                } else {
                    if ((type != PacSignature.HMAC_SHA1_96_AES128) && (type != PacSignature.HMAC_SHA1_96_AES256)) {
                        throw new PACDecodingException("Invalid MAC algorithm");
                    }
                    KerberosKey key = type == PacSignature.HMAC_SHA1_96_AES128 ? keys.get(PacSignature.ETYPE_AES128_CTS_HMAC_SHA1_96)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java

            srvsvc.ShareInfoCtr502 ctr502 = new srvsvc.ShareInfoCtr502();
    
            when(mockNdrBuffer.dec_ndr_long()).thenReturn(10, 1); // count, array pointer
            when(mockDeferredBuffer.dec_ndr_long()).thenReturn(0x10000); // invalid array size
    
            assertThrows(NdrException.class, () -> ctr502.decode(mockNdrBuffer));
        }
    
        @Test
        void testShareEnumAllConstructor() {
            String servername = "\\\\SERVER";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  4. scan.go

    }
    
    func scanIntoMap(mapValue map[string]interface{}, values []interface{}, columns []string) {
    	for idx, column := range columns {
    		if reflectValue := reflect.Indirect(reflect.Indirect(reflect.ValueOf(values[idx]))); reflectValue.IsValid() {
    			mapValue[column] = reflectValue.Interface()
    			if valuer, ok := mapValue[column].(driver.Valuer); ok {
    				mapValue[column], _ = valuer.Value()
    			} else if b, ok := mapValue[column].(sql.RawBytes); ok {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. cmd/net_test.go

    	testCases := []struct {
    		serverAddr  string
    		expectedErr error
    	}{
    		{":54321", nil},
    		{"localhost:54321", nil},
    		{"0.0.0.0:9000", nil},
    		{":0", nil},
    		{"localhost", nil},
    		{"", fmt.Errorf("invalid argument")},
    		{"example.org:54321", fmt.Errorf("host in server address should be this server")},
    		{":-10", fmt.Errorf("port must be between 0 to 65535")},
    	}
    
    	for _, testCase := range testCases {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. ci/devinfra/docker/windows/Dockerfile

    # This should only be necessary when running on A GCP VM, on a default
    # network, which has the MTU of 1460,
    # due to 40 bytes being reserved for GCP's internal usage.
    # Note, an invalid sub-interface name will lead to an obscure error, e.g.:
    # "The filename, directory name, or volume label syntax is incorrect."
    # In such cases, check that the name of the sub-interface is valid:
    # `netsh interface show interface`
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Jan 17 16:35:57 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

     *
     * This class has a modern API. It avoids punitive checked exceptions: [toHttpUrl] throws
     * [IllegalArgumentException] on invalid input or [toHttpUrlOrNull] returns null if the input is an
     * invalid URL. You can even be explicit about whether each component has been encoded already.
     *
     * [idna]: http://www.unicode.org/reports/tr46/#ToASCII
     */
    class HttpUrl private constructor(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  8. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

          for (Element element : document.select("a[href]")) {
            String href = element.attr("href");
            HttpUrl link = response.request().url().resolve(href);
            if (link == null) continue; // URL is either invalid or its scheme isn't http/https.
            HttpUrl linkWithoutFragment = link.newBuilder().fragment(null).build();
            if (!queue.offer(linkWithoutFragment)) break; // Queue is full.
          }
        }
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jul 23 00:58:06 UTC 2025
    - 5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java

        }
    
        public void test_stackTrace() {
            // Test that stack trace is properly maintained
            String message = "Stack trace test";
            Exception cause = new IllegalArgumentException("Invalid argument");
            ScriptEngineException exception = new ScriptEngineException(message, cause);
    
            // Verify stack trace exists
            StackTraceElement[] stackTrace = exception.getStackTrace();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/NtlmContext.java

                    state++;
                    break;
                } catch (final Exception e) {
                    throw new SmbException(e.getMessage(), e);
                }
            default:
                throw new SmbException("Invalid state");
            }
            return token;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top