Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 590 for scond (0.03 sec)

  1. internal/logger/config.go

    		httpTimeoutCfgVal := getCfgVal(EnvAuditWebhookHTTPTimeout, k, kv.Get(httpTimeout))
    		httpTimeout, err := time.ParseDuration(httpTimeoutCfgVal)
    		if err != nil {
    			return cfg, err
    		}
    		if httpTimeout < time.Second {
    			return cfg, fmt.Errorf("minimum value allowed for http_timeout is '1s': %s", httpTimeout)
    		}
    
    		cfg.AuditWebhook[k] = http.Config{
    			HTTPTimeout: httpTimeout,
    			Enabled:     true,
    			Endpoint:    url,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 20 16:02:50 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  2. internal/s3select/sql/value.go

    		_, ok = b.value.([]byte)
    	case []Value:
    		_, ok = b.value.([]Value)
    	default:
    		ok = reflect.TypeOf(v.value) == reflect.TypeOf(b.value)
    	}
    	return ok
    }
    
    // ToBool returns the bool value; second return value refers to if the bool
    // conversion succeeded.
    func (v Value) ToBool() (val bool, ok bool) {
    	val, ok = v.value.(bool)
    	return
    }
    
    // ToTimestamp returns the timestamp value if present.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 25 20:31:19 UTC 2022
    - 20.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multisets.java

      }
    
      /**
       * Returns an unmodifiable view of the difference of two multisets. In the returned multiset, the
       * count of each element is the result of the <i>zero-truncated subtraction</i> of its count in
       * the second multiset from its count in the first multiset, with elements that would have a count
       * of 0 not included. The iteration order of the returned multiset matches that of the element set
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Ints.java

       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated; use the
       * equivalent {@link Integer#compare} method instead.
       *
       * @param a the first {@code int} to compare
       * @param b the second {@code int} to compare
       * @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is
       *     greater than {@code b}; or zero if they are equal
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 31K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Multisets.java

      }
    
      /**
       * Returns an unmodifiable view of the difference of two multisets. In the returned multiset, the
       * count of each element is the result of the <i>zero-truncated subtraction</i> of its count in
       * the second multiset from its count in the first multiset, with elements that would have a count
       * of 0 not included. The iteration order of the returned multiset matches that of the element set
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  6. src/bufio/bufio_test.go

    		c <- err
    	}()
    
    	select {
    	case err := <-c:
    		if err == nil {
    			t.Error("error expected")
    		} else if err != io.ErrNoProgress {
    			t.Error("unexpected error:", err)
    		}
    	case <-time.After(time.Second):
    		t.Error("test timed out (endless loop in ReadByte?)")
    	}
    }
    
    // A StringReader delivers its data one string segment at a time via Read.
    type StringReader struct {
    	data []string
    	step int
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  7. cmd/update_test.go

    	}
    
    	for _, testCase := range testCases {
    		u, err := url.Parse(testCase.releaseChecksumURL)
    		if err != nil {
    			t.Fatal(err)
    		}
    
    		result, err := downloadReleaseURL(u, 1*time.Second, "")
    		switch {
    		case testCase.expectedErr == nil:
    			if err != nil {
    				t.Fatalf("error: expected: %v, got: %v", testCase.expectedErr, err)
    			}
    		case err == nil:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. docs/fr/docs/python-types.md

    #### `Dict`
    
    Pour définir un `dict`, il faut lui passer 2 paramètres, séparés par une virgule (`,`).
    
    Le premier paramètre de type est pour les clés et le second pour les valeurs du dictionnaire (`dict`).
    
    {*../../docs_src/python_types/tutorial008.py hl[1,4] *}
    
    Dans cet exemple :
    
    * La variable `prices` est de type `dict` :
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:21:34 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/RegularImmutableMap.java

        // If duplicates are allowed, this IdentityHashMap will record the final Entry for each
        // duplicated key. We will use this final Entry to overwrite earlier slots in the entries array
        // that have the same key. Then a second pass will remove all but the first of the slots that
        // have this Entry. The value in the map becomes false when this first entry has been copied, so
        // we know not to copy the remaining ones.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  10. cni/pkg/install/install.go

    		// If its available, we haven't tried to install in over 5s, reset our hits and return
    		i.hits = 0
    		return
    	}
    	// Otherwise, wait. We only wait up to 1s.
    	sleep.UntilContext(ctx, min(res.Delay(), time.Second))
    	// Increment our hits. If we are spamming this loop, we will hit this many times as we continually are sending >1 RPS
    	i.hits++
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 09 21:33:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top