Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 77 for resMatch (0.28 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/predicates/rules/rules.go

    	opRes, opSub := r.Attr.GetResource().Resource, r.Attr.GetSubresource()
    	for _, res := range r.Rule.Resources {
    		res, sub := splitResource(res)
    		resMatch := res == "*" || res == opRes
    		subMatch := sub == "*" || sub == opSub
    		if resMatch && subMatch {
    			return true
    		}
    	}
    	return false
    }
    
    // IsExemptAdmissionConfigurationResource determines if an admission.Attributes object is describing
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 07 21:38:55 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/filters/timeout.go

    				err = fmt.Sprintf("%v\n%s", err, buf)
    			}
    			resultCh <- err
    		}()
    		t.handler.ServeHTTP(w, rCopy)
    	}()
    	select {
    	case err := <-resultCh:
    		// panic if error occurs; stop otherwise
    		if err != nil {
    			panic(err)
    		}
    		return
    	case <-timeoutCh:
    		defer func() {
    			// resultCh needs to have a reader, since the function doing
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness.go

    			// and the initialization signal will not be send.
    			// It has to happen before waiting on the resultCh below.
    			watchInitializationSignal.Signal()
    			// TODO: Consider finishing the request as soon as Handle call panics.
    			if err := <-resultCh; err != nil {
    				panic(err)
    			}
    		case err := <-resultCh:
    			if err != nil {
    				panic(err)
    			}
    		}
    	} else {
    		execute := func() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/runtime/runtime_test.go

    	}
    	bak := os.Stderr
    	os.Stderr = w
    	defer func() { os.Stderr = bak }()
    
    	resultCh := make(chan string)
    	// copy the output in a separate goroutine so printing can't block indefinitely
    	go func() {
    		var buf bytes.Buffer
    		io.Copy(&buf, r)
    		resultCh <- buf.String()
    	}()
    
    	f()
    	w.Close()
    
    	return <-resultCh, nil
    }
    
    func Test_rudimentaryErrorBackoff_OnError_ParallelSleep(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. .github/ISSUE_TEMPLATE/tflite-converter-issue.md

    #### Option A: Reference colab notebooks
    
    1)  Reference [TensorFlow Model Colab](https://colab.research.google.com/gist/ymodak/e96a4270b953201d5362c61c1e8b78aa/tensorflow-datasets.ipynb?authuser=1): Demonstrate how to build your TF model.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 15 03:35:58 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  6. CITATION.cff

    cff-version: 1.2.0
    message: "If you use TensorFlow in your research, please cite it using these metadata. Software is available from tensorflow.org."
    title: TensorFlow, Large-scale machine learning on heterogeneous systems
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 06 15:26:23 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  7. src/go/build/read.go

    					continue
    				}
    				if c == '"' {
    					c = r.readByteNoBuf()
    					goto Reswitch
    				}
    			}
    			goto Reswitch
    
    		case '`':
    			startLine = false
    			for r.err == nil {
    				if r.eof {
    					r.syntaxError()
    				}
    				c = r.readByteNoBuf()
    				if c == '`' {
    					c = r.readByteNoBuf()
    					goto Reswitch
    				}
    			}
    
    		case '\'':
    			startLine = false
    			for r.err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modindex/build_read.go

    					continue
    				}
    				if c == '"' {
    					c = r.readByteNoBuf()
    					goto Reswitch
    				}
    			}
    			goto Reswitch
    
    		case '`':
    			startLine = false
    			for r.err == nil {
    				if r.eof {
    					r.syntaxError()
    				}
    				c = r.readByteNoBuf()
    				if c == '`' {
    					c = r.readByteNoBuf()
    					goto Reswitch
    				}
    			}
    
    		case '\'':
    			startLine = false
    			for r.err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 10:10:21 UTC 2023
    - 13K bytes
    - Viewed (0)
  9. docs/security/security.md

    | 3.x     | ❌ Ended 2021-12-31 | Android 2.3+ (API level 9+) and Java 7+.     |
    
    
    ## Reporting a Vulnerability
    
    Square recognizes the important contributions the security research community
    can make. We therefore encourage reporting security issues with the code
    contained in this repository.
    
    If you believe you have discovered a security vulnerability, please follow the
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 27 10:19:17 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  10. src/internal/singleflight/singleflight_test.go

    	go func() {
    		g.Do(key, func() (i interface{}, e error) {
    			// Notify that we started
    			secondCh <- struct{}{}
    			<-secondCh
    			return 2, nil
    		})
    	}()
    
    	<-secondCh
    
    	resultCh := g.DoChan(key, func() (i interface{}, e error) {
    		panic("third must not be started")
    	})
    
    	if g.ForgetUnshared(key) {
    		t.Errorf("Before first goroutine finished, key %q is shared, should return false", key)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 29 22:21:50 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top