Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for IsLocal (0.19 sec)

  1. cmd/endpoint_test.go

    			Endpoint{URL: case4URLs[1], IsLocal: case4LocalFlags[1]},
    			Endpoint{URL: case4URLs[2], IsLocal: case4LocalFlags[2]},
    			Endpoint{URL: case4URLs[3], IsLocal: case4LocalFlags[3]},
    		}, DistErasureSetupType, nil},
    
    		{":9000", []string{case5Endpoint1, case5Endpoint2, case5Endpoint3, case5Endpoint4}, ":9000", Endpoints{
    			Endpoint{URL: case5URLs[0], IsLocal: case5LocalFlags[0]},
    			Endpoint{URL: case5URLs[1], IsLocal: case5LocalFlags[1]},
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Jan 13 07:53:03 GMT 2024
    - 18.9K bytes
    - Viewed (1)
  2. cmd/endpoint.go

    type Node struct {
    	*url.URL
    	Pools    []int
    	IsLocal  bool
    	GridHost string
    }
    
    // Endpoint - any type of endpoint.
    type Endpoint struct {
    	*url.URL
    	IsLocal bool
    
    	PoolIdx, SetIdx, DiskIdx int
    }
    
    // Equal returns true if endpoint == ep
    func (endpoint Endpoint) Equal(ep Endpoint) bool {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt

        if (!shouldApproximateAnonymousTypesOfNonLocalDeclaration(visibilityForApproximation, isInlineFunction)) return false
        val localTypes: List<ConeKotlinType> = if (isLocal(session)) listOf(this) else {
            typeArguments.mapNotNull {
                if (it is ConeKotlinTypeProjection && it.type.isLocal(session)) {
                    it.type
                } else null
            }
        }
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 12 13:29:57 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/FirJavaDeclaredMembersOnlyScope.kt

     */
    
    package org.jetbrains.kotlin.analysis.api.fir.scopes
    
    import org.jetbrains.kotlin.fir.declarations.*
    import org.jetbrains.kotlin.fir.declarations.utils.classId
    import org.jetbrains.kotlin.fir.declarations.utils.isLocal
    import org.jetbrains.kotlin.fir.java.declarations.FirJavaClass
    import org.jetbrains.kotlin.fir.resolve.substitution.ConeSubstitutor
    import org.jetbrains.kotlin.fir.scopes.*
    import org.jetbrains.kotlin.fir.symbols.impl.*
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Oct 10 13:38:00 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  5. cmd/lock-rest-client.go

    // IsOnline - returns whether REST client failed to connect or not.
    func (c *lockRESTClient) IsOnline() bool {
    	return c.connection.State() == grid.StateConnected
    }
    
    // Not a local locker
    func (c *lockRESTClient) IsLocal() bool {
    	return false
    }
    
    // Close - marks the client as closed.
    func (c *lockRESTClient) Close() error {
    	return nil
    }
    
    // String - returns the remote host of the connection.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Nov 24 17:07:14 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

                return !(isLocal(url.getHost()) || url.getProtocol().equals("file"));
            } catch (MalformedURLException e) {
                // bad url just skip it here. It should have been validated already, but the wagon lookup will deal with it
                return false;
            }
        }
    
        private static boolean isLocal(String host) {
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 8K bytes
    - Viewed (0)
  7. cmd/admin-handlers-pools.go

    	// first node. The following is required to serialize (the effects of)
    	// concurrent rebalance-start commands.
    	if ep := globalEndpoints[0].Endpoints[0]; !ep.IsLocal {
    		for nodeIdx, proxyEp := range globalProxyEndpoints {
    			if proxyEp.Endpoint.Host == ep.Host {
    				if proxyRequestByNodeIndex(ctx, w, r, nodeIdx) {
    					return
    				}
    			}
    		}
    	}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  8. cmd/erasure-common.go

    	// Based on the random shuffling return back randomized disks.
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    
    	for _, i := range r.Perm(len(disks)) {
    		if disks[i] != nil && disks[i].IsLocal() {
    			newDisks = append(newDisks, disks[i])
    		}
    	}
    
    	return newDisks
    }
    
    func (er erasureObjects) getLocalDisks() (newDisks []StorageAPI) {
    	disks := er.getDisks()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/pointers/KtFe10DescFunctionLikeSymbolPointer.kt

            val className = callableId.className
            val memberScope = if (className != null) {
                val outerClassId = ClassId(callableId.packageName, className, isLocal = false)
                analysisContext.resolveSession.moduleDescriptor.findClassAcrossModuleDependencies(outerClassId)
                    ?.unsubstitutedMemberScope
                    ?: MemberScope.Empty
            } else {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Sep 21 12:40:44 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirConstructorSymbol.kt

        }
    
        override val containingClassIdIfNonLocal: ClassId?
            get() = withValidityAssertion { firSymbol.containingClassLookupTag()?.classId?.takeUnless { it.isLocal } }
    
        override val isPrimary: Boolean get() = withValidityAssertion { firSymbol.isPrimary }
        override val isActual: Boolean get() = withValidityAssertion { firSymbol.isActual }
    Plain Text
    - Registered: Fri Feb 23 08:18:11 GMT 2024
    - Last Modified: Tue Nov 07 09:06:00 GMT 2023
    - 4K bytes
    - Viewed (0)
Back to top