Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 4,328 for new1 (0.02 sec)

  1. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java

            byte[] buf = new byte[length];
            Arrays.fill(buf, (byte) 0xFF);
            return buf;
        }
    
        @Test
        @DisplayName("constructor initialises command and parameters correctly")
        void testConstructorInitialisesFields() throws Exception {
            int level = 42;
            Trans2QueryFSInformation cmd = new Trans2QueryFSInformation(level);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/DoublesTest.java

        testRotate(new double[] {1, 2}, -3, new double[] {2, 1});
        testRotate(new double[] {1, 2}, -1, new double[] {2, 1});
        testRotate(new double[] {1, 2}, -2, new double[] {1, 2});
        testRotate(new double[] {1, 2}, 0, new double[] {1, 2});
        testRotate(new double[] {1, 2}, 1, new double[] {2, 1});
        testRotate(new double[] {1, 2}, 2, new double[] {1, 2});
        testRotate(new double[] {1, 2}, 3, new double[] {2, 1});
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/PathValidator.java

            if (smbUrl == null || smbUrl.isEmpty()) {
                throw new SmbException("SMB URL cannot be null or empty");
            }
    
            // Check URL format
            if (!smbUrl.toLowerCase().startsWith("smb://")) {
                throw new SmbException("Invalid SMB URL format");
            }
    
            try {
                URL url = new URL(null, smbUrl, new jcifs.smb.Handler());
    
                // Validate host
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

            List<FileNotifyInformation> info = new ArrayList<>();
            NotifyResponse resp = mock(NotifyResponse.class);
            when(resp.isReceived()).thenReturn(true);
            when(resp.getErrorCode()).thenReturn(0);
            when(resp.getNotifyInformation()).thenReturn(info);
            setupSmb2(resp, new byte[16]);
            SmbWatchHandleImpl sut = new SmbWatchHandleImpl(handle, 0x1234, true);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/entity/QueryContext.java

                    highlightedQuerySet = new HashSet<>();
                    request.setAttribute(Constants.HIGHLIGHT_QUERIES, highlightedQuerySet);
                    fieldLogMap = (Map<String, List<String>>) request.getAttribute(Constants.FIELD_LOGS);
                    if (fieldLogMap == null) {
                        fieldLogMap = new HashMap<>();
                        request.setAttribute(Constants.FIELD_LOGS, fieldLogMap);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java

      int numThreads;
    
      private final Set<Thread> blockedThreads = new HashSet<>();
    
      @BeforeExperiment
      void setUp() throws Exception {
        if (state != State.NOT_DONE && (numListeners != 0 || numThreads != 0)) {
          throw new SkipThisScenarioException();
        }
      }
    
      // This exclusion doesn't exclude the TOMBSTONE objects we set. So 'done' NEW futures will look
      // larger than they are.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/TestLogHandler.java

     *
     * <pre>
     *   TestLogHandler handler;
     *
     *   protected void setUp() throws Exception {
     *     super.setUp();
     *     handler = new TestLogHandler();
     *     SomeClass.logger.addHandler(handler);
     *     addTearDown(new TearDown() {
     *       public void tearDown() throws Exception {
     *         SomeClass.logger.removeHandler(handler);
     *       }
     *     });
     *   }
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/msrpc/SamrAliasHandle.java

                throws IOException {
            this.handle = handle;
            final MsrpcSamrOpenAlias rpc = new MsrpcSamrOpenAlias(domainHandle, access, rid, this);
            handle.sendrecv(rpc);
            if (rpc.retval != 0) {
                throw new SmbException(rpc.retval, false);
            }
            this.opened = true;
        }
    
        @Override
        public synchronized void close() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/naming/InitialContextUtil.java

         * Creates and returns an initial context.
         *
         * @return the initial context
         */
        public static InitialContext create() {
            try {
                return new InitialContext();
            } catch (final NamingException ex) {
                throw new NamingRuntimeException(ex);
            }
        }
    
        /**
         * Creates and returns an initial context using the specified environment.
         *
         * @param env
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/http/NtlmHttpServletRequestTest.java

        void testHappyPath(@Mock HttpServletRequest mockRequest, @Mock Principal mockPrincipal) {
            when(mockPrincipal.getName()).thenReturn("user1");
            NtlmHttpServletRequest request = new NtlmHttpServletRequest(mockRequest, mockPrincipal);
            assertEquals("user1", request.getRemoteUser());
            assertSame(mockPrincipal, request.getUserPrincipal());
            assertEquals("NTLM", request.getAuthType());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top