- Sort Score
- Result 10 results
- Languages All
Results 491 - 500 of 954 for zero (0.04 sec)
-
src/archive/zip/reader.go
bodyOffset, err := f.findBodyOffset() if err != nil { return nil, err } if strings.HasSuffix(f.Name, "/") { // The ZIP specification (APPNOTE.TXT) specifies that directories, which // are technically zero-byte files, must not have any associated file // data. We previously tried failing here if f.CompressedSize64 != 0, // but it turns out that a number of implementations (namely, the Java
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Mar 11 22:19:38 UTC 2025 - 28.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* Future}. * * <p>Usage example: * * {@snippet : * ListenableFuture<Integer> fetchCounterFuture = ...; * * // Falling back to a zero counter in case an exception happens when * // processing the RPC to fetch counters. * ListenableFuture<Integer> faultTolerantFuture = Futures.catching(Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 64.3K bytes - Viewed (0) -
cmd/erasure-coding.go
func (e *Erasure) DecodeDataBlocks(data [][]byte) error { isZero := 0 for _, b := range data { if len(b) == 0 { isZero++ break } } if isZero == 0 || isZero == len(data) { // If all are zero, payload is 0 bytes. return nil } return e.encoder().ReconstructData(data) } // DecodeDataAndParityBlocks decodes the given erasure-coded data and verifies it. // It returns an error if the decoding failed.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java
SMBUtil.writeInt4(0, testBuffer, 4); // owner offset SMBUtil.writeInt4(0, testBuffer, 8); // group offset SMBUtil.writeInt4(100, testBuffer, 12); // SACL offset (non-zero but ignored) SMBUtil.writeInt4(0, testBuffer, 16); // DACL offset int size = securityDescriptor.decode(testBuffer, 0, testBuffer.length);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/CharMappingService.java
/** * Stores a character mapping item in the specified dictionary. * <p> * This method performs either an insert operation (for new items with ID 0) * or an update operation (for existing items with non-zero ID) depending on * the item's current state. * </p> * * @param dictId the dictionary ID to store the character mapping item in * @param charMappingItem the character mapping item to storeRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Transport.java
} if (usage == 0) { if (log.isTraceEnabled()) { log.trace("Transport usage dropped to zero " + this); } } else if (usage < 0) { throw new RuntimeCIFSException("Usage count dropped below zero"); } } /** * {@inheritDoc} * * @see java.lang.Object#finalize() */ @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 27.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java
verify(mockHandle, times(1)).sendrecv(any(MsrpcSamrCloseHandle.class)); } @Test void testClose_SmbExceptionOnClose() throws IOException { // Test case: close() with non-zero retval from MsrpcSamrCloseHandle, should throw SmbException String server = "testServer"; int access = 123; int errorRetval = 12345; // Simulate an error code
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/config/MultiChannelConfigurationTest.java
assertEquals(1, config.getChannelBindingPolicy()); } @Test void testEdgeCaseValues() throws CIFSException { Properties props = new Properties(); // Test zero and negative values props.setProperty("jcifs.smb.client.maxChannels", "0"); PropertyConfiguration config = new PropertyConfiguration(props);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 8.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
* which contained the following notice: * * Written by Doug Lea with assistance from members of JCP JSR-166 * Expert Group and released to the public domain, as explained at * http://creativecommons.org/publicdomain/zero/1.0/ * Other contributors include Andrew Wright, Jeffrey Hayes, * Pat Fisher, Mike Judd. */ package com.google.common.util.concurrent; import static com.google.common.collect.Iterables.getOnlyElement;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 26.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/DoubleMathTest.java
public void testFuzzyEqualsZeroTolerance() { // make sure we test -0 tolerance for (double zero : Doubles.asList(0.0, -0.0)) { for (double a : ALL_DOUBLE_CANDIDATES) { for (double b : ALL_DOUBLE_CANDIDATES) { assertEquals( a == b || (Double.isNaN(a) && Double.isNaN(b)), DoubleMath.fuzzyEquals(a, b, zero)); } } } } public void testFuzzyEqualsBadTolerance() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 30 14:15:36 UTC 2025 - 27.3K bytes - Viewed (0)