Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2221 - 2230 of 4,402 for Spring (0.04 sec)

  1. src/test/java/org/codelibs/core/io/ClassTraversalTest.java

        @Before
        public void setUp() throws Exception {
            count = 0;
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testForEachJarFile() throws Exception {
            final String classFilePath = TestCase.class.getName().replace('.', '/') + ".class";
            final URL classURL = ResourceUtil.getResource(classFilePath);
            final JarURLConnection con = (JarURLConnection) classURL.openConnection();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

         */
        public DcerpcPipeHandle(String url, final NtlmPasswordAuthentication auth)
                throws UnknownHostException, MalformedURLException, DcerpcException {
            binding = DcerpcHandle.parseBinding(url);
            url = "smb1://" + binding.server + "/IPC$/" + binding.endpoint.substring(6);
    
            String params = "", server, address;
            server = (String) binding.getOption("server");
            if (server != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/OsService.java

         * @return the operating system name (never null)
         */
        @Nonnull
        String name();
    
        /**
         * Returns the OS architecture as reported by the system property "os.arch".
         * The value is converted to lowercase for consistency.
         *
         * @return the operating system architecture (never null)
         */
        @Nonnull
        String arch();
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Feb 10 14:12:18 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/spnego/NegTokenInitTest.java

        private static final String SPNEGO_OID_STR = SpnegoConstants.SPNEGO_MECHANISM;
    
        // Helper to build a SPNEGO NegTokenInit as per NegTokenInit#toByteArray but parameterized for tests
        private static byte[] buildInitToken(ASN1ObjectIdentifier[] mechs, Integer flags, byte[] mechToken, byte[] mic, boolean micInTag4,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

            assertEquals(0, circuitBreaker.getSuccessCount(), "Initial success count should be 0");
        }
    
        @Test
        public void testSuccessfulOperation() throws CIFSException {
            String result = circuitBreaker.executeWithCircuitBreaker(() -> "success");
            assertEquals("success", result, "Operation should return correct result");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/SingletonImmutableMapMapInterfaceTest.java

    @GwtCompatible
    @NullUnmarked
    public class SingletonImmutableMapMapInterfaceTest
        extends AbstractImmutableMapMapInterfaceTest<String, Integer> {
      @Override
      protected Map<String, Integer> makePopulatedMap() {
        return ImmutableMap.of("one", 1);
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        return "minus one";
      }
    
      @Override
      protected Integer getValueNotInPopulatedMap() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. misc/cgo/gmp/fib.go

    import (
    	big "."
    	"runtime"
    )
    
    func fibber(c chan *big.Int, out chan string, n int64) {
    	// Keep the fibbers in dedicated operating system
    	// threads, so that this program tests coordination
    	// between pthreads and not just goroutines.
    	runtime.LockOSThread()
    
    	i := big.NewInt(n)
    	if n == 0 {
    		c <- i
    	}
    	for {
    		j := <-c
    		out <- j.String()
    		i.Add(i, j)
    		c <- i
    	}
    }
    
    func main() {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Apr 10 22:32:35 UTC 2023
    - 919 bytes
    - Viewed (0)
  8. cmd/metacache-entries_test.go

    	if !reflect.DeepEqual(want, got) {
    		t.Errorf("got unexpected result: %#v", got)
    	}
    }
    
    func Test_metaCacheEntry_isInDir(t *testing.T) {
    	tests := []struct {
    		testName string
    		entry    string
    		dir      string
    		sep      string
    		want     bool
    	}{
    		{
    			testName: "basic-file",
    			entry:    "src/file",
    			dir:      "src/",
    			sep:      slashSeparator,
    			want:     true,
    		},
    		{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Protocol.kt

       */
      HTTP_3("h3"),
      ;
    
      /**
       * Returns the string used to identify this protocol for ALPN, like "http/1.1", "spdy/3.1" or
       * "h2".
       *
       * See also [IANA tls-extensiontype-values][iana].
       *
       * [iana]: https://www.iana.org/assignments/tls-extensiontype-values
       */
      override fun toString(): String = protocol
    
      companion object {
        /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jun 23 18:58:57 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/DateFormatting.kt

        "EEE MMM d yyyy HH:mm:ss z",
      )
    
    private val BROWSER_COMPATIBLE_DATE_FORMATS =
      arrayOfNulls<DateFormat>(BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS.size)
    
    /** Returns the date for this string, or null if the value couldn't be parsed. */
    fun String.toHttpDateOrNull(): Date? {
      if (isEmpty()) return null
    
      val position = ParsePosition(0)
      var result = STANDARD_DATE_FORMAT.get().parse(this, position)
      if (position.index == length) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top