- Sort Score
- Num 10 results
- Language All
Results 641 - 650 of 925 for zeros (0.06 seconds)
-
tests/postgres_test.go
} yasuo := Yasuo{Name: "jinzhu"} if err := DB.Create(&yasuo).Error; err != nil { t.Fatalf("should be able to create data, but got %v", err) } if yasuo.ID == "" { t.Fatal("should be able to has ID, but got zero value") } var result Yasuo if err := DB.First(&result, "id = ?", yasuo.ID).Error; err != nil || yasuo.Name != "jinzhu" { t.Errorf("No error should happen, but got %v", err) }Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Oct 08 09:16:32 GMT 2022 - 6.4K bytes - Click Count (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 storeCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 6.1K bytes - Click Count (0) -
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) @Test public void test_expiry_zeroValue() { long originalExpiry = purgeThumbnailJob.getExpiry(); PurgeThumbnailJob result = purgeThumbnailJob.expiry(0);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/MoreCollectors.java
ToOptionalState::add, ToOptionalState::combine, ToOptionalState::getOptional, Collector.Characteristics.UNORDERED); /** * A collector that converts a stream of zero or one elements to an {@code Optional}. * * @throws IllegalArgumentException if the stream consists of two or more elements. * @throws NullPointerException if any element in the stream is {@code null}.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 18 16:22:33 GMT 2026 - 6.1K bytes - Click Count (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);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
statement.go
if destField := descSchema.LookUpField(field.DBName); destField != nil { changedValue, zero := destField.ValueOf(stmt.Context, destValue) if v { return !utils.AssertEqual(changedValue, fieldValue) } return !zero && !utils.AssertEqual(changedValue, fieldValue) } } } } return false } if len(fields) == 0 {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Sep 12 04:33:27 GMT 2025 - 20.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/BigDecimalMathTest.java
ArithmeticException.class, () -> BigDecimalMath.roundToDouble(input, UNNECESSARY)); } } } public void testRoundToDouble_zero() { new RoundToDoubleTester(BigDecimal.ZERO).setExpectation(0.0, RoundingMode.values()).test(); } public void testRoundToDouble_oneThird() { new RoundToDoubleTester( BigDecimal.ONE.divide(BigDecimal.valueOf(3), new MathContext(50, HALF_EVEN)))Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 11K bytes - Click Count (0) -
.teamcity/scripts/CheckBadMerge.java
* * Usage (Java 11+ single-file source execution): * java .teamcity/scripts/CheckBadMerge.java < commits.txt * * If any "bad" merge commit is found, it will print the details and exit with non-zero code. */ public class CheckBadMerge { private static final ExecutorService THREAD_POOL = Executors.newCachedThreadPool();
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 30 16:25:09 GMT 2026 - 9K bytes - Click Count (0) -
tests/gaussdb_test.go
} yasuo := Yasuo{Name: "jinzhu"} if err := DB.Create(&yasuo).Error; err != nil { t.Fatalf("should be able to create data, but got %v", err) } if yasuo.ID == "" { t.Fatal("should be able to has ID, but got zero value") } var result Yasuo if err := DB.First(&result, "id = ?", yasuo.ID).Error; err != nil || yasuo.Name != "jinzhu" { t.Errorf("No error should happen, but got %v", err) }Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 6.6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java
assertEquals(0, message.retval); } @Test @DisplayName("Should handle zero sam pointer correctly") void testDecodeOutZeroSamPointer() throws NdrException { // Given: Message with non-null sam and zero pointer in response samr.SamrSamArray samArray = spy(new samr.SamrSamArray());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 33.6K bytes - Click Count (0)