Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 732 for MARK (0.17 sec)

  1. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/DoesNotSupportNonAsciiPaths.java

    import java.lang.annotation.ElementType;
    import java.lang.annotation.Inherited;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * Annotation to mark tests that don't support non-ascii characters on the path of the test directory.
     */
    @Retention(RetentionPolicy.RUNTIME)
    @Target(ElementType.TYPE)
    @Inherited
    public @interface DoesNotSupportNonAsciiPaths {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. src/text/template/exec.go

    func (s *state) push(name string, value reflect.Value) {
    	s.vars = append(s.vars, variable{name, value})
    }
    
    // mark returns the length of the variable stack.
    func (s *state) mark() int {
    	return len(s.vars)
    }
    
    // pop pops the variable stack up to the mark.
    func (s *state) pop(mark int) {
    	s.vars = s.vars[0:mark]
    }
    
    // setVar overwrites the last declared variable with the given name.
    // Used by variable assignments.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:22:24 UTC 2024
    - 32K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/ByteStreams.java

        public int available() throws IOException {
          return (int) Math.min(in.available(), left);
        }
    
        // it's okay to mark even if mark isn't supported, as reset won't work
        @Override
        public synchronized void mark(int readLimit) {
          in.mark(readLimit);
          mark = left;
        }
    
        @Override
        public int read() throws IOException {
          if (left == 0) {
            return -1;
          }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jan 17 18:59:58 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  4. docs/de/docs/advanced/async-tests.md

    Schauen wir uns an, wie wir das machen können.
    
    ## pytest.mark.anyio
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:25:57 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/async-tests.md

    Let's look at how we can make that work.
    
    ## pytest.mark.anyio
    
    If we want to call asynchronous functions in our tests, our test functions have to be asynchronous. AnyIO provides a neat plugin for this, that allows us to specify that some test functions are to be called asynchronously.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Jan 13 12:07:15 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. pkg/proxy/ipvs/proxier.go

    // MASQUERADE  all  --  0.0.0.0/0            0.0.0.0/0            /* kubernetes service traffic requiring SNAT */ mark match 0x4000/0x4000
    
    // :KUBE-MARK-MASQ - [0:0]
    // Chain KUBE-MARK-MASQ (0 references)
    // target     prot opt source               destination
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 77.7K bytes
    - Viewed (0)
  7. pkg/proxy/iptables/proxier.go

    	// this so that it is easier to flush and change, for example if the mark
    	// value should ever change.
    
    	proxier.natRules.Write(
    		"-A", string(kubePostroutingChain),
    		"-m", "mark", "!", "--mark", fmt.Sprintf("%s/%s", proxier.masqueradeMark, proxier.masqueradeMark),
    		"-j", "RETURN",
    	)
    	// Clear the mark to avoid re-masquerading if the packet re-traverses the network stack.
    	proxier.natRules.Write(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 65.1K bytes
    - Viewed (0)
  8. internal/config/lambda/target/lazyinit.go

    	}
    	return nil
    }
    
    func (l *lazyInit) doSlow(f func() error) error {
    	l.m.Lock()
    	defer l.m.Unlock()
    	if atomic.LoadUint32(&l.done) == 0 {
    		if err := f(); err != nil {
    			return err
    		}
    		// Mark as done only when f() is successful
    		atomic.StoreUint32(&l.done, 1)
    	}
    	return nil
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_header_params/test_tutorial001_an.py

    import pytest
    from dirty_equals import IsDict
    from fastapi.testclient import TestClient
    
    from docs_src.header_params.tutorial001_an import app
    
    client = TestClient(app)
    
    
    @pytest.mark.parametrize(
        "path,headers,expected_status,expected_response",
        [
            ("/items", None, 200, {"User-Agent": "testclient"}),
            ("/items", {"X-Header": "notvalid"}, 200, {"User-Agent": "testclient"}),
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/registry/PersistentDaemonRegistryTest.groovy

            registry.remove(address)
    
            then:
            registry.all.empty
        }
    
        def "mark busy ignores entry that has been removed"() {
            given:
            def address = address()
    
            when:
            registry.markState(address, Busy)
    
            then:
            registry.all.empty
        }
    
        def "mark idle ignores entry that has been removed"() {
            given:
            def address = address()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 00:09:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top