Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 621 for methods_ (0.26 sec)

  1. src/net/http/routing_tree.go

    }
    
    // matchingMethods adds to methodSet all the methods that would result in a
    // match if passed to routingNode.match with the given host and path.
    func (root *routingNode) matchingMethods(host, path string, methodSet map[string]bool) {
    	if host != "" {
    		root.findChild(host).matchingMethodsPath(path, methodSet)
    	}
    	root.emptyChild.matchingMethodsPath(path, methodSet)
    	if methodSet["GET"] {
    		methodSet["HEAD"] = true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:43:24 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/object.go

    //
    // The result is nil for methods of types in the Universe scope,
    // like method Error of the error built-in interface type.
    func (obj *Func) Pkg() *Package { return obj.object.Pkg() }
    
    // hasPtrRecv reports whether the receiver is of the form *T for the given method obj.
    func (obj *Func) hasPtrRecv() bool {
    	// If a method's receiver type is set, use that as the source of truth for the receiver.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        } else if (isWaitFor(method)) {
          assertTrue(desc, isGuarded(method));
          assertEquals(desc, isTimed(method), isBoolean(method));
        } else { // any other enterXxx method
          assertEquals(desc, isTimed(method), isBoolean(method));
        }
      }
    
      /** Generates all test cases appropriate for the given method. */
      private static void addTests(TestSuite suite, Method method) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  4. src/go/types/object.go

    //
    // The result is nil for methods of types in the Universe scope,
    // like method Error of the error built-in interface type.
    func (obj *Func) Pkg() *Package { return obj.object.Pkg() }
    
    // hasPtrRecv reports whether the receiver is of the form *T for the given method obj.
    func (obj *Func) hasPtrRecv() bool {
    	// If a method's receiver type is set, use that as the source of truth for the receiver.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  5. src/os/types.go

    import (
    	"io/fs"
    	"syscall"
    )
    
    // Getpagesize returns the underlying system's memory page size.
    func Getpagesize() int { return syscall.Getpagesize() }
    
    // File represents an open file descriptor.
    //
    // The methods of File are safe for concurrent use.
    type File struct {
    	*file // os specific
    }
    
    // A FileInfo describes a file and is returned by [Stat] and [Lstat].
    type FileInfo = fs.FileInfo
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 20:52:06 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

          assertTrue(desc, isBoolean(method));
          assertFalse(desc, isInterruptible(method));
        } else if (isWaitFor(method)) {
          assertTrue(desc, isGuarded(method));
          assertEquals(desc, isTimed(method), isBoolean(method));
        } else { // any other enterXxx method
          assertEquals(desc, isTimed(method), isBoolean(method));
        }
      }
    
      /** Generates all test cases appropriate for the given method. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  7. cmd/api-router.go

    		api:     "website",
    		methods: []string{http.MethodPut},
    		queries: []string{"website", ""},
    	},
    	{
    		api:     "logging",
    		methods: []string{http.MethodPut, http.MethodDelete},
    		queries: []string{"logging", ""},
    	},
    	{
    		api:     "accelerate",
    		methods: []string{http.MethodPut, http.MethodDelete},
    		queries: []string{"accelerate", ""},
    	},
    	{
    		api:     "requestPayment",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Multimaps.java

       * other methods are supported by the multimap and its views. When adding a key that doesn't
       * satisfy the predicate, the multimap's {@code put()}, {@code putAll()}, and {@code
       * replaceValues()} methods throw an {@link IllegalArgumentException}.
       *
       * <p>When methods such as {@code removeAll()} and {@code clear()} are called on the filtered
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/named.go

    	}
    
    	assert(t.inst != nil) // only instances should have incomplete methods
    	orig := t.inst.orig
    
    	t.mu.Lock()
    	defer t.mu.Unlock()
    
    	if len(t.methods) != len(orig.methods) {
    		assert(len(t.methods) == 0)
    		t.methods = make([]*Func, len(orig.methods))
    	}
    
    	if t.methods[i] == nil {
    		assert(t.inst.ctxt != nil) // we should still have a context remaining from the resolution phase
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/named_test.go

    			for j := range methods {
    				methods[j] = T.Method(j).Name()
    			}
    		} else {
    			// successive rounds: methods must appear in the same order
    			if got := T.NumMethods(); got != len(methods) {
    				t.Errorf("got %d methods, want %d", got, len(methods))
    				continue
    			}
    			for j, m := range methods {
    				if got := T.Method(j).Name(); got != m {
    					t.Errorf("got method %s, want %s", got, m)
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 21:06:56 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top