Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for elts (0.96 sec)

  1. src/go/ast/filter.go

    		removedFields = true
    	}
    	fields.List = list[0:j]
    	return
    }
    
    func filterCompositeLit(lit *CompositeLit, filter Filter, export bool) {
    	n := len(lit.Elts)
    	lit.Elts = filterExprList(lit.Elts, filter, export)
    	if len(lit.Elts) < n {
    		lit.Incomplete = true
    	}
    }
    
    func filterExprList(list []Expr, filter Filter, export bool) []Expr {
    	j := 0
    	for _, exp := range list {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/copylock/copylock.go

    			}
    		}
    	}
    }
    
    // checkCopyLocksCompositeLit detects lock copy inside a composite literal
    func checkCopyLocksCompositeLit(pass *analysis.Pass, cl *ast.CompositeLit) {
    	for _, x := range cl.Elts {
    		if node, ok := x.(*ast.KeyValueExpr); ok {
    			x = node.Value
    		}
    		if path := lockPathRhs(pass, x); path != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. src/go/printer/printer_test.go

    		panic(err)
    	}
    
    	// Replace the result with call(), which is on the next line.
    	fd := file.Decls[0].(*ast.FuncDecl)
    	ret := fd.Body.List[0].(*ast.ReturnStmt)
    	ret.Results[0] = ret.Results[0].(*ast.CompositeLit).Elts[0]
    
    	var buf bytes.Buffer
    	if err := Fprint(&buf, fset, ret); err != nil {
    		t.Fatal(err)
    	}
    	want := "return call()"
    	if got := buf.String(); got != want {
    		t.Fatalf("got %q, want %q", got, want)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  4. docs/pt/docs/async.md

    ---
    
    **Note**: Você pode misturar `def` e `async def` nas suas *funções de operação de rota* tanto quanto necessário e definir cada função usando a melhor opção para você. FastAPI irá fazer a coisa certa com elas.
    
    De qualquer forma, em ambos os casos acima, FastAPI irá trabalhar assincronamente e ser extremamente rápido.
    
    Seguindo os passos acima, ele será capaz de fazer algumas otimizações de performance.
    
    ## Detalhes Técnicos
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  5. docs/pt/docs/deployment/docker.md

    E então você pode definir esses mesmos limites e requisitos de memória em suas configurações para seu sistema de gerenciamento de contêineres (por exemplo, no **Kubernetes**). Dessa forma, ele poderá **replicar os contêineres** nas **máquinas disponíveis** levando em consideração a quantidade de memória necessária por eles e a quantidade disponível nas máquinas no cluster.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  6. pkg/scheduler/scheduler_test.go

    			fwk, err := newFramework(ctx, registry, profile)
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			exts := fwk.EnqueueExtensions()
    			// need to sort to make the test result stable.
    			sort.Slice(exts, func(i, j int) bool {
    				return exts[i].Name() < exts[j].Name()
    			})
    
    			got := buildQueueingHintMap(exts)
    
    			for e, fns := range got {
    				wantfns, ok := tt.want[e]
    				if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 42K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Ordering.java

       * Collections#reverseOrder(Comparator)}.
       *
       * <p><b>Java 8+ users:</b> Use {@code thisComparator.reversed()} instead.
       */
      // type parameter <S> lets us avoid the extra <String> in statements like:
      // Ordering<String> o = Ordering.<String>natural().reverse();
      @GwtCompatible(serializable = true)
      public <S extends T> Ordering<S> reverse() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Ordering.java

       * Collections#reverseOrder(Comparator)}.
       *
       * <p><b>Java 8+ users:</b> Use {@code thisComparator.reversed()} instead.
       */
      // type parameter <S> lets us avoid the extra <String> in statements like:
      // Ordering<String> o = Ordering.<String>natural().reverse();
      @GwtCompatible(serializable = true)
      public <S extends T> Ordering<S> reverse() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  9. pkg/kubelet/volumemanager/reconciler/reconciler_common.go

    		}
    	}
    }
    
    func (rc *reconciler) waitForVolumeAttach(volumeToMount cache.VolumeToMount) {
    	logger := klog.TODO()
    	if rc.controllerAttachDetachEnabled || !volumeToMount.PluginIsAttachable {
    		//// lets not spin a goroutine and unnecessarily trigger exponential backoff if this happens
    		if volumeToMount.PluginIsAttachable && !volumeToMount.ReportedInUse {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:23:12 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  10. docs/pt/docs/features.md

    * Suporte para sistemas de autenticação complexos, **conexões com banco de dados** etc.
    * **Sem comprometer** os bancos de dados, _frontends_ etc. Mas fácil integração com todos eles.
    
    ### "Plug-ins" ilimitados
    
    Ou, de outra forma, sem a necessidade deles, importe e use o código que precisar.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top