Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Nibbler (0.25 sec)

  1. tests/test_response_model_data_filter.py

            hashed_password="secrethashed",
        )
        pet = PetDB(name="Nibbler", owner=user)
        return pet
    
    
    @app.get("/pets/", response_model=List[PetOut])
    async def read_pets():
        user = UserDB(
            email="******@****.***",
            hashed_password="secrethashed",
        )
        pet1 = PetDB(name="Nibbler", owner=user)
        pet2 = PetDB(name="Zoidberg", owner=user)
        return [pet1, pet2]
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. tests/test_response_model_data_filter_no_inheritance.py

            hashed_password="secrethashed",
        )
        pet = PetDB(name="Nibbler", owner=user)
        return pet
    
    
    @app.get("/pets/", response_model=List[PetOut])
    async def read_pets():
        user = UserDB(
            email="******@****.***",
            hashed_password="secrethashed",
        )
        pet1 = PetDB(name="Nibbler", owner=user)
        pet2 = PetDB(name="Zoidberg", owner=user)
        return [pet1, pet2]
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. misc/cgo/gmp/fib.go

    	if n == 0 {
    		c <- i
    	}
    	for {
    		j := <-c
    		out <- j.String()
    		i.Add(i, j)
    		c <- i
    	}
    }
    
    func main() {
    	c := make(chan *big.Int)
    	out := make(chan string)
    	go fibber(c, out, 0)
    	go fibber(c, out, 1)
    	for i := 0; i < 200; i++ {
    		println(<-out)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 10 22:32:35 UTC 2023
    - 919 bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/teststdio/testdata/fib.go

    		j := <-c
    		stdio.Stdout.WriteString(strconv.FormatInt(j, 10) + "\n")
    		out <- j
    		<-out
    		i += j
    		c <- i
    	}
    }
    
    func main() {
    	c := make(chan int64)
    	out := make(chan int64)
    	go fibber(c, out, 0)
    	go fibber(c, out, 1)
    	<-out
    	for i := 0; i < 90; i++ {
    		out <- 1
    		<-out
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 965 bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/utils/low_bit_utils.h

    // stored in 8-bit.
    // Returns a new buffer that is packed densely with 2 4-bit values in a byte.
    // The packing format is low-bits-first, i.e. the lower nibble of a byte is
    // filled first, followed by the upper nibble.
    std::vector<uint8_t> PackInt4ValuesDensely(std::vector<uint8_t> src_buffer);
    
    // Assumes `src_buffer` contains 2 4-bit elements packed in 8-bit.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 12 20:13:51 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_xla_attribute_utils.h

                                         ArrayAttr explicit_paddings,
                                         Value &padding, int num_dims = 4);
    
    // Given value that is in 8bit type, but holds 4bit data in unpacked format,
    // pack to nibble format along pack_dim.
    // If the pack_dim size is odd, add 1-size 0 padding and then pack.
    Value PackOperand(OpBuilder &builder, Location loc, Value value, int pack_dim);
    
    }  // namespace mlir::quant
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/utils/low_bit_utils.cc

      for (int i = 0; i < num_elements - 1; i += 2) {
        packed_buffer[i / 2] = src_buffer[i] & 0x0F;
        packed_buffer[i / 2] |= src_buffer[i + 1] << 4;
      }
    
      // Copy the final nibble if the buffer is odd-lengthed
      if (num_elements % 2 != 0) {
        packed_buffer[packed_size - 1] = src_buffer[num_elements - 1] & 0x0F;
      }
    
      return packed_buffer;
    }
    
    std::vector<char> UnpackDenseInt4IntoInt8(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 04 19:11:58 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. pkg/registry/core/service/ipallocator/ipallocator_test.go

    		},
    		{
    			name:    "IPv4 offset 0 not nibble boundary",
    			address: netip.MustParseAddr("192.168.0.11"),
    			offset:  0,
    			want:    netip.MustParseAddr("192.168.0.11"),
    		},
    		{
    			name:    "IPv4 offset 1",
    			address: netip.MustParseAddr("192.168.0.0"),
    			offset:  1,
    			want:    netip.MustParseAddr("192.168.0.1"),
    		},
    		{
    			name:    "IPv4 offset 1 not nibble boundary",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jun 25 13:14:46 UTC 2023
    - 24.2K bytes
    - Viewed (0)
  9. src/net/http/cgi/host_test.go

    		Dir:  cwd,
    		Env: []string{
    			"SCRIPT_FILENAME=" + cgifile,
    			"REQUEST_URI=/foo/bar",
    			"PATH=/wibble"},
    	}
    	expectedMap := map[string]string{
    		"cwd":                 cwd,
    		"env-SCRIPT_FILENAME": cgifile,
    		"env-REQUEST_URI":     "/foo/bar",
    		"env-PATH":            "/wibble",
    	}
    	runCgiTest(t, h, "GET /test.cgi HTTP/1.0\nHost: example.com\n\n", expectedMap)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 18:29:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/text/internal/language/compact/language.go

    			return x, exact
    		}
    	}
    	for t = t.Parent(); t != root; t = t.Parent() {
    		// No variants specified: just compare core components.
    		// The key has the form lllssrrr, where l, s, and r are nibbles for
    		// respectively the langID, scriptID, and regionID.
    		if x, ok := getCoreIndex(t); ok {
    			return x, exact
    		}
    	}
    	return 0, exact
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top