Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for set_type (0.22 sec)

  1. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

            toolchain.setType("TYPE");
            toolchain.setProvides(props);
            PersistedToolchains userResult = new PersistedToolchains();
            userResult.setToolchains(Collections.singletonList(toolchain));
    
            props = new Properties();
            props.put("key", "global_value");
            toolchain = new ToolchainModel();
            toolchain.setType("TYPE");
            toolchain.setProvides(props);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/MultipartBodyTest.kt

          |... contents of file2.gif ...
          |--BbC04y--
          |
          |--AaB03x--
          |
          """.trimMargin().replace("\n", "\r\n")
        val body =
          MultipartBody.Builder("AaB03x")
            .setType(MultipartBody.FORM)
            .addFormDataPart("submit-name", "Larry")
            .addFormDataPart(
              "files",
              null,
              MultipartBody.Builder("BbC04y")
                .addPart(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

         */
        public void testSet() throws Exception {
            final Method m1 = SetType.class.getMethod("setOfString");
            final Type t1 = m1.getGenericReturnType();
            assertThat(GenericsUtil.isTypeOf(t1, Set.class), is(true));
            assertThat(GenericsUtil.getElementTypeOfSet(t1), is(sameClass(String.class)));
    
            final Method m2 = SetType.class.getMethod("setOfClass");
            final Type t2 = m2.getGenericReturnType();
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        ImmutableList<Parameter> parameters = delegate.getParameters();
        assertEquals(2, parameters.size());
        assertEquals(String.class, parameters.get(0).getType().getType());
        assertTrue(parameters.get(0).isAnnotationPresent(NotBlank.class));
        assertEquals(int.class, parameters.get(1).getType().getType());
        assertFalse(parameters.get(1).isAnnotationPresent(NotBlank.class));
        new EqualsTester()
            .addEqualityGroup(parameters.get(0))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/reflect/InvokableTest.java

        ImmutableList<Parameter> parameters = delegate.getParameters();
        assertEquals(2, parameters.size());
        assertEquals(String.class, parameters.get(0).getType().getType());
        assertTrue(parameters.get(0).isAnnotationPresent(NotBlank.class));
        assertEquals(int.class, parameters.get(1).getType().getType());
        assertFalse(parameters.get(1).isAnnotationPresent(NotBlank.class));
        new EqualsTester()
            .addEqualityGroup(parameters.get(0))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  6. cmd/endpoint.go

    	var setupType SetupType
    
    	if isEmptyLayout(poolsLayout...) {
    		return nil, setupType, config.ErrInvalidErasureEndpoints(nil).Msg("invalid number of endpoints")
    	}
    
    	// Check whether serverAddr is valid for this host.
    	if err := CheckLocalServerAddr(serverAddr); err != nil {
    		return nil, setupType, err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/net/MediaType.java

          createConstantUtf8(TEXT_TYPE, "cache-manifest");
      public static final MediaType CSS_UTF_8 = createConstantUtf8(TEXT_TYPE, "css");
      public static final MediaType CSV_UTF_8 = createConstantUtf8(TEXT_TYPE, "csv");
      public static final MediaType HTML_UTF_8 = createConstantUtf8(TEXT_TYPE, "html");
      public static final MediaType I_CALENDAR_UTF_8 = createConstantUtf8(TEXT_TYPE, "calendar");
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 26 19:15:09 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/FileLocationTest.java

                SmbResourceLocator fl = p.getLocator();
                assertNull(fl.getServer());
                assertNull(fl.getShare());
                assertEquals(SmbConstants.TYPE_WORKGROUP, fl.getType());
                assertEquals("\\", fl.getUNCPath());
                assertEquals("smb://", fl.getCanonicalURL());
                assertEquals("/", fl.getURLPath());
            }
        }
    
    
        @Test
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 13:16:07 UTC 2020
    - 23K bytes
    - Viewed (0)
  9. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                    if (lastItem.isNull()) {
                        if (i == size() - 1 || get(i + 1).getType() == STRING_ITEM) {
                            remove(i);
                        } else if (get(i + 1).getType() == LIST_ITEM) {
                            Item item = ((ListItem) get(i + 1)).get(0);
                            if (item.getType() == COMBINATION_ITEM || item.getType() == STRING_ITEM) {
                                remove(i);
                            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 26K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SID.java

            return new SID(this,
                        SID_TYPE_DOMAIN,
                        this.domainName,
                        null,
                        getType() != SID_TYPE_DOMAIN);
        }
        public int getRid() {
            if (getType() == SID_TYPE_DOMAIN)
                throw new IllegalArgumentException("This SID is a domain sid");
            return sub_authority[sub_authority_count - 1];
        }
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 26.6K bytes
    - Viewed (0)
Back to top