Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 200 for getErr (0.14 sec)

  1. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/UrlSettingsSource.java

        /**
         * Gets the settings URL of this model source.
         *
         * @return The underlying settings URL, never {@code null}.
         * @deprecated instead use {@link #getUrl()}
         */
        @Deprecated
        public URL getSettingsUrl() {
            return getUrl();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. internal/ringbuffer/ring_buffer.go

    	if len(p) == 0 {
    		return 0, r.setErr(nil, false)
    	}
    	r.mu.Lock()
    	defer r.mu.Unlock()
    	if err := r.err; err != nil {
    		if err == io.EOF {
    			err = ErrWriteOnClosed
    		}
    		return 0, err
    	}
    	wrote := 0
    	for len(p) > 0 {
    		n, err = r.write(p)
    		wrote += n
    		if !r.block || err == nil {
    			break
    		}
    		err = r.setErr(err, true)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java

                assertEquals("application/octet-stream", responseData.getMimeType());
                assertNull(responseData.getResponseBody());
                assertNull(responseData.getMetaDataMap().get("label"));
            }
            try (final ResponseData responseData = storageClient.doHead("storage://fess/dir3/file4.txt")) {
                assertEquals("storage://fess/dir3/file4.txt", responseData.getUrl());
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImpl.java

            final String url = urlQueue.getUrl();
            if (StringUtil.isBlank(url)) {
                if (logger.isDebugEnabled()) {
                    logger.debug("URL is a blank: {}", url);
                }
                return false;
            }
    
            // check it in queue
            for (final UrlQueue<Long> urlInQueue : urlQueueList) {
                if (url.equals(urlInQueue.getUrl())) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

            buf.append("url:").append(getUrl(keyObj));
            buf.append('\t');
            buf.append("time:").append(FessFunctions.formatDate(new Date(time)));
            return buf;
        }
    
        protected String getUrl(final Object keyObj) {
            if (keyObj instanceof final UrlQueue<?> urlQueue) {
                return escapeValue(urlQueue.getUrl());
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

        }
    
        private void handshake() throws IOException {
            if (handshakeComplete) return;
            doHandshake();
            handshakeComplete = true;
        }
    
        public URL getURL() {
            return connection.getURL();
        }
    
        public int getContentLength() {
            try {
                handshake();
            } catch (IOException ex) { }
            return connection.getContentLength();
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 20.4K bytes
    - Viewed (0)
  7. native-image-tests/src/main/kotlin/okhttp3/DotListener.kt

        originalSystemErr = System.err
    
        System.setOut(object : PrintStream(OutputStream.nullOutputStream()) {})
        System.setErr(object : PrintStream(OutputStream.nullOutputStream()) {})
      }
    
      fun uninstall() {
        originalSystemOut.let {
          System.setOut(it)
        }
        originalSystemErr.let {
          System.setErr(it)
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. internal/config/identity/openid/jwt_test.go

    		u, err := url.Parse(testCase.reqURL)
    		if err != nil {
    			t.Fatal(err)
    		}
    		d, err := GetDefaultExpiration(u.Query().Get("DurationSeconds"))
    		gotErr := (err != nil)
    		if testCase.expectErr != gotErr {
    			t.Errorf("Test %d: Expected %v, got %v with error %s", i+1, testCase.expectErr, gotErr, err)
    		}
    		if d != testCase.duration {
    			t.Errorf("Test %d: Expected duration %d, got %d", i+1, testCase.duration, d)
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/PermissionHelper.java

                        }
                    }
                    if (logger.isDebugEnabled()) {
                        logger.debug("smbUrl:{} roleType:{}", responseData.getUrl(), roleTypeList);
                    }
                } else if (responseData.getUrl().startsWith("smb1:")) {
                    final jcifs.smb1.smb1.SID[] allowedSids =
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataGraph.java

            }
    
            MetadataGraphNode node = new MetadataGraphNode(md);
            addNode(node);
            return node;
        }
    
        /**
         * getter
         */
        public MetadataGraphNode getEntry() {
            return entry;
        }
    
        /**
         * getter
         */
        public Collection<MetadataGraphNode> getNodes() {
            return nodes;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top