Search Options

Results per page
Sort
Preferred Languages
Advance

Results 631 - 640 of 744 for switch_a (0.06 sec)

  1. internal/ringbuffer/ring_buffer.go

    	}()
    	return r
    }
    
    func (r *RingBuffer) setErr(err error, locked bool) error {
    	if !locked {
    		r.mu.Lock()
    		defer r.mu.Unlock()
    	}
    	if r.err != nil && r.err != io.EOF {
    		return r.err
    	}
    
    	switch err {
    	// Internal errors are transient
    	case nil, ErrIsEmpty, ErrIsFull, ErrAcquireLock, ErrTooMuchDataToWrite, ErrIsNotEmpty:
    		return err
    	default:
    		r.err = err
    		if r.block {
    			r.readCond.Broadcast()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. istioctl/pkg/multicluster/remote_secret_test.go

    				}
    			} else if c.wantErrStr == "" && err != nil {
    				tt.Fatalf("wanted non-error but got %q", err)
    			} else if c.want != "" {
    				var secretName, key string
    				switch c.secType {
    				case SecretTypeConfig:
    					secretName = configSecretName
    					key = configSecretKey
    				default:
    					secretName = remoteSecretPrefix + string(kubeSystemNamespaceUID)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  3. cmd/object-api-interface.go

    func (o *ObjectOptions) SetDeleteReplicationState(dsc ReplicateDecision, vID string) {
    	o.DeleteReplication = ReplicationState{
    		ReplicateDecisionStr: dsc.String(),
    	}
    	switch {
    	case o.VersionID == "":
    		o.DeleteReplication.ReplicationStatusInternal = dsc.PendingStatus()
    		o.DeleteReplication.Targets = replicationStatusesMap(o.DeleteReplication.ReplicationStatusInternal)
    	default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  4. src/bytes/example_test.go

    	fmt.Println(bytes.LastIndexFunc([]byte("go gopher!"), unicode.IsNumber))
    	// Output:
    	// 8
    	// 9
    	// -1
    }
    
    func ExampleMap() {
    	rot13 := func(r rune) rune {
    		switch {
    		case r >= 'A' && r <= 'Z':
    			return 'A' + (r-'A'+13)%26
    		case r >= 'a' && r <= 'z':
    			return 'a' + (r-'a'+13)%26
    		}
    		return r
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 07 17:22:36 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  5. src/main/webapp/js/admin/popper.min.js.map

    boundariesElement: 'viewport',\n    /**\n     * @prop {Boolean} flipVariations=false\n     * The popper will switch placement variation between `-start` and `-end` when\n     * the reference element overlaps its boundaries.\n     *\n     * The original placement should have a set variation.\n     */\n    flipVariations: false,\n    /**\n     * @prop {Boolean} flipVariationsByContent=false\n     * The popper will switch placement variation between `-start` and `-end` when\n     * the popper element overlaps its reference...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 120.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

      @SuppressWarnings("ThreadPriorityCheck") // TODO: b/175898629 - Consider onSpinWait.
      void awaitTimedWaiting(Thread thread) {
        while (true) {
          switch (thread.getState()) {
            case BLOCKED:
            case NEW:
            case RUNNABLE:
            case WAITING:
              Thread.yield();
              break;
            case TIMED_WAITING:
              return;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  7. cmd/erasure-decode_test.go

    			}
    			for j := range disks[:test.offDisks] {
    				if bitrotReaders[j] == nil {
    					continue
    				}
    				switch r := bitrotReaders[j].(type) {
    				case *wholeBitrotReader:
    					r.disk = badDisk{nil}
    				case *streamingBitrotReader:
    					r.disk = badDisk{nil}
    				}
    			}
    			if test.offDisks > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

            int length = in.length, prefixLen = 0, state = 0;
    
            /*
             * The canonicalization routine
             */
            for ( int i = 0; i < length; i++ ) {
                switch ( state ) {
                case 0:
                    if ( in[ i ] != '/' ) {
                        // Checked exception (e.g. MalformedURLException) would be better
                        // but this would be a nightmare API wise
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:24:53 UTC 2019
    - 23.9K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            this.ideWorkspaceReader = ideWorkspaceReader;
            this.defaultSessionFactory = defaultSessionFactory;
            this.projectSelector = new ProjectSelector(); // if necessary switch to DI
        }
    
        @Override
        public MavenExecutionResult execute(MavenExecutionRequest request) {
            MavenExecutionResult result;
    
            try {
                result = doExecute(request);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  10. cmd/admin-handlers-idp-ldap.go

    			}
    			if foundResult == nil {
    				continue
    			}
    			ldapUserList = append(ldapUserList, foundResult.NormDN)
    		}
    	}
    
    	listType := r.Form.Get("listType")
    	var listSTSKeys, listServiceAccounts bool
    	switch listType {
    	case madmin.AccessKeyListUsersOnly:
    		listSTSKeys = false
    		listServiceAccounts = false
    	case madmin.AccessKeyListSTSOnly:
    		listSTSKeys = true
    		listServiceAccounts = false
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 19.1K bytes
    - Viewed (0)
Back to top