Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 886 for zero (0.02 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java

        sizesToTest.retainAll(features);
        features.removeAll(sizesToTest);
    
        addImpliedFeatures(sizesToTest);
        sizesToTest.retainAll(asList(CollectionSize.ZERO, CollectionSize.ONE, CollectionSize.SEVERAL));
    
        logger.fine("   Sizes: " + formatFeatureSet(sizesToTest));
    
        if (sizesToTest.isEmpty()) {
          throw new IllegalStateException(
              name
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java

            bufferIndex += 2;
            setupCount = buffer[bufferIndex] & 0xFF;
            bufferIndex += 2;
            if ((setupCount != 0) && (LogStream.level > 2)) {
                log.println("setupCount is not zero: " + setupCount);
            }
    
            return bufferIndex - start;
        }
    
        @Override
        int readBytesWireFormat(final byte[] buffer, int bufferIndex) {
            pad = pad1 = 0;
            final int n;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java

            assertEquals(0, buffer[1], "Second byte must be null terminator for empty string");
        }
    
        @Test
        @DisplayName("readBytesWireFormat is a no‑op and returns zero")
        void testReadBytesWireFormatNoop() {
            byte[] buffer = new byte[10];
            int used = cmd.readBytesWireFormat(buffer, 0);
            assertEquals(0, used, "readBytesWireFormat is unimplemented and must return 0");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  4. cmd/dynamic-timeouts.go

    // newDynamicTimeout returns a new dynamic timeout initialized with timeout value
    func newDynamicTimeout(timeout, minimum time.Duration) *dynamicTimeout {
    	if timeout <= 0 || minimum <= 0 {
    		panic("newDynamicTimeout: negative or zero timeout")
    	}
    	if minimum > timeout {
    		minimum = timeout
    	}
    	return &dynamicTimeout{timeout: int64(timeout), minimum: int64(minimum)}
    }
    
    // Timeout returns the current timeout value
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

            byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04 };
    
            assertDoesNotThrow(() -> digest.update(data, 0, data.length));
        }
    
        @Test
        @DisplayName("Test update method with zero length")
        void testUpdateWithZeroLength() {
            SMB1SigningDigest digest = new SMB1SigningDigest(testMacSigningKey);
            byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04 };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  6. 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 Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Mar 11 22:19:38 UTC 2025
    - 28.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java

            assertEquals(roles, elevateWord.getRoles());
        }
    
        @Test
        public void testConstructorWithZeroBoost() {
            // Test constructor with zero boost
            String word = "zero boost";
            float boost = 0.0f;
            List<String> readings = Arrays.asList("reading1");
            List<String> fields = Arrays.asList("field1");
            List<String> tags = Arrays.asList("tag1");
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

            assertTrue(createItem.isUpdated());
            assertEquals("newword", createItem.getNewInput());
            assertEquals("newword", createItem.toLineString());
    
            // Non-zero id should not auto-set newInput
            StopwordsItem existingItem = new StopwordsItem(1, "existingword");
            assertFalse(existingItem.isUpdated());
            assertNull(existingItem.getNewInput());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

                                session.release();
                            }
                        }
                    } catch (Exception e) {
                        if (!e.getMessage().contains("Usage count dropped below zero")) {
                            exceptions.add(e);
                        }
                    } finally {
                        endLatch.countDown();
                    }
                });
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java

            // Test method chaining
            assertSame(purgeThumbnailJob, result);
            // Test value was set
            assertEquals(newExpiry, purgeThumbnailJob.getExpiry());
        }
    
        // Test expiry setter with zero value (should not change)
        public void test_expiry_zeroValue() {
            long originalExpiry = purgeThumbnailJob.getExpiry();
            PurgeThumbnailJob result = purgeThumbnailJob.expiry(0);
    
            // Test method chaining
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top