Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 568 for jorn (0.05 sec)

  1. internal/store/queuestore_test.go

    	"fmt"
    	"os"
    	"path/filepath"
    	"reflect"
    	"testing"
    )
    
    type TestItem struct {
    	Name     string `json:"Name"`
    	Property string `json:"property"`
    }
    
    var (
    	// TestDir
    	queueDir = filepath.Join(os.TempDir(), "minio_test")
    	// Sample test item.
    	testItem = TestItem{Name: "test-item", Property: "property"}
    	// Ext for test item
    	testItemExt = ".test"
    )
    
    // Initialize the queue store.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. docs/bn/docs/python-types.md

    ///
    
    ## প্রেরণা
    
    চলুন একটি সাধারণ উদাহরণ দিয়ে শুরু করি:
    
    ```Python
    {!../../docs_src/python_types/tutorial001.py!}
    ```
    
    এই প্রোগ্রামটি কল করলে আউটপুট হয়:
    
    ```
    John Doe
    ```
    
    ফাংশনটি নিম্নলিখিত কাজ করে:
    
    * `first_name` এবং `last_name` নেয়।
    * প্রতিটির প্রথম অক্ষরকে `title()` ব্যবহার করে বড় হাতের অক্ষরে রূপান্তর করে।
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 35.8K bytes
    - Viewed (0)
  3. cmd/object-api-putobject_test.go

    	if err != nil {
    		// Failed to create object, abort.
    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    
    	for _, disk := range disks {
    		tmpMetaDir := path.Join(disk, minioMetaTmpBucket)
    		files, err := os.ReadDir(tmpMetaDir)
    		if err != nil {
    			t.Fatal(err)
    		}
    		var found bool
    		for _, fi := range files {
    			if fi.Name() == ".trash" {
    				continue
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            if (StringUtil.isBlank(input)) {
                return input;
            }
            return ComponentUtil.getDocumentHelper().encodeSimilarDocHash(input);
        }
    
        public static String join(final Object input) {
            String[] values = null;
            if (input instanceof String[]) {
                values = (String[]) input;
            } else if (input instanceof List) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  5. docs/fr/docs/features.md

    
    # Un modèle Pydantic
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    Qui peuvent ensuite être utilisés comme cela:
    
    ```Python
    my_user: User = User(id=3, name="John Doe", joined="2018-07-19")
    
    second_user_data = {
        "id": 4,
        "name": "Mary",
        "joined": "2018-11-30",
    }
    
    my_second_user: User = User(**second_user_data)
    ```
    
    /// info
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. cmd/data-scanner-metric.go

    			p.latency[s].add(duration)
    		}
    
    		if s > scannerMetricStartTrace && globalTrace.NumSubscribers(madmin.TraceScanner) > 0 {
    			globalTrace.Publish(scannerTrace(s, startTime, duration, strings.Join(paths, " "), custom))
    		}
    	}
    }
    
    // time a scanner action.
    // Use for s < scannerMetricLastRealtime
    func (p *scannerMetrics) time(s scannerMetric) func() {
    	startTime := time.Now()
    	return func() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 25 05:15:31 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        TimedWaiterThread waiter = new TimedWaiterThread(future, Long.MAX_VALUE, SECONDS);
        waiter.start();
        waiter.awaitWaiting();
    
        future.set(1);
        waiter.join();
      }
    
      @J2ktIncompatible // TODO(b/324550390): Enable
      public void testSetNull() throws Exception {
        future.set(null);
        assertSuccessful(future, null);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  8. internal/logger/target/kafka/kafka.go

    	}
    	if err := h.init(); err != nil {
    		return err
    	}
    	go h.startKafkaLogger()
    	return nil
    }
    
    func (h *Target) initQueueStore(ctx context.Context) (err error) {
    	queueDir := filepath.Join(h.kconfig.QueueDir, h.Name())
    	queueStore := store.NewQueueStore[interface{}](queueDir, uint64(h.kconfig.QueueSize), kafkaLoggerExtension)
    	if err = queueStore.Open(); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. docs/ru/docs/features.md

        return user_id
    
    
    # Модель Pydantic
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    Это можно использовать так:
    
    ```Python
    my_user: User = User(id=3, name="John Doe", joined="2018-07-19")
    
    second_user_data = {
        "id": 4,
        "name": "Mary",
        "joined": "2018-11-30",
    }
    
    my_second_user: User = User(**second_user_data)
    ```
    
    /// info | "Информация"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  10. internal/config/config.go

    	}
    
    	kvs := KVS{}
    	var prevK string
    	for _, v := range fields {
    		kv := strings.SplitN(v, KvSeparator, 2)
    		if len(kv) == 0 {
    			continue
    		}
    		if len(kv) == 1 && prevK != "" {
    			value := strings.Join([]string{
    				kvs.Get(prevK),
    				madmin.SanitizeValue(kv[0]),
    			}, KvSpaceSeparator)
    			kvs.Set(prevK, value)
    			continue
    		}
    		if len(kv) == 2 {
    			prevK = kv[0]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 37.7K bytes
    - Viewed (0)
Back to top