Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1501 - 1510 of 5,397 for returns (0.05 sec)

  1. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

              // So just refuse to generate.
              return null;
            }
            args.add(argValue);
          }
          return invokeGeneratorMethod(generate, args.toArray());
        }
        return defaultGenerate(rawType);
      }
    
      private <T> @Nullable T defaultGenerate(Class<T> rawType) {
        if (rawType.isInterface()) {
          // always create a new proxy
          return newProxy(rawType);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

        private lsarpc() {
            // Utility class
        }
    
        /**
         * Returns the syntax identifier for LSA RPC.
         *
         * @return the syntax identifier string
         */
        /**
         * Returns the RPC syntax identifier for LSA RPC interface.
         *
         * @return the RPC syntax string
         */
        public static String getSyntax() {
            return "12345778-1234-abcd-ef00-0123456789ab:0.0";
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 44.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java

                    }
                }
            }
        }
    
        /**
         * Returns a {@link File} representing the base directory.
         *
         * @param rootDir
         *            the root directory
         * @param baseDirectory
         *            the base directory
         * @return a {@link File} representing the base directory
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/curl/CurlRequestTest.java

            CurlRequest result = request.body(stream);
    
            assertSame(request, result); // Fluent API
            assertNull(request.body()); // body() returns String body, not stream
        }
    
        @Test
        public void testBodyStringAfterStreamThrowsException() {
            CurlRequest request = new CurlRequest(Method.POST, "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)
  5. okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt

        assertThat(listener.recordedEventTypes()).isEqualTo(expectedEvents)
    
        // Confirm that the connection pool was not corrupted by making another call.
        makeSimpleCall()
      }
    
      /**
       * If the server returns a full response, it doesn't really matter if the HTTP/2 stream is reset.
       * Attempts to write the request body fails fast.
       */
      @Test
      fun serverTruncatesRequestHttp2OnDuplexRequest() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

        void setUp() {
            // MockitoExtension handles mock initialization
            // Type1Message.getDefaultWorkstation() is static, so we can't easily mock it without PowerMock.
            // We will proceed assuming it returns a predictable value or handle it as is.
        }
    
        @Test
        void testConstructor_withSigning() {
            // Test constructor when signing is enabled
            NtlmContext context = new NtlmContext(mockAuth, true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            }
        }
    
        /**
         * @return the response
         */
        @Override
        public ServerMessageBlock getResponse() {
            return this.response;
        }
    
        /**
         * Returns a message block that ignores disconnection
         * @return null
         */
        public CommonServerMessageBlock ignoreDisconnect() {
            return this;
        }
    
        /**
         * @param response
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v1.go

    func (ei ErasureInfo) Equal(nei ErasureInfo) bool {
    	if ei.Algorithm != nei.Algorithm {
    		return false
    	}
    	if ei.DataBlocks != nei.DataBlocks {
    		return false
    	}
    	if ei.ParityBlocks != nei.ParityBlocks {
    		return false
    	}
    	if ei.BlockSize != nei.BlockSize {
    		return false
    	}
    	if len(ei.Distribution) != len(nei.Distribution) {
    		return false
    	}
    	for i, ecindex := range ei.Distribution {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

        }
    
        @Override
        public SampleElements<E> samples() {
          return delegate.samples();
        }
    
        @Override
        public E[] createArray(int length) {
          return delegate.createArray(length);
        }
    
        @Override
        public Iterable<E> order(List<E> insertionOrder) {
          return delegate.order(insertionOrder);
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java

            assertEquals(0x1, buffer[12]);
        }
    
        @Test
        @DisplayName("Test size method consistency")
        void testSizeMethodConsistency() {
            // Test that size() method returns consistent value with encode()
            String pipeName = "ConsistencyTest";
    
            // Test without timeout
            FsctlPipeWaitRequest request1 = new FsctlPipeWaitRequest(pipeName);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
Back to top