Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 200 for 5004 (0.03 seconds)

  1. src/main/java/jcifs/spnego/NegTokenTarg.java

    /* jcifs smb client library in Java
     * Copyright (C) 2004  "Michael B. Allen" <jcifs at samba dot org>
     *                   "Eric Glass" <jcifs at samba dot org>
     *
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

          future.addListener(listenerLatch::countDown, exec);
        }
    
        assertSame(Boolean.TRUE, future.get());
        // Wait for the listener latch to complete.
        listenerLatch.await(500, MILLISECONDS);
    
        exec.shutdown();
        exec.awaitTermination(500, MILLISECONDS);
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

                /*
                 * This logic (using filesystem, against wanted independence from the user environment) exists only for the
                 * sake of backward-compat with 2.x (MNG-5000). In general, it is wrong to
                 * base URL inheritance on the module directory names as this information is unavailable for POMs in the
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  4. src/archive/tar/reader_test.go

    			Name:     "small.txt",
    			Mode:     0640,
    			Uid:      73025,
    			Gid:      5000,
    			Size:     5,
    			ModTime:  time.Unix(1244428340, 0),
    			Typeflag: '0',
    			Uname:    "dsymonds",
    			Gname:    "eng",
    			Format:   FormatGNU,
    		}, {
    			Name:     "small2.txt",
    			Mode:     0640,
    			Uid:      73025,
    			Gid:      5000,
    			Size:     11,
    			ModTime:  time.Unix(1244436044, 0),
    			Typeflag: '0',
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Dec 15 16:34:13 GMT 2025
    - 47.5K bytes
    - Click Count (0)
  5. src/archive/tar/writer_test.go

    		file: "testdata/writer.tar",
    		tests: []testFnc{
    			testHeader{Header{
    				Typeflag: TypeReg,
    				Name:     "small.txt",
    				Size:     5,
    				Mode:     0640,
    				Uid:      73025,
    				Gid:      5000,
    				Uname:    "dsymonds",
    				Gname:    "eng",
    				ModTime:  time.Unix(1246508266, 0),
    			}, nil},
    			testWrite{"Kilts", 5, nil},
    
    			testHeader{Header{
    				Typeflag: TypeReg,
    				Name:     "small2.txt",
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Dec 15 16:34:13 GMT 2025
    - 40.2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

                Smb2Lock[] multipleLocks = new Smb2Lock[] { new Smb2Lock(0L, 100L, Smb2Lock.SMB2_LOCKFLAG_EXCLUSIVE_LOCK),
                        new Smb2Lock(200L, 300L, Smb2Lock.SMB2_LOCKFLAG_SHARED_LOCK), new Smb2Lock(500L, 100L, Smb2Lock.SMB2_LOCKFLAG_UNLOCK) };
                assertDoesNotThrow(() -> new Smb2LockRequest(mockConfig, testFileId, multipleLocks));
            }
    
            @Test
            @DisplayName("Should accept null locks array")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/curl/CurlRequestTest.java

        public void testOnConnectMethod() {
            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
    
            CurlRequest result = request.onConnect((req, conn) -> {
                conn.setConnectTimeout(5000);
            });
    
            assertSame(request, result); // Fluent API
        }
    
        @Test
        public void testParamMethod() {
            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
    
    Created: Sat Dec 20 09:13:53 GMT 2025
    - Last Modified: Mon Nov 24 03:10:07 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/util/ServerResponseValidatorTest.java

            validator.validatePath(""); // Empty should be allowed
        }
    
        @Test
        public void testPathTooLong() throws Exception {
            String longPath = "\\share" + "\\folder".repeat(5000);
            assertThrows(SmbException.class, () -> {
                validator.validatePath(longPath);
            });
        }
    
        @Test
        public void testPathWithTraversal() throws Exception {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            file.createNewFile();
            assertTrue(file.exists(), "File should exist after creation");
    
            // Ensure proper cleanup before delete
            file.close();
            Thread.sleep(500); // Give more time for handle release
            System.gc(); // Force garbage collection
            Thread.sleep(200);
    
            // Delete using a completely new context to avoid handle issues
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 56K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

                SMBUtil.writeInt4(500, buffer, 8);
                SMBUtil.writeInt4(0, buffer, 12);
                SMBUtil.writeInt4(0, buffer, 16);
    
                int bytesRead = response.readBytesWireFormat(buffer, 0);
    
                assertEquals(16, bytesRead);
                assertEquals(1000, response.getCount());
                assertEquals(500, response.getRemaining());
            }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.9K bytes
    - Click Count (0)
Back to Top