Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 102 for cities (0.04 sec)

  1. tests/error_translator_test.go

    	if supported, found := dialectors[db.Dialector.Name()]; !(found && supported) {
    		return
    	}
    
    	DB.Migrator().DropTable(&City{})
    
    	if err = db.AutoMigrate(&City{}); err != nil {
    		t.Fatalf("failed to migrate cities table, got error: %v", err)
    	}
    
    	err = db.Create(&City{Name: "Kabul"}).Error
    	if err != nil {
    		t.Fatalf("failed to create record: %v", err)
    	}
    
    	err = db.Create(&City{Name: "Kabul"}).Error
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  2. tests/migrate_test.go

    	if err := DB.Set("gorm:table_options",
    		fmt.Sprintf("ENGINE InnoDB COMMENT '%s'", tblComment)).AutoMigrate(&City{}); err != nil {
    		t.Fatalf("failed to migrate cities tables, got error: %v", err)
    	}
    
    	tableType, err := DB.Table("cities").Migrator().TableType(&City{})
    	if err != nil {
    		t.Fatalf("failed to get table type, got error %v", err)
    	}
    
    	if tableType.Schema() != tblSchema {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 65.2K bytes
    - Viewed (0)
  3. cmd/site-replication.go

    	if !c.enabled {
    		return info, nil
    	}
    
    	info.Enabled = true
    	info.Name = c.state.Name
    	info.Sites = make([]madmin.PeerInfo, 0, len(c.state.Peers))
    	for _, peer := range c.state.Peers {
    		info.Sites = append(info.Sites, peer)
    	}
    	sort.Slice(info.Sites, func(i, j int) bool {
    		return info.Sites[i].Name < info.Sites[j].Name
    	})
    
    	info.ServiceAccountAccessKey = c.state.ServiceAccountAccessKey
    	return info, nil
    }
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 184.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/beans/util/BeanUtil.java

        /**
         * Copies properties from one Bean to another Bean.
         *
         * @param src The source Bean. Must not be {@literal null}.
         * @param dest The destination Bean. Must not be {@literal null}.
         */
        public static void copyBeanToBean(final Object src, final Object dest) {
            copyBeanToBean(src, dest, DEFAULT_OPTIONS);
        }
    
        /**
         * Copies properties from one Bean to another Bean.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/CopyUtil.java

        protected static final int DEFAULT_BUF_SIZE = 4096;
    
        // ////////////////////////////////////////////////////////////////
        // from InputStream to OutputStream
        //
        /**
         * Copies from an input stream to an output stream.
         * <p>
         * Neither the input stream nor the output stream is closed.
         * </p>
         *
         * @param in the input stream (must not be {@literal null})
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  6. docs/site-replication/README.md

    # Automatic Site Replication
    
    This feature allows multiple independent MinIO sites (or clusters) that are using the same external IDentity Provider (IDP) to be configured as replicas. In this situation the set of replica sites are referred to as peer sites or just sites. When site-replication is enabled on a set of sites, the following changes are replicated to all other sites:
    
    - Creation and deletion of buckets and objects
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. LICENSES/vendor/github.com/golang-jwt/jwt/v5/LICENSE

    The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
    
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Fri May 16 01:19:11 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/CharStreams.java

      /** Creates a new {@code CharBuffer} for buffering reads or writes. */
      static CharBuffer createBuffer() {
        return CharBuffer.allocate(DEFAULT_BUF_SIZE);
      }
    
      private CharStreams() {}
    
      /**
       * Copies all characters between the {@link Readable} and {@link Appendable} objects. Does not
       * close or flush either object.
       *
       * @param from the object to read from
       * @param to the object to write to
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 30 17:25:01 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/Platform.java

      // Use fewer steps in the IteratorTester in CollectionIteratorTester because it's slow in prod
      // mode.
      static int collectionIteratorTesterNumIterations() {
        return 3;
      }
    
      // TODO: Consolidate different copies in one single place.
      static String format(String template, Object... args) {
        // start substituting the arguments into the '%s' placeholders
        StringBuilder builder = new StringBuilder(template.length() + 16 * args.length);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

       * (used as the reference iterator) against a {@code PeekingIterator} that *wraps* such an
       * iterator (used as the target iterator).
       *
       * <p>This IteratorTester makes copies of the master so that it can later verify that {@link
       * PeekingIterator#remove()} removes the same elements as the reference's iterator {@code
       * remove()}.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top