Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 673 for newE (0.03 sec)

  1. internal/grid/types.go

    	ePool sync.Pool // Elements
    }
    
    // NewArrayOf returns a new ArrayOf.
    // You must provide a function that returns a new instance of T.
    func NewArrayOf[T RoundTripper](newFn func() T) *ArrayOf[T] {
    	return &ArrayOf[T]{
    		ePool: sync.Pool{New: func() any {
    			return newFn()
    		}},
    	}
    }
    
    // New returns a new empty Array.
    func (p *ArrayOf[T]) New() *Array[T] {
    	return &Array[T]{
    		p: p,
    	}
    }
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. buildscripts/rewrite-old-new.sh

    Harshavardhana <******@****.***> 1716837466 -0700
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. tests/hooks_test.go

    	DB.Model(&product).Updates(map[string]interface{}{"Name": "Product New"})
    
    	if product.Name != "Product New" || product.Price != 160 || product.Code != "L1212" {
    		t.Errorf("invalid data after update, got %+v", product)
    	}
    
    	// Code changed, but not selected, price should not change
    	DB.Model(&product).Select("Name", "Price").Updates(map[string]interface{}{"Name": "Product New2", "code": "L1213"})
    
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Mon Jun 17 03:59:06 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  4. tests/embedded_struct_test.go

    		}
    	}
    
    	// save embedded struct
    	DB.Save(&HNPost{BasePost: BasePost{Title: "news"}})
    	DB.Save(&HNPost{BasePost: BasePost{Title: "hn_news"}})
    	var news HNPost
    	if err := DB.First(&news, "title = ?", "hn_news").Error; err != nil {
    		t.Errorf("no error should happen when query with embedded struct, but got %v", err)
    	} else if news.Title != "hn_news" {
    		t.Errorf("embedded struct's value should be scanned correctly")
    	}
    
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. docs/en/docs/help-fastapi.md

    Then you can try and help them solve those questions.
    
    ## Ask Questions
    
    You can <a href="https://github.com/fastapi/fastapi/discussions/new?category=questions" class="external-link" target="_blank">create a new question</a> in the GitHub repository, for example to:
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Thu Aug 15 23:30:12 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  6. .github/actions/notify-translations/app/main.py

        # Messages to create or check
        new_translation_message = f"Good news everyone! 😉 There's a new translation PR to be reviewed: #{pr.number} by @{pr.user.login}. 🎉 This requires 2 approvals from native speakers to be merged. 🤓"
        done_translation_message = f"~There's a new translation PR to be reviewed: #{pr.number} by @{pr.user.login}~ Good job! This is done. 🍰☕"
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

            ComponentUtil.register(indexingHelper, "indexingHelper");
            ComponentUtil.register(new ThumbnailManager(), "thumbnailManager");
            final CrawlingConfigHelper crawlingConfigHelper = new CrawlingConfigHelper();
            crawlingConfigHelper.init();
            ComponentUtil.register(crawlingConfigHelper, "crawlingConfigHelper");
            ComponentUtil.register(new WebConfigService() {
                @Override
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Wed Jul 24 08:54:24 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

                    writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(newFile), Constants.UTF_8));
                } catch (final Exception e) {
                    if (newFile != null) {
                        newFile.delete();
                    }
                    throw new DictionaryException("Failed to write a userDict file.", e);
                }
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

                    writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(newFile), Constants.UTF_8));
                } catch (final Exception e) {
                    if (newFile != null) {
                        newFile.delete();
                    }
                    throw new DictionaryException("Failed to write a userDict file.", e);
                }
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. manifests/addons/dashboards/lib/panels.libsonnet

            ] }),
    
            // Key
            override.byName.new('destination_workload_var')
            + override.byName.withProperty('displayName', 'Workload'),
            override.byName.new('destination_service')
            + override.byName.withProperty('displayName', 'Service')
            + override.byName.withProperty('custom.minWidth', 400),
            override.byName.new('destination_workload_namespace')
    Registered: Wed Oct 30 22:53:10 UTC 2024
    - Last Modified: Fri Jul 26 23:54:32 UTC 2024
    - 9.5K bytes
    - Viewed (2)
Back to top