Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 123 for Bad (0.08 sec)

  1. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

      }
    
      private static class BadEqualsFactory {
        /** oneConstantOnly matters now since it can be either null or the constant. */
        @SuppressWarnings("unused") // Called by reflection
        public static Object bad(String a, int b, @Nullable OneConstantEnum oneConstantOnly) {
          return new GoodEquals(a, b);
        }
      }
    
      public void testNullsOnReturnValues_good() throws Exception {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  2. src/runtime/stack.go

    		s = mheap_.allocManual(_StackCacheSize>>_PageShift, spanAllocStack)
    		if s == nil {
    			throw("out of memory")
    		}
    		if s.allocCount != 0 {
    			throw("bad allocCount")
    		}
    		if s.manualFreeList.ptr() != nil {
    			throw("bad manualFreeList")
    		}
    		osStackAlloc(s)
    		s.elemsize = fixedStack << order
    		for i := uintptr(0); i < _StackCacheSize; i += s.elemsize {
    			x := gclinkptr(s.base() + i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  3. src/go/build/deps_test.go

    			continue
    		}
    		if sawImport[pkg] == nil {
    			sawImport[pkg] = map[string]bool{}
    		}
    		var bad []string
    		for _, imp := range imports {
    			sawImport[pkg][imp] = true
    			if !policy.HasEdge(pkg, imp) {
    				bad = append(bad, imp)
    			}
    		}
    		if bad != nil {
    			t.Errorf("unexpected dependency: %s imports %v", pkg, bad)
    		}
    	}
    }
    
    var buildIgnore = []byte("\n//go:build ignore")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  4. src/cmd/go/internal/work/security.go

    Args:
    	for i := 0; i < len(list); i++ {
    		arg := list[i]
    		if disallow != nil && disallow.FindString(arg) == arg {
    			goto Bad
    		}
    		if allow != nil && allow.FindString(arg) == arg {
    			continue Args
    		}
    		for _, re := range invalid {
    			if re.FindString(arg) == arg { // must be complete match
    				goto Bad
    			}
    		}
    		for _, re := range valid {
    			if re.FindString(arg) == arg { // must be complete match
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:47:34 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. pilot/cmd/pilot-agent/status/server_test.go

    		name       string
    		probePath  string
    		config     KubeAppProbers
    		podIP      string
    		ipv6       bool
    		statusCode int
    	}
    	testCases := []test{
    		{
    			name:       "http-bad-path",
    			probePath:  "bad-path-should-be-404",
    			config:     simpleHTTPConfig,
    			statusCode: http.StatusNotFound,
    		},
    		{
    			name:       "http-readyz",
    			probePath:  "app-health/hello-world/readyz",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  6. src/internal/coverage/cfile/emitdata_test.go

    			continue
    		}
    		nfound++
    		want := "100.0%"
    		if f[len(f)-1] != want {
    			t.Errorf("wanted %s got: %q\n", want, line)
    			bad = true
    		}
    	}
    	if nfound != 1 {
    		t.Errorf("wanted 1 found, got %d\n", nfound)
    		bad = true
    	}
    	if bad {
    		t.Logf("func output:\n%s\n", string(b))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  7. src/runtime/panic.go

    	// may try to read a stale LR that looks like a Go code
    	// pointer and wander into the woods.
    	if gp.m.incgo || findfunc(pc).valid() {
    		// This wasn't a bad call, so use PC as sigpanic's
    		// return PC.
    		return true
    	}
    	if findfunc(lr).valid() {
    		// This was a bad call, but the LR is good, so use the
    		// LR as sigpanic's return PC.
    		return false
    	}
    	// Neither the PC or LR is good. Hopefully pushing a frame
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  8. cmd/generic-handlers.go

    			if err != nil {
    				return time.Time{}, ErrMalformedDate
    			}
    			return t, ErrNone
    		}
    	}
    	// Date header missing.
    	return time.Time{}, ErrMissingDateHeader
    }
    
    // Bad path components to be rejected by the path validity handler.
    const (
    	dotdotComponent = ".."
    	dotComponent    = "."
    )
    
    func hasBadHost(host string) error {
    	if globalIsCICD && strings.TrimSpace(host) == "" {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 06 01:01:15 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  9. cmd/object-lambda-handlers.go

    	"Use Proxy":                       http.StatusUseProxy,
    	"Temporary Redirect":              http.StatusTemporaryRedirect,
    	"Permanent Redirect":              http.StatusPermanentRedirect,
    	"Bad Request":                     http.StatusBadRequest,
    	"Unauthorized":                    http.StatusUnauthorized,
    	"Payment Required":                http.StatusPaymentRequired,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

              public boolean isCancelled() {
                return false; // BAD!!
              }
    
              @Override
              public String get() {
                throw new CancellationException(); // BAD!!
              }
    
              @Override
              public String get(long time, TimeUnit unit) {
                throw new CancellationException(); // BAD!!
              }
    
              @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 46.7K bytes
    - Viewed (0)
Back to top