Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 123 for Bad (0.02 sec)

  1. tensorflow/compiler/jit/xla_device_context.cc

            }
            done(done_status);
            ref.Unref();
            // If a stream is in a bad state, it gets deleted when it's returned to
            // the stream pool, i.e. when it leaves this scope. However, a stream
            // deleting itself in a host callback on itself can cause bad behaviors
            // on some platforms. Releasing it in another stream to avoid that.
            if (!device_allows_sync_on_completion &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 00:36:08 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. pilot/pkg/trustbundle/trustbundle_test.go

    		TrustAnchorConfig: TrustAnchorConfig{Certs: []string{malformedCert}},
    		Source:            SourceIstioCA,
    	})
    	if err == nil {
    		t.Errorf("bad cert update failed. Expected error")
    	}
    	trustedCerts = tb.GetTrustBundle()
    	if !slices.Equal(trustedCerts, result) || cbCounter != 3 {
    		t.Errorf("bad cert update failed. Callback value is %v", cbCounter)
    	}
    
    	// Finally, remove all certs and ensure trustBundle is clean
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  3. src/net/lookup_plan9.go

    		ips = ip.String()
    	}
    	lines, err := queryCS(ctx, net, ips, itoa.Itoa(port))
    	if err != nil {
    		return
    	}
    	f := getFields(lines[0])
    	if len(f) < 2 {
    		return "", "", errors.New("bad response from ndb/cs")
    	}
    	clone, dest = f[0], f[1]
    	return
    }
    
    func queryDNS(ctx context.Context, addr string, typ string) (res []string, err error) {
    	return query(ctx, netdir+"/dns", addr+" "+typ, 1024)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:08:38 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/mkerrors.sh

    	for(i=0; i<nelem(errors); i++) {
    		e = errors[i].num;
    		if(i > 0 && errors[i-1].num == e)
    			continue;
    		strncpy(buf, strerror(e), sizeof(buf) - 1);
    		buf[sizeof(buf) - 1] = '\0';
    		// lowercase first letter: Bad -> bad, but STREAM -> STREAM.
    		if(A <= buf[0] && buf[0] <= Z && a <= buf[1] && buf[1] <= z)
    			buf[0] += a - A;
    		printf("\t{ %d, \"%s\", \"%s\" },\n", e, errors[i].name, buf);
    	}
    	printf("}\n\n");
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  5. 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)
  6. src/encoding/json/encode_test.go

    			t.Errorf("ParseFloat(%q):\n\tgot:  %g\n\twant: %g", out, float32(g), vf)
    			nfail++
    			return
    		}
    
    		bad := badFloatREs
    		if bits == 64 {
    			bad = bad[:len(bad)-2]
    		}
    		for _, re := range bad {
    			if re.MatchString(out) {
    				t.Errorf("Marshal(%T(%g)) = %q; must not match /%s/", vf, vf, out, re)
    				nfail++
    				return
    			}
    		}
    	}
    
    	var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  7. pkg/kube/inject/inject_test.go

    			skipWebhook: true,
    		},
    		{
    			in:            "traffic-annotations-bad-includeipranges.yaml",
    			expectedError: "includeipranges",
    		},
    		{
    			in:            "traffic-annotations-bad-excludeipranges.yaml",
    			expectedError: "excludeipranges",
    		},
    		{
    			in:            "traffic-annotations-bad-includeinboundports.yaml",
    			expectedError: "includeinboundports",
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 20:35:11 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  8. src/runtime/traceruntime.go

    	// usage of the seqlock here, make sure to also look at what traceCPUSample is
    	// doing.
    	seq := mp.trace.seqlock.Add(1)
    	if debugTraceReentrancy && seq%2 != 1 {
    		throw("bad use of trace.seqlock or tracer is reentrant")
    	}
    
    	// N.B. This load of gen appears redundant with the one in traceEnabled.
    	// However, it's very important that the gen we use for writing to the trace
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  9. src/internal/trace/event/go122/event.go

    	switch s {
    	case GoRunnable:
    		return "Runnable"
    	case GoRunning:
    		return "Running"
    	case GoSyscall:
    		return "Syscall"
    	case GoWaiting:
    		return "Waiting"
    	}
    	return "Bad"
    }
    
    type ProcStatus uint8
    
    const (
    	ProcBad ProcStatus = iota
    	ProcRunning
    	ProcIdle
    	ProcSyscall
    	ProcSyscallAbandoned
    )
    
    func (s ProcStatus) String() string {
    	switch s {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  10. src/runtime/export_test.go

    				break
    			}
    			gp.sig++
    		}
    		for j := 0; j < i; j++ {
    			if gs[j].sig != 1 {
    				print("bad element ", j, "(", gs[j].sig, ") at iter ", i, "\n")
    				throw("bad element")
    			}
    		}
    		if s != i/2 && s != i/2+1 {
    			print("bad steal ", s, ", want ", i/2, " or ", i/2+1, ", iter ", i, "\n")
    			throw("bad steal")
    		}
    	}
    }
    
    func RunSchedLocalQueueEmptyTest(iters int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
Back to top