Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2211 - 2220 of 6,150 for string (0.14 sec)

  1. cmd/dummy-data-generator_test.go

    		}
    		d.idx = d.length + offset
    	}
    	return d.idx, nil
    }
    
    func TestDummyDataGenerator(t *testing.T) {
    	readAll := func(r io.Reader) string {
    		b, _ := io.ReadAll(r)
    		return string(b)
    	}
    	checkEq := func(a, b string) {
    		if a != b {
    			t.Fatalf("Unexpected equality failure")
    		}
    	}
    
    	checkEq(readAll(NewDummyDataGen(0, 0)), "")
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:13:05 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. src/bytes/reader_test.go

    		if expect := int64(len(s)); n != expect {
    			t.Errorf("got %v; want %v", n, expect)
    		}
    		if err != nil {
    			t.Errorf("for length %d: got error = %v; want nil", l, err)
    		}
    		if b.String() != s {
    			t.Errorf("got string %q; want %q", b.String(), s)
    		}
    		if r.Len() != 0 {
    			t.Errorf("reader contains %v bytes; want 0", r.Len())
    		}
    	}
    }
    
    func TestReaderLen(t *testing.T) {
    	const data = "hello world"
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 8K bytes
    - Viewed (0)
  3. api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java

        private void logMessage(Diagnostic.Kind kind, String message) {
            processingEnv.getMessager().printMessage(kind, message);
        }
    
        private void logError(String message, Exception e) {
            StringWriter sw = new StringWriter();
            PrintWriter pw = new PrintWriter(sw);
            e.printStackTrace(pw);
            String stackTrace = sw.toString();
    
            String fullMessage = message + "\n" + "Exception: "
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Sep 16 06:25:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/eventbus/DispatcherTest.java

        private final String name;
    
        public StringSubscriber(String name) {
          this.name = name;
        }
    
        @Subscribe
        public void handleString(String string) {
          dispatchedSubscribers.add(this);
        }
    
        @Override
        public String toString() {
          return name;
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 15:41:25 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilder.java

            List<Element> header = children(tr, "td");
            if (header.size() < 1) {
                throw new RuntimeException(String.format("Expected at least 1 <td> in <thead>/<tr>, found: %s", header));
            }
            Map<String, Element> inheritedValueTitleMapping = new HashMap<String, Element>();
            List<Element> valueTitles = new ArrayList<Element>();
            for (int i = 1; i < header.size(); i++) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

      private static final Integer N2 = 2;
      private static final Integer N3 = 3;
    
      private static final String E11 = "1-1";
      private static final String E12 = "1-2";
      private static final String E12_A = "1-2a";
      private static final String E13 = "1-3";
    
      private final EdgeType edgeType;
      private final MutableNetwork<Integer, String> network;
    
      // add parameters: directed/undirected
      @Parameters
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

      private static final Integer N2 = 2;
      private static final Integer N3 = 3;
    
      private static final String E11 = "1-1";
      private static final String E12 = "1-2";
      private static final String E12_A = "1-2a";
      private static final String E13 = "1-3";
    
      private final EdgeType edgeType;
      private final MutableNetwork<Integer, String> network;
    
      // add parameters: directed/undirected
      @Parameters
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. tests/customize_field_test.go

    		gorm.Model
    		Name                    string
    		FieldAllowCreate        string `gorm:"<-:create"`
    		FieldAllowUpdate        string `gorm:"<-:update"`
    		FieldAllowSave          string `gorm:"<-"`
    		FieldAllowSave2         string `gorm:"<-:create,update"`
    		FieldAllowSave3         string `gorm:"->:false;<-:create"`
    		FieldReadonly           string `gorm:"->"`
    		FieldIgnore             string `gorm:"-"`
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Sep 11 09:33:31 UTC 2020
    - 6.9K bytes
    - Viewed (0)
  9. istioctl/pkg/admin/istiodconfig_test.go

    		baseURL:    url,
    		httpClient: &http.Client{},
    	}
    
    	type args struct {
    		ctrzClient      *ControlzClient
    		reset           bool
    		outputLogLevel  string
    		stackTraceLevel string
    		outputFormat    string
    	}
    	tests := []struct {
    		name string
    		args args
    		want *istiodConfigLog
    	}{
    		{
    			name: "given --reset flag return reset command",
    			args: args{
    				ctrzClient:      ctrzClient,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  10. cmd/logging.go

    	logger.LogIf(ctx, "replication", err, errKind...)
    }
    
    func replLogOnceIf(ctx context.Context, err error, id string, errKind ...interface{}) {
    	logger.LogOnceIf(ctx, "replication", err, id, errKind...)
    }
    
    func iamLogOnceIf(ctx context.Context, err error, id string, errKind ...interface{}) {
    	logger.LogOnceIf(ctx, "iam", err, id, errKind...)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 03 18:49:48 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top