Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1341 - 1350 of 4,402 for Spring (0.04 sec)

  1. src/main/java/org/codelibs/core/convert/ByteConversionUtil.java

         * @param pattern
         *            The pattern string
         * @return The converted {@literal byte}
         */
        public static byte toPrimitiveByte(final Object o, final String pattern) {
            if (o == null) {
                return 0;
            } else if (o instanceof Number) {
                return ((Number) o).byteValue();
            } else if (o instanceof String) {
                return toPrimitiveByte((String) o);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/Constants.java

     */
    public final class Constants {
        /**
         * The GET method.
         */
        public static final String GET_METHOD = "GET";
    
        /**
         * The HEAD method.
         */
        public static final String HEAD_METHOD = "HEAD";
    
        /**
         * The POST method.
         */
        public static final String POST_METHOD = "POST";
    
        /**
         * The status code for OK.
         */
        public static final int OK_STATUS = 0;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/io/SerializeUtilTest.java

            final String[] a = new String[] { "1", "2" };
            final String[] b = (String[]) SerializeUtil.serialize(a);
            assertEquals("1", b.length, a.length);
            assertEquals("2", "1", b[0]);
            assertEquals("3", "2", b[1]);
        }
    
        /**
         * @throws Exception
         */
        public void testObjectAndBinary() throws Exception {
            final String o = "hoge";
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

     * object). So it is important to not call {@link #dispatch} while holding any locks. This is why
     * {@link #enqueue} and {@link #dispatch} are 2 different methods. It is expected that the decision
     * to run a particular event is made during the state change, but the decision to actually invoke
     * the listeners can be delayed slightly so that locks can be dropped. Also, because {@link
     * #dispatch} is expected to be called concurrently, it is idempotent.
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

            @DisplayName("Should split DFS paths correctly")
            void testDfsPathSplit(String node, String expectedServer, String expectedShare, String expectedPath) {
                when(mockReferral.getTtl()).thenReturn(300);
                when(mockReferral.getRFlags()).thenReturn(0);
                when(mockReferral.getNode()).thenReturn(node);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactoryTest.java

            assertThat(args.length, is(1));
            assertThat(args[0].getRawClass(), is(sameClass(String.class)));
            assertThat(args[0].getArguments(), is(nullValue()));
        }
    
        /**
         * @author koichik
         */
        public interface Hoge {
    
            /** */
            public static Map<String, Set<Integer>[]> foo = null;
    
            /**
             * @param arg1
             * @param arg2
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  7. cmd/api-resources.go

    		if err != nil {
    			errCode = ErrIncorrectContinuationToken
    			return
    		}
    		token = string(decodedToken)
    	}
    	return
    }
    
    // Parse bucket url queries for ?uploads
    func getBucketMultipartResources(values url.Values) (prefix, keyMarker, uploadIDMarker, delimiter string, maxUploads int, encodingType string, errCode APIErrorCode) {
    	errCode = ErrNone
    
    	if values.Get("max-uploads") != "" {
    		var err error
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 07 18:25:26 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        for (Integer node : network.nodes()) {
          for (String inEdge : network.inEdges(node)) {
            EndpointPair<Integer> endpointPair = network.incidentNodes(inEdge);
            assertThat(endpointPair.source()).isEqualTo(endpointPair.adjacentNode(node));
            assertThat(endpointPair.target()).isEqualTo(node);
          }
    
          for (String outEdge : network.outEdges(node)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  9. src/archive/tar/strconv_test.go

    		}
    	}
    }
    
    func TestParsePAXRecord(t *testing.T) {
    	medName := strings.Repeat("CD", 50)
    	longName := strings.Repeat("AB", 100)
    
    	vectors := []struct {
    		in      string
    		wantRes string
    		wantKey string
    		wantVal string
    		ok      bool
    	}{
    		{"6 k=v\n\n", "\n", "k", "v", true},
    		{"19 path=/etc/hosts\n", "", "path", "/etc/hosts", true},
    		{"210 path=" + longName + "\nabc", "abc", "path", longName, true},
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 15K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

            String toString1 = exception1.toString();
            assertNotNull(toString1);
            assertTrue(toString1.contains("CrawlerSystemException"));
            assertTrue(toString1.contains("Test message"));
    
            CrawlerSystemException exception2 = new CrawlerSystemException((String) null);
            String toString2 = exception2.toString();
            assertNotNull(toString2);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
Back to top