Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1861 - 1870 of 3,689 for trying (0.32 sec)

  1. src/main/java/org/codelibs/core/net/MimeTypeUtil.java

         * @param path
         *            The path. Must not be {@literal null} or an empty string.
         * @return The content type.
         */
        public static String guessContentType(final String path) {
            assertArgumentNotEmpty("path", path);
    
            final InputStream is = ResourceUtil.getResourceAsStream(path);
            try {
                final String mimetype = URLConnection.guessContentTypeFromStream(is);
                if (mimetype != null) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/java/okhttp3/CallJavaTest.java

        Request request = new Request.Builder()
          .url(HttpUrl.get("https://square.com/"))
          .tag(Integer.class, 5)
          .tag(String.class, "hello")
          .build();
        Call call = client.newCall(request);
    
        assertEquals(5, call.tag(Integer.class));
        assertEquals("hello", call.tag(String.class));
        assertEquals(null, call.tag(Boolean.class));
        assertEquals(null, call.tag(Object.class));
      }
    
      @Test
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Oct 26 14:54:46 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. clause/set.go

    	clause.Expression = Set(copiedAssignments)
    }
    
    // Assignments implements Assigner for Set.
    func (set Set) Assignments() []Assignment { return []Assignment(set) }
    
    func Assignments(values map[string]interface{}) Set {
    	keys := make([]string, 0, len(values))
    	for key := range values {
    		keys = append(keys, key)
    	}
    	sort.Strings(keys)
    
    	assignments := make([]Assignment, len(keys))
    	for idx, key := range keys {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Sep 09 01:34:33 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/io/ReaderUtil.java

         * @return the text read from the reader
         */
        public static String readText(final Reader reader) {
            assertArgumentNotNull("reader", reader);
    
            final StringBuilder buf = new StringBuilder(BUF_SIZE);
            CopyUtil.copy(reader, buf);
            return new String(buf);
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java

        /**
         * Server type filter for domain enumeration
         */
        public static final int SV_TYPE_DOMAIN_ENUM = 0x80000000;
    
        static final String[] DESCR = { "WrLehDO\u0000B16BBDz\u0000", "WrLehDz\u0000B16BBDz\u0000", };
    
        String domain, lastName = null;
        int serverTypes;
    
        /**
         * Constructs a NetServerEnum2 request
         * @param config
         *            the configuration to use
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConfigurationConverter.java

        private static final ConcurrentMap<String, Object> EXPRESSION_CACHE = new ConcurrentHashMap<>();
    
        protected Object fromExpression(
                final PlexusConfiguration configuration, final ExpressionEvaluator evaluator, final Class<?> type)
                throws ComponentConfigurationException {
            String value = configuration.getValue();
            try {
                Object result = null;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 17 07:40:49 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleStarter.java

                reactorContext = new ReactorContext(result, oldContextClassLoader, reactorBuildStatus);
    
                String builderId = session.getRequest().getBuilderId();
                Builder builder = builders.get(builderId);
                if (builder == null) {
                    throw new BuilderNotFoundException(
                            String.format("The builder requested using id = %s cannot be" + " found", builderId));
                }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelPathTranslator.java

                    resource.setDirectory(alignToBaseDirectory(resource.getDirectory(), basedir));
                }
    
                if (build.getFilters() != null) {
                    List<String> filters = new ArrayList<>(build.getFilters().size());
                    for (String filter : build.getFilters()) {
                        filters.add(alignToBaseDirectory(filter, basedir));
                    }
                    build.setFilters(filters);
                }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenEncCling.java

         * circumstances.
         */
        public static void main(String[] args) throws IOException {
            int exitCode = new MavenEncCling().run(args, null, null, null, false);
            System.exit(exitCode);
        }
    
        /**
         * ClassWorld Launcher "enhanced" entry point: returning exitCode and accepts Class World.
         */
        public static int main(String[] args, ClassWorld world) throws IOException {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenShellCling.java

         * circumstances.
         */
        public static void main(String[] args) throws IOException {
            int exitCode = new MavenShellCling().run(args, null, null, null, false);
            System.exit(exitCode);
        }
    
        /**
         * ClassWorld Launcher "enhanced" entry point: returning exitCode and accepts Class World.
         */
        public static int main(String[] args, ClassWorld world) throws IOException {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top