Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1011 - 1020 of 5,421 for return (0.04 sec)

  1. cmd/bitrot-streaming.go

    		}
    		if err != nil {
    			return 0, err
    		}
    	}
    	if offset != b.currOffset {
    		// Can never happen unless there are programmer bugs
    		return 0, errUnexpected
    	}
    	b.h.Reset()
    	_, err = io.ReadFull(b.rc, b.hashBytes)
    	if err != nil {
    		return 0, err
    	}
    	_, err = io.ReadFull(b.rc, buf)
    	if err != nil {
    		return 0, err
    	}
    	b.h.Write(buf)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jan 17 19:19:30 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java

            }
        }
    
        /**
         * The {@code toString} method should include the class name and the
         * representation of the superclass.
         */
        @Test
        void toStringIncludesClassName() {
            TransWaitNamedPipeResponse resp = new TransWaitNamedPipeResponse();
            String str = resp.toString();
            assertNotNull(str, "toString should not return null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractXmlExtractor.java

            }
            matcher.appendTail(sb);
            return sb.toString().replaceAll("\\s+", " ").trim();
        }
    
        /**
         * Returns the current encoding setting.
         * @return The current encoding.
         */
        public String getEncoding() {
            return encoding;
        }
    
        /**
         * Sets the encoding for content extraction.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  4. src/archive/zip/reader_test.go

    			t.Errorf("ReadFile(%s) error=%v", path, err2)
    			return
    		}
    	}
    	if err != zt.Error {
    		t.Errorf("error=%v, want %v", err, zt.Error)
    		return
    	}
    
    	// bail if file is not zip
    	if err == ErrFormat {
    		return
    	}
    
    	// bail here if no Files expected to be tested
    	// (there may actually be files in the zip, but we don't care)
    	if zt.File == nil {
    		return
    	}
    
    	if z.Comment != zt.Comment {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Mar 11 22:19:38 UTC 2025
    - 56.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java

                }
                return false; // Unknown IO errors are likely not recoverable
            }
    
            // Runtime exceptions and other errors are likely not recoverable
            return false;
        }
    
        /**
         * Check if error suggests fallback to TCP is needed
         *
         * @param error the error to check
         * @return true if TCP fallback is recommended
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

         *
         * @param sessionId the session ID to process
         * @return the canonical session ID (portion before first hyphen, or original if no hyphen)
         */
        public String getCanonicalSessionId(final String sessionId) {
            final int idx = sessionId.indexOf('-');
            if (idx >= 0) {
                return sessionId.substring(0, idx);
            }
            return sessionId;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/MultiInputStream.java

        if (in == null) {
          return 0;
        }
        return in.available();
      }
    
      @Override
      public boolean markSupported() {
        return false;
      }
    
      @Override
      public int read() throws IOException {
        while (in != null) {
          int result = in.read();
          if (result != -1) {
            return result;
          }
          advance();
        }
        return -1;
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

          }
    
        return splitDomain(domain).asSequence().drop(firstLabelOffset).joinToString(".")
      }
    
      private fun splitDomain(domain: String): List<String> {
        val domainLabels = domain.split('.')
    
        if (domainLabels.last() == "") {
          // allow for domain name trailing dot
          return domainLabels.dropLast(1)
        }
    
        return domainLabels
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/curl/io/ContentCache.java

                Files.delete(file.toPath());
            }
        }
    
        /**
         * Returns an InputStream to read the content from the cache.
         * If the content is stored in a file, a FileInputStream is returned.
         * Otherwise, a ByteArrayInputStream is returned to read the data from memory.
         *
         * @return an InputStream to read the cached content
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/CompactHashMap.java

        this.values = new Object[expectedSize];
    
        return expectedSize;
      }
    
      @SuppressWarnings("unchecked")
      @VisibleForTesting
      @Nullable Map<K, V> delegateOrNull() {
        if (table instanceof Map) {
          return (Map<K, V>) table;
        }
        return null;
      }
    
      Map<K, V> createHashFloodingResistantDelegate(int tableSize) {
        return new LinkedHashMap<>(tableSize, 1.0f);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 39.6K bytes
    - Viewed (0)
Back to top