Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 656 for an (0.15 sec)

  1. cmd/admin-heal-ops.go

    // sequence automatically resumes. The return value indicates if the
    // operation succeeded.
    func (h *healSequence) pushHealResultItem(r madmin.HealResultItem) error {
    	// start a timer to keep an upper time limit to find an empty
    	// slot to add the given heal result - if no slot is found it
    	// means that the server is holding the maximum amount of
    	// heal-results in memory and the client has not consumed it
    	// for too long.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  2. internal/bucket/replication/datatypes_gen.go

    		var zb0001 string
    		zb0001, bts, err = msgp.ReadStringBytes(bts)
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		(*z) = StatusType(zb0001)
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z StatusType) Msgsize() (s int) {
    	s = msgp.StringPrefixSize + len(string(z))
    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/envoy/clusters/clusters.go

    		return "unix://" + pipe.Path
    	}
    	if internal := host.Address.GetEnvoyInternalAddress(); internal != nil {
    		switch an := internal.GetAddressNameSpecifier().(type) {
    		case *core.EnvoyInternalAddress_ServerListenerName:
    			return fmt.Sprintf("envoy://%s/%s", an.ServerListenerName, internal.EndpointId)
    		}
    	}
    	return "unknown"
    }
    
    func retrieveEndpointPort(l *admin.HostStatus) uint32 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 5.8K bytes
    - Viewed (0)
  4. cmd/crossdomain-xml-handler.go

    // Standard path where an app would find cross domain policy information.
    const crossDomainXMLEntity = "/crossdomain.xml"
    
    // A cross-domain policy file is an XML document that grants a web client, such as Adobe Flash Player
    // or Adobe Acrobat (though not necessarily limited to these), permission to handle data across domains.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 18 06:42:40 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  5. cmd/api-errors_test.go

    		}
    	}
    }
    
    // Check if an API error is properly defined
    func TestAPIErrCodeDefinition(t *testing.T) {
    	for errAPI := ErrNone + 1; errAPI < apiErrCodeEnd; errAPI++ {
    		errCode, ok := errorCodes[errAPI]
    		if !ok {
    			t.Fatal(errAPI, "error code is not defined in the API error code table")
    		}
    		if errCode.Code == "" {
    			t.Fatal(errAPI, "error code has an empty XML code")
    		}
    		if errCode.HTTPStatusCode == 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 25 15:13:08 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  6. internal/http/dial_dnscache.go

    // DialContextWithLookupHost is a helper function which returns `net.DialContext` function.
    // It randomly fetches an IP via custom LookupHost function and dials it by the given dial
    // function. LookupHost may implement an internal DNS caching implementation, lookupHost
    // input if nil then net.DefaultResolver.LookupHost is used.
    //
    // It dials one by one and returns first connected `net.Conn`.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jul 03 19:30:51 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  7. internal/crypto/doc.go

    // with customer provided keys (SSE-C).
    //
    // All objects are encrypted with an unique and randomly generated 'ObjectKey'.
    // The ObjectKey itself is never stored in plaintext. Instead it is only stored
    // in a sealed from. The sealed 'ObjectKey' is created by encrypting the 'ObjectKey'
    // with an unique key-encryption-key. Given the correct key-encryption-key the
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Aug 26 19:52:29 GMT 2022
    - 5K bytes
    - Viewed (0)
  8. chainable_api.go

    //
    // Attrs only adds attributes if the record is not found.
    //
    //	// assign an email if the record is not found
    //	db.Where(User{Name: "non_existing"}).Attrs(User{Email: "******@****.***"}).FirstOrInit(&user)
    //	// user -> User{Name: "non_existing", Email: "******@****.***"}
    //
    //	// assign an email if the record is not found, otherwise ignore provided email
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
  9. istioctl/pkg/util/formatting/formatter.go

    // You may obtain a copy of the License at
    //
    //     http://www.apache.org/licenses/LICENSE-2.0
    //
    // Unless required by applicable law or agreed to in writing, software
    // distributed under the License is distributed on an "AS IS" BASIS,
    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package formatting
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jul 11 02:41:45 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/server.go

    	if err != nil {
    		return nil, fmt.Errorf("failed creating kube client: %v", err)
    	}
    
    	return client, nil
    }
    
    // createHostsideProbeIpset creates an ipset. This is designed to be called from the host netns.
    // Note that if the ipset already exist by name, Create will not return an error.
    //
    // We will unconditionally flush our set before use here, so it shouldn't matter.
    func createHostsideProbeIpset(isV6 bool) (ipset.IPSet, error) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
Back to top