Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 704 for switch_b (0.17 sec)

  1. src/archive/tar/writer_test.go

    		t.Run(path.Base(v.file), func(t *testing.T) {
    			const maxSize = 10 << 10 // 10KiB
    			buf := new(bytes.Buffer)
    			tw := NewWriter(iotest.TruncateWriter(buf, maxSize))
    
    			for i, tf := range v.tests {
    				switch tf := tf.(type) {
    				case testHeader:
    					err := tw.WriteHeader(&tf.hdr)
    					if !equalError(err, tf.wantErr) {
    						t.Fatalf("test %d, WriteHeader() = %v, want %v", i, err, tf.wantErr)
    					}
    				case testWrite:
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/role/AdminRoleAction.java

        //                                                                        ============
        private static OptionalEntity<Role> getEntity(final CreateForm form) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new Role()).map(entity -> {
                    entity.setId(Base64.getUrlEncoder().encodeToString(form.name.getBytes(Constants.CHARSET_UTF_8)));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/utils/Os.java

                        // be a muchness. Maven doesnt run on CE, anyway.
                        || actualOsName.contains("ce"));
                isNT = !is9x;
            }
            switch (family) {
                case FAMILY_WINDOWS:
                    return isWindows;
                case FAMILY_WIN9X:
                    return isWindows && is9x;
                case FAMILY_NT:
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. cmd/metacache-set_gen.go

    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "ID":
    			z.ID, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "ID")
    				return
    			}
    		case "Bucket":
    			z.Bucket, err = dc.ReadString()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 19 20:23:12 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. cmd/object-multipart-handlers.go

    	}
    
    	// if Content-Length is unknown/missing, throw away
    	size := r.ContentLength
    
    	rAuthType := getRequestAuthType(r)
    	// For auth type streaming signature, we need to gather a different content length.
    	switch rAuthType {
    	// Check signature types that must have content length
    	case authTypeStreamingSigned, authTypeStreamingSignedTrailer, authTypeStreamingUnsignedTrailer:
    		if sizeStr, ok := r.Header[xhttp.AmzDecodedContentLength]; ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  6. cmd/data-usage-cache.go

    		if err != nil {
    			switch err.(type) {
    			case ObjectNotFound, BucketNotFound:
    				r, err = store.GetObjectNInfo(ctx, dataUsageBucket, name, nil, http.Header{}, ObjectOptions{NoLock: true})
    				if err != nil {
    					switch err.(type) {
    					case ObjectNotFound, BucketNotFound:
    						return false, nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  7. cmd/metrics-v3-types.go

    const rangeL = "range"
    
    func (mt MetricType) String() string {
    	switch mt {
    	case CounterMT:
    		return "counter"
    	case GaugeMT:
    		return "gauge"
    	case HistogramMT:
    		return "histogram"
    	default:
    		return "*unknown*"
    	}
    }
    
    func (mt MetricType) toProm() prometheus.ValueType {
    	switch mt {
    	case CounterMT:
    		return prometheus.CounterValue
    	case GaugeMT:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 30 22:28:46 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

            String domain = getDefaultDomain();
            setDomain(domain);
            String user = getDefaultUser();
            setUser(user);
            String password = getDefaultPassword();
            switch (LM_COMPATIBILITY) {
            case 0:
            case 1:
                setLMResponse(getLMResponse(type2, password));
                setNTResponse(getNTResponse(type2, password));
                break;
            case 2:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/NameServiceClientImpl.java

             * with the addr parameter we fall into this resolveOrder routine.
             */
    
            for ( ResolverType resolverType : this.resolveOrder ) {
                try {
                    switch ( resolverType ) {
                    case RESOLVER_LMHOSTS:
                        NbtAddress ans = this.lmhosts.getByName(name, this.transportContext);
                        if ( ans != null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/AbstractIterator.java

      @CheckForNull
      protected final T endOfData() {
        state = State.DONE;
        return null;
      }
    
      @Override
      public final boolean hasNext() {
        checkState(state != State.FAILED);
        switch (state) {
          case DONE:
            return false;
          case READY:
            return true;
          default:
        }
        return tryToComputeNext();
      }
    
      private boolean tryToComputeNext() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Mar 18 02:04:10 UTC 2022
    - 6.4K bytes
    - Viewed (0)
Back to top