Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 4,335 for news (0.02 sec)

  1. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

            if (p.lastIndexOf('/') != p.length() - 1) {
                throw new SmbException(loc.getURL() + " directory must end with '/'");
            }
            if (unc.lastIndexOf('\\') != unc.length() - 1) {
                throw new SmbException(unc + " UNC must end with '\\'");
            }
    
            final SmbTreeHandleImpl th = getTreeHandle();
            this.response = new Trans2FindFirst2Response(th.getConfig());
    
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

            byte[] buffer = new byte[20];
            response.wordCount = 0;
            int bytesRead = response.readParameterWordsWireFormat(buffer, 0);
            assertEquals(0, bytesRead);
        }
    
        /**
         * Test of readBytesWireFormat method, of class SmbComQueryInformationResponse.
         */
        @Test
        public void testReadBytesWireFormat() {
            byte[] buffer = new byte[10];
            int bufferIndex = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  3. docs/smb3-features/02-persistent-handles-design.md

            CIFSContext context = new BaseContext(new PropertyConfiguration());
            PersistentHandleManager manager = new PersistentHandleManager(context);
            
            // Create persistent handle
            HandleGuid guid = manager.requestDurableHandle(
                "/test/file.txt",
                HandleType.PERSISTENT,
                0,
                null
            );
            
            byte[] fileId = new byte[16];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbFileTest.java

            // Create URL handler
            Handler urlHandler = new jcifs.smb.Handler(mockCifsContext);
            when(mockCifsContext.getUrlHandler()).thenReturn(urlHandler);
    
            // Use the URL handler to create the URL
            url = new URL(null, "smb://localhost/share/file.txt", urlHandler);
    
            smbFile = spy(new SmbFile(url, mockCifsContext));
    
            // Prevent network operations by default
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/AsynchronousGet.java

    import okhttp3.ResponseBody;
    
    public final class AsynchronousGet {
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("http://publicobject.com/helloworld.txt")
            .build();
    
        client.newCall(request).enqueue(new Callback() {
          @Override public void onFailure(Call call, IOException e) {
            e.printStackTrace();
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.9K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/ParseResponseWithMoshi.java

    import okhttp3.Response;
    
    public final class ParseResponseWithMoshi {
      private final OkHttpClient client = new OkHttpClient();
      private final Moshi moshi = new Moshi.Builder().build();
      private final JsonAdapter<Gist> gistJsonAdapter = moshi.adapter(Gist.class);
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://api.github.com/gists/c2a7c39532239ff261be")
            .build();
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/curl/CurlRequestTest.java

            CurlRequest request = new CurlRequest(Method.GET, url);
    
            assertEquals(Method.GET, request.method());
            assertEquals("UTF-8", request.encoding());
            assertEquals(1024 * 1024, request.threshold());
            assertNull(request.proxy());
            assertNull(request.body());
        }
    
        @Test
        public void testProxyMethod() {
            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

      }
    
      public void testMissingException() {
        List<Integer> emptyList = new ArrayList<>();
    
        IteratorTester<Integer> tester =
            new IteratorTester<Integer>(
                1, MODIFIABLE, emptyList, IteratorTester.KnownOrder.KNOWN_ORDER) {
              @Override
              protected Iterator<Integer> newTargetIterator() {
                return new Iterator<Integer>() {
                  @Override
                  public void remove() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

                            return new String(InputStreamUtil.getBytes(is), Constants.UTF_8);
                        } catch (IOException e) {
                            throw new IORuntimeException(e);
                        }
                    } else if (url.contains("plugin/repo2")) {
                        try (InputStream is = ResourceUtil.getResourceAsStream(url)) {
                            return new String(InputStreamUtil.getBytes(is), Constants.UTF_8);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/AbstractCacheTest.java

        AtomicReference<Object> valueRef = new AtomicReference<>();
        Cache<Object, Object> cache =
            new AbstractCache<Object, Object>() {
              @Override
              public @Nullable Object getIfPresent(Object key) {
                return valueRef.get();
              }
            };
    
        assertNull(cache.getIfPresent(new Object()));
    
        Object newValue = new Object();
        valueRef.set(newValue);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.3K bytes
    - Viewed (0)
Back to top