Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1371 - 1380 of 4,648 for new1 (0.19 sec)

  1. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

            if (buf.length < max_recv) {
                throw new IllegalArgumentException("buffer too small");
            }
    
            if (isStart && !isDirect) { // start of new frag, do trans
                off = in.read(buf, 0, 1024);
            } else {
                off = in.readDirect(buf, 0, buf.length);
            }
    
            if (buf[0] != 5 && buf[1] != 0) {
                throw new IOException("Unexpected DCERPC PDU header");
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java

        void writeSetupWireFormat_returnsZero() {
            NtTransQuerySecurityDesc cmd = new NtTransQuerySecurityDesc(0, 0);
            byte[] dst = new byte[4];
            assertEquals(0, cmd.writeSetupWireFormat(dst, 0));
        }
    
        @Test
        void readMethodsReturnZero() {
            NtTransQuerySecurityDesc cmd = new NtTransQuerySecurityDesc(0, 0);
            byte[] buf = new byte[10];
            assertEquals(0, cmd.readSetupWireFormat(buf, 0, buf.length));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiTokenizerFactory.java

                throw new IllegalArgumentException("Found duplicate term [" + values[0] + "] in user dictionary.");
            }
            return rule;
        }
    
        public static UserDictionary getUserDictionary(Environment env, Settings settings) {
            if (settings.get(USER_DICT_PATH_OPTION) != null && settings.get(USER_DICT_RULES_OPTION) != null) {
                throw new IllegalArgumentException(
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

                }
            }
    
            private static final Lookup EMPTY_LOOKUP = new Lookup() {
                @Override
                public <T> T lookup(Class<T> type) {
                    throw new LookupException("empty lookup");
                }
    
                @Override
                public <T> T lookup(Class<T> type, String name) {
                    throw new LookupException("empty lookup");
                }
    
                @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/PostString.java

      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        String postBody = ""
            + "Releases\n"
            + "--------\n"
            + "\n"
            + " * _1.0_ May 6, 2013\n"
            + " * _1.1_ June 15, 2013\n"
            + " * _1.2_ August 11, 2013\n";
    
        Request request = new Request.Builder()
            .url("https://api.github.com/markdown/raw")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 25 18:02:55 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/UndirectedGraphConnections.java

        switch (incidentEdgeOrder.type()) {
          case UNORDERED:
            return new UndirectedGraphConnections<>(
                new HashMap<N, V>(INNER_CAPACITY, INNER_LOAD_FACTOR));
          case STABLE:
            return new UndirectedGraphConnections<>(
                new LinkedHashMap<N, V>(INNER_CAPACITY, INNER_LOAD_FACTOR));
          default:
            throw new AssertionError(incidentEdgeOrder.type());
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessActionAdjustmentProviderTest.java

        public void test_write_noConfig() throws Exception {
            final FessConfig fessConfig = createFessConfigWithResponseHeaders("");
            FessActionAdjustmentProvider provider = new FessActionAdjustmentProvider(fessConfig);
            final Map<String, String> headerMap = new HashMap<>();
            provider.adjustActionResponseHeaders("text/plain", (k, v) -> headerMap.put(k, v));
    
            assertEquals(0, headerMap.size());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue May 06 09:19:22 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

                throws UnknownHostException, MalformedURLException, DcerpcException {
            if (url.startsWith("ncacn_np:")) {
                return new DcerpcPipeHandle(url, auth);
            }
            throw new DcerpcException("DCERPC transport not supported: " + url);
        }
    
        /**
         * Binds this handle to the remote DCERPC endpoint
         * @throws DcerpcException if the bind operation fails
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

            }
    
            @Test
            @DisplayName("Should create new instance with same config")
            void testMultipleInstancesWithSameConfig() throws SMBProtocolDecodingException {
                Smb2WriteResponse response1 = new Smb2WriteResponse(mockConfig);
                Smb2WriteResponse response2 = new Smb2WriteResponse(mockConfig);
    
                byte[] buffer1 = createValidWriteResponse(100, 50);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java

            final long original = 0x1122334455667788L;
            NdrHyper hyper = new NdrHyper(original);
            // Create buffer with extra space for alignment
            NdrBuffer buf = new NdrBuffer(new byte[16], 0);
            hyper.encode(buf);
            // Reset buffer position for decoding
            buf.reset();
            NdrHyper decoded = new NdrHyper(0);
            decoded.decode(buf);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top