Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2471 - 2480 of 4,205 for inst (0.02 sec)

  1. tests/postgres_test.go

    		t.Errorf("expected 1 thing got more")
    	}
    }
    
    type CompanyNew struct {
    	ID   int
    	Name int
    }
    
    func TestAlterColumnDataType(t *testing.T) {
    	DB.AutoMigrate(Company{})
    
    	if err := DB.Table("companies").Migrator().AlterColumn(CompanyNew{}, "name"); err != nil {
    		t.Fatalf("failed to alter column from string to int, got error %v", err)
    	}
    
    	DB.AutoMigrate(Company{})
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sat Oct 08 09:16:32 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

        UNIFORM_0_TO_2(0, 2),
        UNIFORM_0_TO_9(0, 9),
        ALWAYS_0(0, 0),
        ALWAYS_10(10, 10);
    
        final int min;
        final int max;
    
        ListSizeDistribution(int min, int max) {
          this.min = min;
          this.max = max;
        }
    
        public int chooseSize(Random random) {
          return random.nextInt(max - min + 1) + min;
        }
      }
    
      private BenchmarkHelpers() {}
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/KuromojiCSVUtil.java

         */
        public static String[] parse(final String line) {
            boolean insideQuote = false;
            final ArrayList<String> result = new ArrayList<>();
            int quoteCount = 0;
            final StringBuilder sb = new StringBuilder();
            for (int i = 0; i < line.length(); i++) {
                final char c = line.charAt(i);
    
                if (c == QUOTE) {
                    insideQuote = !insideQuote;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/project/ConnectedResource.java

            // Convert the LinkedHashSet to a List to maintain order
            List<SourceRoot> sourcesList = new ArrayList<>(project.sources);
    
            // Find the index of the original SourceRoot
            int index = -1;
            for (int i = 0; i < sourcesList.size(); i++) {
                SourceRoot source = sourcesList.get(i);
                if (source.scope() == originalSourceRoot.scope()
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 07 13:11:07 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

        assertTrue(countDownLatch.await(1L, SECONDS));
      }
    
      public void testOrdering() throws Exception {
        AtomicInteger integer = new AtomicInteger();
        for (int i = 0; i < 10; i++) {
          int expectedCount = i;
          list.add(
              new Runnable() {
                @Override
                public void run() {
                  integer.compareAndSet(expectedCount, expectedCount + 1);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  6. docs_src/settings/app01_py39/config.py

    from pydantic_settings import BaseSettings
    
    
    class Settings(BaseSettings):
        app_name: str = "Awesome API"
        admin_email: str
        items_per_user: int = 50
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 183 bytes
    - Viewed (0)
  7. docs_src/path_params/tutorial002_py39.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_item(item_id: int):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 143 bytes
    - Viewed (0)
  8. fess-crawler/src/test/resources/extractor/program/test.hpp

    // Header Test ใƒ†ใ‚นใƒˆ
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 48 bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TemporaryFileInputStreamTest.java

                assertEquals(1024, stream.available());
    
                byte[] readBuffer = new byte[1024];
                int bytesRead = stream.read(readBuffer);
    
                assertEquals(1024, bytesRead);
                for (int i = 0; i < data.length; i++) {
                    assertEquals("Mismatch at position " + i, data[i], readBuffer[i]);
                }
            }
        }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/Handler.java

        public Handler(final CIFSContext tc) {
            this.transportContext = tc;
        }
    
        /**
         * Returns the default HTTP port.
         *
         * @return An <code>int</code> containing the default HTTP port.
         */
        @Override
        protected int getDefaultPort() {
            return DEFAULT_HTTP_PORT;
        }
    
        @Override
        protected URLConnection openConnection(URL url) throws IOException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.9K bytes
    - Viewed (0)
Back to top