Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 395 for 30 (0.01 sec)

  1. tests/hooks_test.go

    	if tx.Statement.Changed() {
    		tx.Statement.SetColumn("Price", s.Price+10)
    	}
    
    	if tx.Statement.Changed("Code") {
    		s.Price += 20
    		tx.Statement.SetColumn("Price", s.Price+30)
    	}
    	return nil
    }
    
    func TestSetColumn(t *testing.T) {
    	DB.Migrator().DropTable(&Product3{})
    	DB.AutoMigrate(&Product3{})
    
    	product := Product3{Name: "Product", Price: 0}
    	DB.Create(&product)
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jun 17 03:59:06 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. cmd/xl-storage-format_test.go

    		// part size 2MiB, total size 4MiB
    		{4 * humanize.MiByte, 2 * humanize.MiByte, 1, 2 * humanize.MiByte},
    		{4 * humanize.MiByte, 2 * humanize.MiByte, 2, 2 * humanize.MiByte},
    		{4 * humanize.MiByte, 2 * humanize.MiByte, 3, 0},
    		// part size 2MiB, total size 5MiB
    		{5 * humanize.MiByte, 2 * humanize.MiByte, 1, 2 * humanize.MiByte},
    		{5 * humanize.MiByte, 2 * humanize.MiByte, 2, 2 * humanize.MiByte},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/TransformerTest.java

                            endLatch.countDown();
                        }
                    }
                });
            }
    
            startLatch.countDown();
            boolean completed = endLatch.await(30, TimeUnit.SECONDS);
            assertTrue("Test should complete within timeout", completed);
            executor.shutdown();
    
            assertEquals(threadCount * operationsPerThread * 2, successCount.get());
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 28K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/CharSource.java

              break;
            }
          }
          return processor.getResult();
        }
    
        @Override
        public String toString() {
          return "CharSource.wrap(" + Ascii.truncate(seq, 30, "...") + ")";
        }
      }
    
      /**
       * Subclass specialized for string instances.
       *
       * <p>Since Strings are immutable and built into the jdk we can optimize some operations
       *
       * <ul>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/CharSource.java

              break;
            }
          }
          return processor.getResult();
        }
    
        @Override
        public String toString() {
          return "CharSource.wrap(" + Ascii.truncate(seq, 30, "...") + ")";
        }
      }
    
      /**
       * Subclass specialized for string instances.
       *
       * <p>Since Strings are immutable and built into the jdk we can optimize some operations
       *
       * <ul>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

        }
    
        @Test
        @DisplayName("Test writeDataWireFormat with offset")
        void testWriteDataWireFormatWithOffset() {
            // Setup mock
            when(mockFileInfo.encode(any(byte[].class), anyInt())).thenReturn(30);
    
            trans2SetFileInfo = new Trans2SetFileInformation(config, TEST_FID, mockFileInfo);
    
            byte[] buffer = new byte[512];
            int offset = 100;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

            assertEquals(16, signingKey.length, "Should still produce 16-byte key");
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0x0300, 0x0302, 0x0310 }) // Non-3.1.1 dialects
        @DisplayName("Should use SMB 3.0.x context for non-3.1.1 dialects")
        void testDeriveKeys_NonSMB311Dialects(int dialect) {
            // When
            byte[] signingKey = Smb3KeyDerivation.deriveSigningKey(dialect, sessionKey, preauthIntegrity);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.28.md

    - github.com/coreos/go-oidc: [v2.1.0+incompatible → v2.2.1+incompatible](https://github.com/coreos/go-oidc/compare/v2.1.0...v2.2.1)
    - github.com/coreos/go-semver: [v0.3.0 → v0.3.1](https://github.com/coreos/go-semver/compare/v0.3.0...v0.3.1)
    - github.com/coreos/go-systemd/v22: [v22.4.0 → v22.5.0](https://github.com/coreos/go-systemd/v22/compare/v22.4.0...v22.5.0)
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Oct 23 20:13:20 UTC 2024
    - 456.9K bytes
    - Viewed (1)
  9. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.Timeout
    import org.junit.jupiter.api.extension.RegisterExtension
    
    @Suppress("deprecation")
    @Timeout(30)
    @Tag("Slow")
    class MockWebServerTest {
      @RegisterExtension
      var platform = PlatformRule()
    
      private val server = MockWebServer()
    
      @BeforeEach
      fun setUp() {
        server.start()
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Aug 03 22:38:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  10. cmd/batch-expire.go

    				quit = true
    			case <-saverQuitCh:
    				quit = true
    			}
    
    			if quit {
    				// save immediately if we are quitting
    				after = 0
    			}
    
    			ctx, cancel := context.WithTimeout(GlobalContext, 30*time.Second) // independent context
    			batchLogIf(ctx, ri.updateAfter(ctx, api, after, job))
    			cancel()
    		}
    	}()
    
    	expireCh := make(chan []expireObjInfo, workerSize)
    	expireDoneCh := make(chan struct{})
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Apr 22 11:16:32 UTC 2025
    - 23K bytes
    - Viewed (0)
Back to top