Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 349 for randomid (0.11 sec)

  1. tests/error_translator_test.go

    )
    
    func TestDialectorWithErrorTranslatorSupport(t *testing.T) {
    	// it shouldn't translate error when the TranslateError flag is false
    	translatedErr := errors.New("translated error")
    	untranslatedErr := errors.New("some random error")
    	db, _ := gorm.Open(tests.DummyDialector{TranslatedErr: translatedErr})
    
    	err := db.AddError(untranslatedErr)
    	if !errors.Is(err, untranslatedErr) {
    		t.Fatalf("expected err: %v got err: %v", untranslatedErr, err)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jul 12 13:21:22 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. internal/lsync/lrwmutex.go

    }
    
    const (
    	lockRetryInterval = 50 * time.Millisecond
    )
    
    // lockLoop will acquire either a read or a write lock
    //
    // The call will block until the lock is granted using a built-in
    // timing randomized back-off algorithm to try again until successful
    func (lm *LRWMutex) lockLoop(ctx context.Context, id, source string, timeout time.Duration, isWriteLock bool) (locked bool) {
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

      private val handshakeCertificates = platform.localhostHandshakeCertificates()
      private val clientListener = WebSocketRecorder("client")
      private val serverListener = WebSocketRecorder("server")
      private val random = Random(0)
      private var client =
        clientTestRule.newClientBuilder()
          .writeTimeout(Duration.ofMillis(500))
          .readTimeout(Duration.ofMillis(500))
          .addInterceptor(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  4. cmd/xl-storage-format_test.go

    					xl = xlMetaV2{}
    					err := xl.Load(enc)
    					if err != nil {
    						b.Fatal(err)
    					}
    					// Update modtime for resorting...
    					fi.ModTime = fi.ModTime.Add(-time.Second)
    					// Update a random version.
    					fi.VersionID = ids[rng.Intn(size)]
    					// Update...
    					err = xl.UpdateObjectVersion(fi)
    					if err != nil {
    						b.Fatal(err)
    					}
    					// Save...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. helm/minio/templates/_helpers.tpl

        - key: {{ $publicCrt }}
          path: public.crt
        {{- end }}
    {{- end }}
    {{- end -}}
    
    {{/*
    Returns the available value for certain key in an existing secret (if it exists),
    otherwise it generates a random value.
    */}}
    {{- define "minio.getValueFromSecret" }}
      {{- $len := (default 16 .Length) | int -}}
      {{- $obj := (lookup "v1" "Secret" .Namespace .Name).data -}}
      {{- if $obj }}
        {{- index $obj .Key | b64dec -}}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Apr 17 06:04:15 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  6. docs/erasure/README.md

      -v /mnt/data6:/data6 \
      -v /mnt/data7:/data7 \
      -v /mnt/data8:/data8 \
      quay.io/minio/minio server /data{1...8} --console-address ":9001"
    ```
    
    ### 3. Test your setup
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Streams.java

       * reported {@link Spliterator#SUBSIZED}. This is generally the case if the underlying stream
       * comes from a data structure supporting efficient indexed random access, typically an array or
       * list.
       *
       * <p>The order of the resulting stream is defined if and only if the order of the original stream
       * was defined.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

                request.setAttribute(Constants.USER_CODE, userCode);
                return userCode;
            }
            return null;
        }
    
        protected String getId() {
            return UUID.randomUUID().toString().replace("-", StringUtil.EMPTY);
        }
    
        protected void updateUserSessionId(final String userCode) {
            ComponentUtil.getSearchLogHelper().getUserInfo(userCode);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. docs/en/docs/js/custom.js

        loadVisibleTermynals();
    }
    
    function shuffle(array) {
        var currentIndex = array.length, temporaryValue, randomIndex;
        while (0 !== currentIndex) {
            randomIndex = Math.floor(Math.random() * currentIndex);
            currentIndex -= 1;
            temporaryValue = array[currentIndex];
            array[currentIndex] = array[randomIndex];
            array[randomIndex] = temporaryValue;
        }
        return array;
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

                it.value.isNotEmpty()
            } ?: emptyMap()
    
        /**
         * Returns any temporary directories used to extract resources from jars.
         *
         * These directories will be created as siblings of the randomly assigned test root directories, with the fixed name {@code tmp-extracted-resources}.
         */
        private
        fun TestFilesCleanupProjectState.tmpExtractedResourcesDirs() = projectBuildDir.get().asFile.resolve("tmp/teŝt files")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 28 16:19:47 UTC 2023
    - 12.5K bytes
    - Viewed (0)
Back to top