Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for strl (0.05 sec)

  1. tensorflow/c/c_api_function_test.cc

      }
    
      // Caller must delete[] the returned value
      static const char** ToArray(const std::vector<string>& strs) {
        const char** ptr = nullptr;
        if (!strs.empty()) {
          ptr = new const char*[strs.size()];
          for (size_t i = 0; i < strs.size(); ++i) {
            ptr[i] = strs[i].c_str();
          }
        }
        return ptr;
      }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  2. fastapi/param_functions.py

                """
            ),
        ] = _Unset,
        # TODO: update when deprecating Pydantic v1, import these types
        # validation_alias: str | AliasPath | AliasChoices | None
        validation_alias: Annotated[
            Union[str, None],
            Doc(
                """
                'Whitelist' validation step. The parameter field will be the single one
                allowed by the alias or set of aliases defined.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 62.5K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    	for _, call := range f.Calls {
    		if call.Done {
    			continue
    		}
    		start := f.offset(call.Call.Pos())
    		end := f.offset(call.Call.End())
    		str, nu := p.rewriteCall(f, call)
    		if str != "" {
    			f.Edit.Replace(start, end, str)
    			if nu {
    				needsUnsafe = true
    			}
    		}
    	}
    	return needsUnsafe
    }
    
    // rewriteCall rewrites one call to add pointer checks.
    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. src/cmd/asm/internal/asm/testdata/arm.s

    	SRL.S	$31, R5, R6          // a56fb0e1
    	SRL	$14, R5              // 2557a0e1
    	SRL	$15, R5              // a557a0e1
    	SRL	$30, R5              // 255fa0e1
    	SRL	$31, R5              // a55fa0e1
    	SRL.S	$14, R5              // 2557b0e1
    	SRL.S	$15, R5              // a557b0e1
    	SRL.S	$30, R5              // 255fb0e1
    	SRL.S	$31, R5              // a55fb0e1
    	SRL	R5, R6, R7           // 3675a0e1
    	SRL.S	R5, R6, R7           // 3675b0e1
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 15 20:51:01 UTC 2023
    - 69K bytes
    - Viewed (0)
  5. tests/test_generate_unique_id_function.py

        return f"bar_{route.name}"
    
    
    def custom_generate_unique_id3(route: APIRoute):
        return f"baz_{route.name}"
    
    
    class Item(BaseModel):
        name: str
        price: float
    
    
    class Message(BaseModel):
        title: str
        description: str
    
    
    def test_top_level_generate_unique_id():
        app = FastAPI(generate_unique_id_function=custom_generate_unique_id)
        router = APIRouter()
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jan 13 15:10:26 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  6. src/bufio/bufio_test.go

    	b.ReportAllocs()
    	str := strings.Repeat("x", 16<<10)
    	for i := 0; i < b.N; i++ {
    		br := NewReader(strings.NewReader(str))
    		n, err := io.Copy(io.Discard, br)
    		if err != nil {
    			b.Fatal(err)
    		}
    		if n != int64(len(str)) {
    			b.Fatal("wrong length")
    		}
    	}
    }
    
    func BenchmarkWriterEmpty(b *testing.B) {
    	b.ReportAllocs()
    	str := strings.Repeat("x", 1<<10)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool.go

    func (hr HealthResult) String() string {
    	var str strings.Builder
    	for i, es := range hr.ESHealth {
    		str.WriteString("(Pool: ")
    		str.WriteString(strconv.Itoa(es.PoolID))
    		str.WriteString(" Set: ")
    		str.WriteString(strconv.Itoa(es.SetID))
    		str.WriteString(" Healthy: ")
    		str.WriteString(strconv.FormatBool(es.Healthy))
    		if i == 0 {
    			str.WriteString(")")
    		} else {
    			str.WriteString(") | ")
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  8. tests/test_application.py

                                "name": "item_id",
                                "in": "path",
                            }
                        ],
                    }
                },
                "/path/str/{item_id}": {
                    "get": {
                        "responses": {
                            "200": {
                                "description": "Successful Response",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 52.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Multimaps.java

       *     Stream.of("banana", "apple", "carrot", "asparagus", "cherry")
       *         .collect(
       *             toMultimap(
       *                  str -> str.charAt(0),
       *                  str -> str.substring(1),
       *                  MultimapBuilder.treeKeys().arrayListValues()::build));
       *
       * // is equivalent to
       *
       * static final ListMultimap<Character, String> FIRST_LETTER_MULTIMAP;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  10. docs/bucket/notifications/README.md

    result = channel.queue_declare(exclusive=False)
    queue_name = result.method.queue
    
    channel.queue_bind(exchange='bucketevents',
                       queue=queue_name)
    
    print(' [*] Waiting for logs. To exit press CTRL+C')
    
    def callback(ch, method, properties, body):
        print(" [x] %r" % body)
    
    channel.basic_consume(callback,
                          queue=queue_name,
                          no_ack=False)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 84K bytes
    - Viewed (0)
Back to top