Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for mantid (0.3 sec)

  1. istioctl/pkg/authz/analyzer_test.go

    						},
    					},
    				},
    			},
    			wantErr: nil,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			if _, wanted2 := NewAnalyzer(tt.input); wanted2 != nil {
    				t.Errorf("Wanted %v, got %v", tt.wantErr, wanted2)
    			}
    		})
    	}
    }
    
    func TestPrint(t *testing.T) {
    	a := &Analyzer{
    		listenerDump: &envoy_admin.ListenersConfigDump{
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. cmd/erasure-multipart.go

    		partNumber := partI.Number
    		if partID != partNumber {
    			internalLogIf(ctx, fmt.Errorf("part.%d.meta has incorrect corresponding part number: expected %d, got %d", partID, partID, partI.Number))
    			return oi, InvalidPart{
    				PartNumber: partID,
    			}
    		}
    
    		// Add the current part.
    		fi.AddObjectPart(partI.Number, partI.ETag, partI.Size, partI.ActualSize, partI.ModTime, partI.Index, partI.Checksums)
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenArtifactRelocationSource.java

         * @param result The artifact descriptor result, never {@code null}.
         * @param model The artifact model, never {@code null}.
         * @return The {@link Artifact} to relocate to, or {@code null} if no relocation wanted.
         */
        Artifact relocatedTarget(RepositorySystemSession session, ArtifactDescriptorResult result, Model model)
                throws ArtifactDescriptorException;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v2-legacy.go

    	var zb0001 uint32
    	zb0001, bts, err = msgp.ReadArrayHeaderBytes(bts)
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	if zb0001 != 4 {
    		err = msgp.ArrayError{Wanted: 4, Got: zb0001}
    		return
    	}
    	bts, err = msgp.ReadExactBytes(bts, (x.VersionID)[:])
    	if err != nil {
    		err = msgp.WrapError(err, "VersionID")
    		return
    	}
    	x.ModTime, bts, err = msgp.ReadInt64Bytes(bts)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  5. cmd/xl-storage-disk-id-check.go

    // checkID will check if the disk ID matches the provided ID.
    func (p *xlStorageDiskIDCheck) checkID(wantID string) (err error) {
    	if wantID == "" {
    		return nil
    	}
    	id, err := p.storage.GetDiskID()
    	if err != nil {
    		return err
    	}
    	if id != wantID {
    		return fmt.Errorf("disk ID %s does not match. disk reports %s", wantID, id)
    	}
    	return nil
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/body-nested-models.md

        E o `dict` que você recebe como `weights` terá, na verdade, chaves `int` e valores` float`.
    
    ## Recapitulação
    
    Com **FastAPI** você tem a flexibilidade máxima fornecida pelos modelos Pydantic, enquanto seu código é mantido simples, curto e elegante.
    
    Mas com todos os benefícios:
    
    * Suporte do editor (compleção em todo canto!)
    * Conversão de dados (leia-se parsing/serialização)
    * Validação de dados
    * Documentação dos esquemas
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  7. cmd/object-api-interface.go

    	CopyObjectPart(ctx context.Context, srcBucket, srcObject, destBucket, destObject string, uploadID string, partID int,
    		startOffset int64, length int64, srcInfo ObjectInfo, srcOpts, dstOpts ObjectOptions) (info PartInfo, err error)
    	PutObjectPart(ctx context.Context, bucket, object, uploadID string, partID int, data *PutObjReader, opts ObjectOptions) (info PartInfo, err error)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  8. istioctl/pkg/ztunnelconfig/ztunnelconfig_test.go

    		t.Fatalf("Output didn't match for '%s %s'\n got %v\nwant: %v", cmd.Name(), strings.Join(c.args, " "), output, c.expectedString)
    	}
    
    	if c.wantException {
    		if fErr == nil {
    			t.Fatalf("Wanted an exception for 'istioctl %s', didn't get one, output was %q",
    				strings.Join(c.args, " "), output)
    		}
    	} else {
    		if fErr != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  9. cmd/storage-rest-server.go

    	return true
    }
    
    // checkID - check if the disk-id in the request corresponds to the underlying disk.
    func (s *storageRESTServer) checkID(wantID string) bool {
    	if s.getStorage() == nil {
    		return false
    	}
    	if wantID == "" {
    		// Request sent empty disk-id, we allow the request
    		// as the peer might be coming up and trying to read format.json
    		// or create format.json
    		return true
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultInheritanceAssembler.java

            String adjustment = "";
    
            if (parent != null) {
                String childName = child.getArtifactId();
    
                /*
                 * This logic (using filesystem, against wanted independence from the user environment) exists only for the
                 * sake of backward-compat with 2.x (MNG-5000). In general, it is wrong to
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 13.8K bytes
    - Viewed (0)
Back to top