Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 3,270 for switch (0.03 sec)

  1. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

            }
    
            Enumeration<?> fields = sequence.getObjects();
            while (fields.hasMoreElements()) {
                ASN1TaggedObject tagged = ASN1Util.as(ASN1TaggedObject.class, fields);
    
                switch (tagged.getTagNo()) {
                case 0: // Ticket Flags
                    break;
                case 1: // Key
                    break;
                case 2: // Realm
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/PreauthIntegrityService.java

                }
            }
        }
    
        /**
         * Constructs a PreauthIntegrityService with default configuration.
         */
        public PreauthIntegrityService() {
            this(new SecureRandom(), DEFAULT_HASH_ALGORITHM, true);
        }
    
        /**
         * Constructs a PreauthIntegrityService with specified configuration.
         *
         * @param secureRandom the secure random generator
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  3. .teamcity/mvnw

    # or more contributor license agreements.  See the NOTICE file
    # distributed with this work for additional information
    # regarding copyright ownership.  The ASF licenses this file
    # to you under the Apache License, Version 2.0 (the
    # "License"); you may not use this file except in compliance
    # with the License.  You may obtain a copy of the License at
    #
    #    http://www.apache.org/licenses/LICENSE-2.0
    #
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 9.8K bytes
    - Viewed (0)
  4. cmd/copy-part-range.go

    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"net/http"
    	"net/url"
    )
    
    // Writes S3 compatible copy part range error.
    func writeCopyPartErr(ctx context.Context, w http.ResponseWriter, err error, url *url.URL) {
    	switch err {
    	case errInvalidRange:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jun 18 03:27:04 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  5. callbacks/callmethod.go

    	"gorm.io/gorm"
    )
    
    func callMethod(db *gorm.DB, fc func(value interface{}, tx *gorm.DB) bool) {
    	tx := db.Session(&gorm.Session{NewDB: true})
    	if called := fc(db.Statement.ReflectValue.Interface(), tx); !called {
    		switch db.Statement.ReflectValue.Kind() {
    		case reflect.Slice, reflect.Array:
    			db.Statement.CurDestIndex = 0
    			for i := 0; i < db.Statement.ReflectValue.Len(); i++ {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sat Feb 18 01:20:29 UTC 2023
    - 846 bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

      }
    
      private static <K, V> ImmutableMap<K, V> fromEntryList(
          boolean throwIfDuplicateKeys, Collection<? extends Entry<? extends K, ? extends V>> entries) {
        int size = entries.size();
        switch (size) {
          case 0:
            return of();
          case 1:
            Entry<? extends K, ? extends V> entry = getOnlyElement(entries);
            return of((K) entry.getKey(), (V) entry.getValue());
          default:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/net/HttpHeadersTest.java

        for (Field field : HttpHeaders.class.getDeclaredFields()) {
          /*
           * Coverage mode generates synthetic fields.  If we ever add private
           * fields, they will cause similar problems, and we may want to switch
           * this check to isAccessible().
           */
          if (!field.isSynthetic() && field.getType() == String.class) {
            builder.add(field);
          }
        }
        return builder.build();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformation.java

            return dstIndex - start;
        }
    
        /**
         * @param informationLevel2
         * @return
         */
        static long mapInformationLevel(final int il) {
            switch (il) {
            case FileInformation.FILE_BASIC_INFO:
                return 0x0101;
            case FileInformation.FILE_STANDARD_INFO:
                return 0x0102;
            case FileInformation.FILE_ENDOFFILE_INFO:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4K bytes
    - Viewed (0)
  9. tests/connection_test.go

    	}
    
    	if actualName != expectedName {
    		t.Errorf("WithSingleConnection() method should get correct value, expect: %v, got %v", expectedName, actualName)
    	}
    }
    
    func getSetSQL(driverName string) (string, string) {
    	switch driverName {
    	case mysql.Dialector{}.Name():
    		return "SET @testName := ?", "SELECT @testName"
    	default:
    		return "", ""
    	}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Jan 28 14:16:42 UTC 2022
    - 963 bytes
    - Viewed (0)
  10. 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 Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Feb 03 16:38:43 UTC 2025
    - 39.8K bytes
    - Viewed (0)
Back to top