Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for cbad (0.03 sec)

  1. src/bytes/bytes_test.go

    			j := index(buf, 'x')
    			if j != n-1 {
    				b.Fatal("bad index", j)
    			}
    		}
    		buf[n-1] = '\x00'
    	}
    }
    
    func bmIndexRune(index func([]byte, rune) int) func(b *testing.B, n int) {
    	return func(b *testing.B, n int) {
    		buf := bmbuf[0:n]
    		utf8.EncodeRune(buf[n-3:], '世')
    		for i := 0; i < b.N; i++ {
    			j := index(buf, '世')
    			if j != n-3 {
    				b.Fatal("bad index", j)
    			}
    		}
    		buf[n-3] = '\x00'
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 19 19:09:04 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  2. src/bufio/bufio_test.go

    	if isPrefix || err != nil || string(line) != line1 {
    		t.Errorf("bad result for first line: isPrefix=%v err=%v line=%q", isPrefix, err, string(line))
    	}
    	n, err := io.Copy(outbuf, l)
    	if int(n) != len(restData) || err != nil {
    		t.Errorf("bad result for Read: n=%d err=%v", n, err)
    	}
    	if outbuf.String() != restData {
    		t.Errorf("bad result for Read: got %q; expected %q", outbuf.String(), restData)
    	}
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    	}
    	return c.badPointerTypedef(dt)
    }
    
    func (c *typeConv) badCFType(dt *dwarf.TypedefType) bool {
    	// The real bad types are CFNumberRef and CFDateRef.
    	// Sometimes non-pointers are stored in these types.
    	// CFTypeRef is a supertype of those, so it can have bad pointers in it as well.
    	// We return true for the other *Ref types just so casting between them is easier.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  4. cmd/xl-storage_test.go

    			volume: "i-dont-exist",
    			path:   "",
    			err:    errVolumeNotFound,
    		},
    		// TestXLStorage case - 2.
    		// Validate bad condition file does not exist.
    		{
    			volume: "exists",
    			path:   "as-file-not-found",
    			err:    errFileNotFound,
    		},
    		// TestXLStorage case - 3.
    		// Validate bad condition file exists as prefix/directory and
    		// we are attempting to read it.
    		{
    			volume: "exists",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  5. src/main/webapp/js/admin/plugins/daterangepicker/daterangepicker.js

            if (typeof options.maxDate === 'object')
                this.maxDate = moment(options.maxDate);
    
            // sanity check for bad options
            if (this.minDate && this.startDate.isBefore(this.minDate))
                this.startDate = this.minDate.clone();
    
            // sanity check for bad options
            if (this.maxDate && this.endDate.isAfter(this.maxDate))
                this.endDate = this.maxDate.clone();
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 64.8K bytes
    - Viewed (0)
  6. tensorflow/c/c_api.h

                                                  TF_Buffer* output_graph_def,
                                                  TF_Status* status);
    
    // Returns the serialized OpDef proto with name `op_name`, or a bad status if no
    // such op exists. This can return OpDefs of functions copied into the graph.
    TF_CAPI_EXPORT extern void TF_GraphGetOpDef(TF_Graph* graph,
                                                const char* op_name,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  7. src/archive/zip/reader_test.go

    			},
    			{
    				Name:     "bar.txt",
    				Content:  []byte("bar\n"),
    				Modified: time.Date(1979, 11, 30, 0, 0, 0, 0, time.UTC),
    				Mode:     0666,
    			},
    		},
    	},
    	{
    		Name:   "Bad-CRC32-in-data-descriptor",
    		Source: returnCorruptCRC32Zip,
    		File: []ZipTestFile{
    			{
    				Name:       "foo.txt",
    				Content:    []byte("foo\n"),
    				Modified:   time.Date(1979, 11, 30, 0, 0, 0, 0, time.UTC),
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Iterators.java

             * element anymore. Otherwise, when we remove from the old iterator, we may be invalidating
             * the new one. The result is a ConcurrentModificationException or other bad behavior.
             *
             * (If we decide that we really, really hate allocating two Iterators per cycle instead of
             * one, we can optimistically store the new Iterator and then be willing to throw it out if
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     *
     *  * https://example.net/
     *
     *  * https://example.com/
     *
     * This is because those two hosts share the same IP address. This is an old, bad design decision
     * that makes `java.net.URL` unusable for many things. It shouldn't be used as a [Map] key or in a
     * [Set]. Doing so is both inefficient because equality may require a DNS lookup, and incorrect
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

          when (expected) {
            is SocketTimeoutException, is SSLException -> {}
            else -> throw expected
          }
        }
    
        // The second call times out because it uses the same bad connection.
        val call2 = client.newCall(Request(server.url("/")))
        assertFailsWith<SocketTimeoutException> {
          call2.execute()
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
Back to top