Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 503 for curB (0.71 sec)

  1. cmd/bucket-targets.go

    }
    
    type latencyStat struct {
    	lastmin lastMinuteLatency
    	curr    time.Duration
    	avg     time.Duration
    	peak    time.Duration
    	N       int64
    }
    
    func (l *latencyStat) update(d time.Duration) {
    	l.lastmin.add(d)
    	l.N++
    	if d > l.peak {
    		l.peak = d
    	}
    	l.curr = l.lastmin.getTotal().avg()
    	l.avg = time.Duration((int64(l.avg)*(l.N-1) + int64(l.curr)) / l.N)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 01:09:56 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  2. cluster/gce/gci/configure.sh

        # shellcheck disable=SC2086
        retry-forever 10 curl ${CURL_FLAGS} \
          -H "X-Google-Metadata-Request: True" \
          -o "${tmp_kubelet_config}" \
          http://metadata.google.internal/computeMetadata/v1/instance/attributes/kubelet-config
        # only write to the final location if curl succeeds
        mv "${tmp_kubelet_config}" "${dest}"
      )
    }
    
    function download-kube-master-certs {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 04:14:02 UTC 2024
    - 36.5K bytes
    - Viewed (0)
  3. okcurl/src/main/kotlin/okhttp3/curl/MainCommandLine.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.curl
    
    import kotlin.system.exitProcess
    
    fun main(args: Array<String>) {
      Main().main(args)
      exitProcess(0)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 728 bytes
    - Viewed (0)
  4. okcurl/src/test/kotlin/okhttp3/curl/OkcurlTest.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.curl
    
    import kotlin.test.Test
    
    class OkcurlTest {
      @Test
      fun simple() {
        Main().main(listOf("--help"))
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 732 bytes
    - Viewed (0)
  5. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DohProviders.kt

    import java.net.UnknownHostException
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClient
    
    /**
     * Temporary registry of known DNS over HTTPS providers.
     *
     * https://github.com/curl/curl/wiki/DNS-over-HTTPS
     */
    object DohProviders {
      private fun buildGoogle(bootstrapClient: OkHttpClient): DnsOverHttps {
        return DnsOverHttps.Builder()
          .client(bootstrapClient)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Dec 23 10:26:25 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. pkg/test/framework/components/echo/kube/pod_controller.go

    		AddFunc: func(pod *corev1.Pod) {
    			q.Push(func() error {
    				return handlers.added(pod)
    			})
    		},
    		UpdateFunc: func(old, cur *corev1.Pod) {
    			q.Push(func() error {
    				if old.GetResourceVersion() != cur.GetResourceVersion() {
    					return handlers.updated(cur)
    				}
    				return nil
    			})
    		},
    		DeleteFunc: func(pod *corev1.Pod) {
    			q.Push(func() error {
    				return handlers.deleted(pod)
    			})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 09 02:22:47 UTC 2023
    - 2.6K bytes
    - Viewed (1)
  7. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_arm.go

    	if err != ENOSYS {
    		return err
    	}
    
    	rl := rlimit32{}
    	err = getrlimit(resource, &rl)
    	if err != nil {
    		return
    	}
    
    	if rl.Cur == rlimInf32 {
    		rlim.Cur = rlimInf64
    	} else {
    		rlim.Cur = uint64(rl.Cur)
    	}
    
    	if rl.Max == rlimInf32 {
    		rlim.Max = rlimInf64
    	} else {
    		rlim.Max = uint64(rl.Max)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  8. plugin/pkg/auth/authorizer/rbac/subject_locator.go

    					subjects = append(subjects, roleBinding.Subjects...)
    				}
    			}
    		}
    	}
    
    	dedupedSubjects := []rbacv1.Subject{}
    	for _, subject := range subjects {
    		found := false
    		for _, curr := range dedupedSubjects {
    			if curr == subject {
    				found = true
    				break
    			}
    		}
    
    		if !found {
    			dedupedSubjects = append(dedupedSubjects, subject)
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 22 12:17:05 UTC 2018
    - 4.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/PluginHelper.java

    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.io.CopyUtil;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.curl.Curl;
    import org.codelibs.curl.CurlRequest;
    import org.codelibs.curl.CurlResponse;
    import org.codelibs.fess.crawler.Constants;
    import org.codelibs.fess.exception.PluginException;
    import org.codelibs.fess.util.ComponentUtil;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  10. pilot/cmd/pilot-agent/app/fds_unix.go

    func raiseFileLimits() (uint64, error) {
    	rlimit := unix.Rlimit{}
    	if err := unix.Getrlimit(unix.RLIMIT_NOFILE, &rlimit); err != nil {
    		return 0, err
    	}
    	rlimit.Cur = rlimit.Max
    	if err := unix.Setrlimit(unix.RLIMIT_NOFILE, &rlimit); err != nil {
    		return 0, err
    	}
    
    	return rlimit.Cur, nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 22:16:26 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top